SAP STAGE_COMP_DATA Function Module for









STAGE_COMP_DATA is a standard stage comp data 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 stage comp data FM, simply by entering the name STAGE_COMP_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function STAGE_COMP_DATA 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 'STAGE_COMP_DATA'"
EXPORTING
IV_PARTNER_ID = "
IT_TAX = "
IV_DEL_FAX = "
IS_DATA = "
IS_DATA_ORGAN = "
IS_ADDRESS = "
IV_DUNS_ID = "
IV_CURRENCY = "
IT_ADTEL = "
IT_ADFAX = "
IT_ADSMTP = "
IT_ADBANK = "
.



IMPORTING Parameters details for STAGE_COMP_DATA

IV_PARTNER_ID -

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

IT_TAX -

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

IV_DEL_FAX -

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

IS_DATA -

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

IS_DATA_ORGAN -

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

IS_ADDRESS -

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

IV_DUNS_ID -

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

IV_CURRENCY -

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

IT_ADTEL -

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

IT_ADFAX -

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

IT_ADSMTP -

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

IT_ADBANK -

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

Copy and paste ABAP code example for STAGE_COMP_DATA 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_iv_partner_id  TYPE BU_PARTNER, "   
lv_it_tax  TYPE ROST_DFKKBPTAXNUM, "   
lv_iv_del_fax  TYPE BOOLEAN, "   
lv_is_data  TYPE BAPIBUS1006_CENTRAL, "   
lv_is_data_organ  TYPE BAPIBUS1006_CENTRAL_ORGAN, "   
lv_is_address  TYPE BAPIBUS1006_ADDRESS, "   
lv_iv_duns_id  TYPE BBP_CT_DUNS, "   
lv_iv_currency  TYPE ROS_PCURR, "   
lv_it_adtel  TYPE BAPIADTEL_T, "   
lv_it_adfax  TYPE BAPIADFAX_T, "   
lv_it_adsmtp  TYPE BAPIADSMTP_T, "   
lv_it_adbank  TYPE ROST_BAPIBUS1006_BANKDETAILS. "   

  CALL FUNCTION 'STAGE_COMP_DATA'  "
    EXPORTING
         IV_PARTNER_ID = lv_iv_partner_id
         IT_TAX = lv_it_tax
         IV_DEL_FAX = lv_iv_del_fax
         IS_DATA = lv_is_data
         IS_DATA_ORGAN = lv_is_data_organ
         IS_ADDRESS = lv_is_address
         IV_DUNS_ID = lv_iv_duns_id
         IV_CURRENCY = lv_iv_currency
         IT_ADTEL = lv_it_adtel
         IT_ADFAX = lv_it_adfax
         IT_ADSMTP = lv_it_adsmtp
         IT_ADBANK = lv_it_adbank
. " STAGE_COMP_DATA




ABAP code using 7.40 inline data declarations to call FM STAGE_COMP_DATA

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.

 
 
 
 
 
 
 
 
 
 
 
 


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!