SAP CKM8_F4_BWTAR Function Module for









CKM8_F4_BWTAR is a standard ckm8 f4 bwtar SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ckm8 f4 bwtar FM, simply by entering the name CKM8_F4_BWTAR into the relevant SAP transaction such as SE37 or SE38.

Function Group: CKM8
Program Name: SAPLCKM8
Main Program: SAPLCKM8
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CKM8_F4_BWTAR pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CKM8_F4_BWTAR'"
EXPORTING
* I_FNAM_MATNR = "
* I_STEPL = "
* I_WINDOW_TITLE = "
* I_FNAM_SOBKZ = "Field Name
* I_FNAM_BWKEY = "
* I_FNAM_VBELN = "
* I_FNAM_POSNR = "
* I_FNAM_PSPNR = "
I_RETFIELD = "
I_DYNPPROG = "
I_DYNPNR = "
I_DYNPROFIELD = "
.



IMPORTING Parameters details for CKM8_F4_BWTAR

I_FNAM_MATNR -

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_STEPL -

Data type: HELP_INFO-STEPL
Optional: Yes
Call by Reference: Yes

I_WINDOW_TITLE -

Data type: C
Optional: Yes
Call by Reference: Yes

I_FNAM_SOBKZ - Field Name

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_FNAM_BWKEY -

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_FNAM_VBELN -

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_FNAM_POSNR -

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_FNAM_PSPNR -

Data type: DYNFNAM
Optional: Yes
Call by Reference: Yes

I_RETFIELD -

Data type: DFIES-FIELDNAME
Optional: No
Call by Reference: Yes

I_DYNPPROG -

Data type: SY-REPID
Optional: No
Call by Reference: Yes

I_DYNPNR -

Data type: SY-DYNNR
Optional: No
Call by Reference: Yes

I_DYNPROFIELD -

Data type: HELP_INFO-DYNPROFLD
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CKM8_F4_BWTAR Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_fnam_matnr  TYPE DYNFNAM, "   
lv_i_stepl  TYPE HELP_INFO-STEPL, "   
lv_i_window_title  TYPE C, "   
lv_i_fnam_sobkz  TYPE DYNFNAM, "   
lv_i_fnam_bwkey  TYPE DYNFNAM, "   
lv_i_fnam_vbeln  TYPE DYNFNAM, "   
lv_i_fnam_posnr  TYPE DYNFNAM, "   
lv_i_fnam_pspnr  TYPE DYNFNAM, "   
lv_i_retfield  TYPE DFIES-FIELDNAME, "   
lv_i_dynpprog  TYPE SY-REPID, "   
lv_i_dynpnr  TYPE SY-DYNNR, "   
lv_i_dynprofield  TYPE HELP_INFO-DYNPROFLD. "   

  CALL FUNCTION 'CKM8_F4_BWTAR'  "
    EXPORTING
         I_FNAM_MATNR = lv_i_fnam_matnr
         I_STEPL = lv_i_stepl
         I_WINDOW_TITLE = lv_i_window_title
         I_FNAM_SOBKZ = lv_i_fnam_sobkz
         I_FNAM_BWKEY = lv_i_fnam_bwkey
         I_FNAM_VBELN = lv_i_fnam_vbeln
         I_FNAM_POSNR = lv_i_fnam_posnr
         I_FNAM_PSPNR = lv_i_fnam_pspnr
         I_RETFIELD = lv_i_retfield
         I_DYNPPROG = lv_i_dynpprog
         I_DYNPNR = lv_i_dynpnr
         I_DYNPROFIELD = lv_i_dynprofield
. " CKM8_F4_BWTAR




ABAP code using 7.40 inline data declarations to call FM CKM8_F4_BWTAR

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single STEPL FROM HELP_INFO INTO @DATA(ld_i_stepl).
 
 
 
 
 
 
 
"SELECT single FIELDNAME FROM DFIES INTO @DATA(ld_i_retfield).
 
"SELECT single REPID FROM SY INTO @DATA(ld_i_dynpprog).
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_i_dynpnr).
 
"SELECT single DYNPROFLD FROM HELP_INFO INTO @DATA(ld_i_dynprofield).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!