SCPRMP_UPDATE_BCSET_REMOTE 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 SCPRMP_UPDATE_BCSET_REMOTE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
SCPRMP
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'SCPRMP_UPDATE_BCSET_REMOTE' "
EXPORTING
p_bcset = " scpr_bcset
p_automaticmode = SPACE " char1
* p_all_fields = SPACE " char1
* p_system_sap = 'X' " char1
p_masterlang = " spras
CHANGING
lt_vals_new = " scprvalstab
lt_vall_new = " scprvalltab
lt_reca_new = " scprrecatab
lt_tabledescr = " scprrecords
pt_langvector = " scprlanguages
lt_reca = " scprrecatab
lt_vals = " scprvalstab
lt_vall = " scprvalltab
pt_system_languages = " scprlanguages
. " SCPRMP_UPDATE_BCSET_REMOTE
The ABAP code below is a full code listing to execute function module SCPRMP_UPDATE_BCSET_REMOTE 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_lt_vals_new) = 'Check type of data required'.
DATA(ld_lt_vall_new) = 'Check type of data required'.
DATA(ld_lt_reca_new) = 'Check type of data required'.
DATA(ld_lt_tabledescr) = 'Check type of data required'.
DATA(ld_pt_langvector) = 'Check type of data required'.
DATA(ld_lt_reca) = 'Check type of data required'.
DATA(ld_lt_vals) = 'Check type of data required'.
DATA(ld_lt_vall) = 'Check type of data required'.
DATA(ld_pt_system_languages) = 'Check type of data required'.
DATA(ld_p_bcset) = 'Check type of data required'.
DATA(ld_p_automaticmode) = 'Check type of data required'.
DATA(ld_p_all_fields) = 'Check type of data required'.
DATA(ld_p_system_sap) = 'Check type of data required'.
DATA(ld_p_masterlang) = 'Check type of data required'. . CALL FUNCTION 'SCPRMP_UPDATE_BCSET_REMOTE' EXPORTING p_bcset = ld_p_bcset p_automaticmode = ld_p_automaticmode * p_all_fields = ld_p_all_fields * p_system_sap = ld_p_system_sap p_masterlang = ld_p_masterlang CHANGING lt_vals_new = ld_lt_vals_new lt_vall_new = ld_lt_vall_new lt_reca_new = ld_lt_reca_new lt_tabledescr = ld_lt_tabledescr pt_langvector = ld_pt_langvector lt_reca = ld_lt_reca lt_vals = ld_lt_vals lt_vall = ld_lt_vall pt_system_languages = ld_pt_system_languages . " SCPRMP_UPDATE_BCSET_REMOTE
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_lt_vals_new | TYPE SCPRVALSTAB , |
| ld_p_bcset | TYPE SCPR_BCSET , |
| ld_lt_vall_new | TYPE SCPRVALLTAB , |
| ld_p_automaticmode | TYPE CHAR1 , |
| ld_lt_reca_new | TYPE SCPRRECATAB , |
| ld_p_all_fields | TYPE CHAR1 , |
| ld_lt_tabledescr | TYPE SCPRRECORDS , |
| ld_p_system_sap | TYPE CHAR1 , |
| ld_pt_langvector | TYPE SCPRLANGUAGES , |
| ld_p_masterlang | TYPE SPRAS , |
| ld_lt_reca | TYPE SCPRRECATAB , |
| ld_lt_vals | TYPE SCPRVALSTAB , |
| ld_lt_vall | TYPE SCPRVALLTAB , |
| ld_pt_system_languages | TYPE SCPRLANGUAGES . |
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 SCPRMP_UPDATE_BCSET_REMOTE or its description.