SAP SCPRMP_UPDATE_BCSETS_SFW Function Module for









SCPRMP_UPDATE_BCSETS_SFW is a standard scprmp update bcsets sfw 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 scprmp update bcsets sfw FM, simply by entering the name SCPRMP_UPDATE_BCSETS_SFW into the relevant SAP transaction such as SE37 or SE38.

Function Group: SCPRMP
Program Name: SAPLSCPRMP
Main Program: SAPLSCPRMP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SCPRMP_UPDATE_BCSETS_SFW 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 'SCPRMP_UPDATE_BCSETS_SFW'"
EXPORTING
PT_BCSETS = "
* P_CATEGORY = "
* P_AUTOMATICMODE = ' ' "
* P_PRODUCTIVE_MODE = ' ' "
* P_TRKORR = ' ' "
* P_STATISTIC = ' ' "
* P_ALL_FIELDS = ' ' "
* P_SYSTEM_SAP = 'X' "
* P_DESTINATION = 'NONE' "

CHANGING
* PT_LANGVECTOR = "
.



IMPORTING Parameters details for SCPRMP_UPDATE_BCSETS_SFW

PT_BCSETS -

Data type: SCPR_BCSETS
Optional: No
Call by Reference: Yes

P_CATEGORY -

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

P_AUTOMATICMODE -

Data type: CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

P_PRODUCTIVE_MODE -

Data type: CHAR1
Default: SPACE
Optional: No
Call by Reference: Yes

P_TRKORR -

Data type: TRKORR
Default: SPACE
Optional: No
Call by Reference: Yes

P_STATISTIC -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: Yes

P_ALL_FIELDS -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: Yes

P_SYSTEM_SAP -

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

P_DESTINATION -

Data type: RFCDEST
Default: 'NONE'
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for SCPRMP_UPDATE_BCSETS_SFW

PT_LANGVECTOR -

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

Copy and paste ABAP code example for SCPRMP_UPDATE_BCSETS_SFW 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_pt_bcsets  TYPE SCPR_BCSETS, "   
lv_pt_langvector  TYPE SCPR_LANGUAGES, "   
lv_p_category  TYPE SCPR_CTGRY, "   
lv_p_automaticmode  TYPE CHAR1, "   SPACE
lv_p_productive_mode  TYPE CHAR1, "   SPACE
lv_p_trkorr  TYPE TRKORR, "   SPACE
lv_p_statistic  TYPE CHAR1, "   SPACE
lv_p_all_fields  TYPE CHAR1, "   SPACE
lv_p_system_sap  TYPE CHAR1, "   'X'
lv_p_destination  TYPE RFCDEST. "   'NONE'

  CALL FUNCTION 'SCPRMP_UPDATE_BCSETS_SFW'  "
    EXPORTING
         PT_BCSETS = lv_pt_bcsets
         P_CATEGORY = lv_p_category
         P_AUTOMATICMODE = lv_p_automaticmode
         P_PRODUCTIVE_MODE = lv_p_productive_mode
         P_TRKORR = lv_p_trkorr
         P_STATISTIC = lv_p_statistic
         P_ALL_FIELDS = lv_p_all_fields
         P_SYSTEM_SAP = lv_p_system_sap
         P_DESTINATION = lv_p_destination
    CHANGING
         PT_LANGVECTOR = lv_pt_langvector
. " SCPRMP_UPDATE_BCSETS_SFW




ABAP code using 7.40 inline data declarations to call FM SCPRMP_UPDATE_BCSETS_SFW

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_p_automaticmode) = ' '.
 
DATA(ld_p_productive_mode) = ' '.
 
DATA(ld_p_trkorr) = ' '.
 
DATA(ld_p_statistic) = ' '.
 
DATA(ld_p_all_fields) = ' '.
 
DATA(ld_p_system_sap) = 'X'.
 
DATA(ld_p_destination) = 'NONE'.
 


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!