SAP TMW_BCSET_CREATE Function Module for









TMW_BCSET_CREATE is a standard tmw bcset create 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 tmw bcset create FM, simply by entering the name TMW_BCSET_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: TMW_CLIENT_INTERFACES
Program Name: SAPLTMW_CLIENT_INTERFACES
Main Program: SAPLTMW_CLIENT_INTERFACES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function TMW_BCSET_CREATE 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 'TMW_BCSET_CREATE'"
EXPORTING
TRKORR = "
TASKLIST = "
* MSG_TAB_FLG = ' ' "
* IT_E071 = "
* IT_E071K = "

TABLES
* MSG_TAB = "

EXCEPTIONS
NO_DATA_FOUND = 1 USER_ABORT = 2 ERROR_CHECK = 3 INCONSISTENT_DATA = 4 ERROR_IN_TRANSPORT_LAYER = 5
.



IMPORTING Parameters details for TMW_BCSET_CREATE

TRKORR -

Data type: TRKORR
Optional: No
Call by Reference: No ( called with pass by value option)

TASKLIST -

Data type: CHAR10
Optional: No
Call by Reference: No ( called with pass by value option)

MSG_TAB_FLG -

Data type: FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_E071 -

Data type: TR_OBJECTS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_E071K -

Data type: TR_KEYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for TMW_BCSET_CREATE

MSG_TAB -

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

EXCEPTIONS details

NO_DATA_FOUND -

Data type:
Optional: No
Call by Reference: Yes

USER_ABORT -

Data type:
Optional: No
Call by Reference: Yes

ERROR_CHECK -

Data type:
Optional: No
Call by Reference: Yes

INCONSISTENT_DATA -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IN_TRANSPORT_LAYER -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for TMW_BCSET_CREATE 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_trkorr  TYPE TRKORR, "   
lt_msg_tab  TYPE STANDARD TABLE OF BAPIRET1, "   
lv_no_data_found  TYPE BAPIRET1, "   
lv_tasklist  TYPE CHAR10, "   
lv_user_abort  TYPE CHAR10, "   
lv_error_check  TYPE CHAR10, "   
lv_msg_tab_flg  TYPE FLAG, "   ' '
lv_it_e071  TYPE TR_OBJECTS, "   
lv_inconsistent_data  TYPE TR_OBJECTS, "   
lv_it_e071k  TYPE TR_KEYS, "   
lv_error_in_transport_layer  TYPE TR_KEYS. "   

  CALL FUNCTION 'TMW_BCSET_CREATE'  "
    EXPORTING
         TRKORR = lv_trkorr
         TASKLIST = lv_tasklist
         MSG_TAB_FLG = lv_msg_tab_flg
         IT_E071 = lv_it_e071
         IT_E071K = lv_it_e071k
    TABLES
         MSG_TAB = lt_msg_tab
    EXCEPTIONS
        NO_DATA_FOUND = 1
        USER_ABORT = 2
        ERROR_CHECK = 3
        INCONSISTENT_DATA = 4
        ERROR_IN_TRANSPORT_LAYER = 5
. " TMW_BCSET_CREATE




ABAP code using 7.40 inline data declarations to call FM TMW_BCSET_CREATE

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.

 
 
 
 
 
 
DATA(ld_msg_tab_flg) = ' '.
 
 
 
 
 


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!