SAP Function Modules

ISM_JGBP_MAP_1006_BAS_CENTRAL SAP Function module - IS-M: BAPI BP: Mapping BUS006_CENTRAL -> BAS







ISM_JGBP_MAP_1006_BAS_CENTRAL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISM_JGBP_MAP_1006_BAS_CENTRAL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JGBP_MAP
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISM_JGBP_MAP_1006_BAS_CENTRAL - ISM JGBP MAP 1006 BAS CENTRAL





CALL FUNCTION 'ISM_JGBP_MAP_1006_BAS_CENTRAL' "IS-M: BAPI BP: Mapping BUS006_CENTRAL  -> BAS
  EXPORTING
    ps_central_data =           " bapibus1006_central  SAP BP: BAPI Structure for Central Data
    ps_central_data_x =         " bapibus1006_central_x  SAP BP: BAPI Structure for Central Data, Update Bar
* CHANGING
*   ps_bapiad1vl =              " bapiad1vl     Address type 1 distribution BAPI structure
*   ps_bapiad1vlx =             " bapiad1vlx    Change BAPI reference structure to BAPIAD1VL
*   ps_bapiad2vl =              " bapiad2vl     Address type 2 distribution BAPI structure
*   ps_bapiad2vlx =             " bapiad2vlx    Change BAPI reference structure to BAPIAD2VL
*   ps_bapiad3vl =              " bapiad3vl     Address type 3 distribution BAPI structure
*   ps_bapiad3vlx =             " bapiad3vlx    Change BAPI reference structure to BAPIAD3VL
    .  "  ISM_JGBP_MAP_1006_BAS_CENTRAL

ABAP code example for Function Module ISM_JGBP_MAP_1006_BAS_CENTRAL





The ABAP code below is a full code listing to execute function module ISM_JGBP_MAP_1006_BAS_CENTRAL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).


DATA(ld_ps_bapiad1vl) = 'Check type of data required'.
DATA(ld_ps_bapiad1vlx) = 'Check type of data required'.
DATA(ld_ps_bapiad2vl) = 'Check type of data required'.
DATA(ld_ps_bapiad2vlx) = 'Check type of data required'.
DATA(ld_ps_bapiad3vl) = 'Check type of data required'.
DATA(ld_ps_bapiad3vlx) = 'Check type of data required'.
DATA(ld_ps_central_data) = 'Check type of data required'.
DATA(ld_ps_central_data_x) = 'Check type of data required'. . CALL FUNCTION 'ISM_JGBP_MAP_1006_BAS_CENTRAL' EXPORTING ps_central_data = ld_ps_central_data ps_central_data_x = ld_ps_central_data_x * CHANGING * ps_bapiad1vl = ld_ps_bapiad1vl * ps_bapiad1vlx = ld_ps_bapiad1vlx * ps_bapiad2vl = ld_ps_bapiad2vl * ps_bapiad2vlx = ld_ps_bapiad2vlx * ps_bapiad3vl = ld_ps_bapiad3vl * ps_bapiad3vlx = ld_ps_bapiad3vlx . " ISM_JGBP_MAP_1006_BAS_CENTRAL
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ps_bapiad1vl  TYPE BAPIAD1VL ,
ld_ps_central_data  TYPE BAPIBUS1006_CENTRAL ,
ld_ps_bapiad1vlx  TYPE BAPIAD1VLX ,
ld_ps_central_data_x  TYPE BAPIBUS1006_CENTRAL_X ,
ld_ps_bapiad2vl  TYPE BAPIAD2VL ,
ld_ps_bapiad2vlx  TYPE BAPIAD2VLX ,
ld_ps_bapiad3vl  TYPE BAPIAD3VL ,
ld_ps_bapiad3vlx  TYPE BAPIAD3VLX .

ld_ps_bapiad1vl = 'Check type of data required'.
ld_ps_central_data = 'Check type of data required'.
ld_ps_bapiad1vlx = 'Check type of data required'.
ld_ps_central_data_x = 'Check type of data required'.
ld_ps_bapiad2vl = 'Check type of data required'.
ld_ps_bapiad2vlx = 'Check type of data required'.
ld_ps_bapiad3vl = 'Check type of data required'.
ld_ps_bapiad3vlx = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISM_JGBP_MAP_1006_BAS_CENTRAL or its description.