SAP CMSC_COMPONENT_FOB100 Function Module for Processing of events PBC,PBO,PAI and FCODE for component AST100
CMSC_COMPONENT_FOB100 is a standard cmsc component fob100 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Processing of events PBC,PBO,PAI and FCODE for component AST100 processing and below is the pattern details for this FM, 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 cmsc component fob100 FM, simply by entering the name CMSC_COMPONENT_FOB100 into the relevant SAP transaction such as SE37 or SE38.
Function Group: CMS_BDT
Program Name: SAPLCMS_BDT
Main Program: SAPLCMS_BDT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function CMSC_COMPONENT_FOB100 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 'CMSC_COMPONENT_FOB100'"Processing of events PBC,PBO,PAI and FCODE for component AST100.
EXPORTING
I_EVENT = "
* I_PBO_PAI_VIEW = "
* I_FCODE_FUNCTION = "
IMPORTING
E_FLG_FCODE_DONE = "
E_FCODE_NEXT = "
IMPORTING Parameters details for CMSC_COMPONENT_FOB100
I_EVENT -
Data type:Optional: No
Call by Reference: Yes
I_PBO_PAI_VIEW -
Data type: BUS_SICHT-SICHTOptional: Yes
Call by Reference: Yes
I_FCODE_FUNCTION -
Data type: TBZ4-FCODEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for CMSC_COMPONENT_FOB100
E_FLG_FCODE_DONE -
Data type:Optional: No
Call by Reference: Yes
E_FCODE_NEXT -
Data type: TBZ4-FCODEOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CMSC_COMPONENT_FOB100 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_event | TYPE STRING, " | |||
lv_e_flg_fcode_done | TYPE STRING, " | |||
lv_e_fcode_next | TYPE TBZ4-FCODE, " | |||
lv_i_pbo_pai_view | TYPE BUS_SICHT-SICHT, " | |||
lv_i_fcode_function | TYPE TBZ4-FCODE. " |
  CALL FUNCTION 'CMSC_COMPONENT_FOB100' "Processing of events PBC,PBO,PAI and FCODE for component AST100 |
EXPORTING | ||
I_EVENT | = lv_i_event | |
I_PBO_PAI_VIEW | = lv_i_pbo_pai_view | |
I_FCODE_FUNCTION | = lv_i_fcode_function | |
IMPORTING | ||
E_FLG_FCODE_DONE | = lv_e_flg_fcode_done | |
E_FCODE_NEXT | = lv_e_fcode_next | |
. " CMSC_COMPONENT_FOB100 |
ABAP code using 7.40 inline data declarations to call FM CMSC_COMPONENT_FOB100
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 FCODE FROM TBZ4 INTO @DATA(ld_e_fcode_next). | ||||
"SELECT single SICHT FROM BUS_SICHT INTO @DATA(ld_i_pbo_pai_view). | ||||
"SELECT single FCODE FROM TBZ4 INTO @DATA(ld_i_fcode_function). | ||||
Search for further information about these or an SAP related objects