ISM_BAPI_007_CUST_MAP2I 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_BAPI_007_CUST_MAP2I into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JGBP_MAP
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISM_BAPI_007_CUST_MAP2I' "IS-M: BAPI BP: External -> Internal Media Mapping
EXPORTING
ps_extern = " rjgbusism007_cust_str IS-M: Business Partner BAPI Media Customer STR
ps_extern_x = " rjgbusism007_cust_x_str IS-M: Business Partner BAPI Media Customer X STR
ps_intern_old = " rjgbusism007_cust_stat_str IS-M: Business Partner All KN* Attributes STAT
* ps_t = " rjgbusism007_template_str IS-M: Business Partner BAPI Template STR
CHANGING
ps_intern = " rjgbusism007_cust_stat_str
ps_params = " rjgbusism007_params_roles IS-M: Business Partner MAP2I Attributes
pt_return = " bapiret2_t Return Table
. " ISM_BAPI_007_CUST_MAP2I
The ABAP code below is a full code listing to execute function module ISM_BAPI_007_CUST_MAP2I 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_intern) = 'Check type of data required'.
DATA(ld_ps_params) = 'Check type of data required'.
DATA(ld_pt_return) = 'Check type of data required'.
DATA(ld_ps_extern) = 'Check type of data required'.
DATA(ld_ps_extern_x) = 'Check type of data required'.
DATA(ld_ps_intern_old) = 'Check type of data required'.
DATA(ld_ps_t) = 'Check type of data required'. . CALL FUNCTION 'ISM_BAPI_007_CUST_MAP2I' EXPORTING ps_extern = ld_ps_extern ps_extern_x = ld_ps_extern_x ps_intern_old = ld_ps_intern_old * ps_t = ld_ps_t CHANGING ps_intern = ld_ps_intern ps_params = ld_ps_params pt_return = ld_pt_return . " ISM_BAPI_007_CUST_MAP2I
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_intern | TYPE RJGBUSISM007_CUST_STAT_STR , |
| ld_ps_extern | TYPE RJGBUSISM007_CUST_STR , |
| ld_ps_params | TYPE RJGBUSISM007_PARAMS_ROLES , |
| ld_ps_extern_x | TYPE RJGBUSISM007_CUST_X_STR , |
| ld_pt_return | TYPE BAPIRET2_T , |
| ld_ps_intern_old | TYPE RJGBUSISM007_CUST_STAT_STR , |
| ld_ps_t | TYPE RJGBUSISM007_TEMPLATE_STR . |
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_BAPI_007_CUST_MAP2I or its description.
ISM_BAPI_007_CUST_MAP2I - IS-M: BAPI BP: External -> Internal Media Mapping ISM_BAPI_007_CUST_MAP2E - IS-M: BAPI BP: Internal -> External Customer Mapping ISM_BAPI_007_CUST_GET_FROM_DB - IS-M: Business Partner - Read Attributes from Database ISM_BAPI_007_CUST_GET - IS-M: Business Partner - Read IS-M Attributes ISM_BAPI_007_CUST_COMPARE - IS-M: Compare BPs ISM_BAPI_007_CREATEFROMDATA2 - IS-M: BAPI Create Business Partner