SAP ISCD_DB_BRO_STM_COPY Function Module for Copy Broker Report









ISCD_DB_BRO_STM_COPY is a standard iscd db bro stm copy SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Copy Broker Report processing and below is the pattern details for this FM, 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 iscd db bro stm copy FM, simply by entering the name ISCD_DB_BRO_STM_COPY into the relevant SAP transaction such as SE37 or SE38.

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



Function ISCD_DB_BRO_STM_COPY 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 'ISCD_DB_BRO_STM_COPY'"Copy Broker Report
EXPORTING
* I_IDENT = "
* I_COPY_TO = "Broker Rept: Header Data Flds to be Replaced for Copy Func.
* IX_WITH_DIALOG = 'X' "

IMPORTING
E_IDENT_ORIG = "
E_IDENT_NEW = "

EXCEPTIONS
ERR_PARAM = 1 ERR_HEAD = 2 ERR_DEFAULTS = 3 ERR_POS = 4 ERR_AUTHOR = 5 CANCELED = 6
.



IMPORTING Parameters details for ISCD_DB_BRO_STM_COPY

I_IDENT -

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

I_COPY_TO - Broker Rept: Header Data Flds to be Replaced for Copy Func.

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

IX_WITH_DIALOG -

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISCD_DB_BRO_STM_COPY

E_IDENT_ORIG -

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

E_IDENT_NEW -

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

EXCEPTIONS details

ERR_PARAM - Parameters are Incorrect

Data type:
Optional: No
Call by Reference: Yes

ERR_HEAD -

Data type:
Optional: No
Call by Reference: Yes

ERR_DEFAULTS -

Data type:
Optional: No
Call by Reference: Yes

ERR_POS -

Data type:
Optional: No
Call by Reference: Yes

ERR_AUTHOR -

Data type:
Optional: No
Call by Reference: Yes

CANCELED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISCD_DB_BRO_STM_COPY 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_i_ident  TYPE STMIDENT_BRO, "   
lv_err_param  TYPE STMIDENT_BRO, "   
lv_e_ident_orig  TYPE STMIDENT_BRO, "   
lv_err_head  TYPE STMIDENT_BRO, "   
lv_i_copy_to  TYPE SIBRSTMCOPY, "   
lv_e_ident_new  TYPE STMIDENT_BRO, "   
lv_err_defaults  TYPE STMIDENT_BRO, "   
lv_ix_with_dialog  TYPE BOOLE-BOOLE, "   'X'
lv_err_pos  TYPE BOOLE, "   
lv_err_author  TYPE BOOLE, "   
lv_canceled  TYPE BOOLE. "   

  CALL FUNCTION 'ISCD_DB_BRO_STM_COPY'  "Copy Broker Report
    EXPORTING
         I_IDENT = lv_i_ident
         I_COPY_TO = lv_i_copy_to
         IX_WITH_DIALOG = lv_ix_with_dialog
    IMPORTING
         E_IDENT_ORIG = lv_e_ident_orig
         E_IDENT_NEW = lv_e_ident_new
    EXCEPTIONS
        ERR_PARAM = 1
        ERR_HEAD = 2
        ERR_DEFAULTS = 3
        ERR_POS = 4
        ERR_AUTHOR = 5
        CANCELED = 6
. " ISCD_DB_BRO_STM_COPY




ABAP code using 7.40 inline data declarations to call FM ISCD_DB_BRO_STM_COPY

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.

 
 
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_with_dialog).
DATA(ld_ix_with_dialog) = 'X'.
 
 
 
 


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!