FTBP_COPY_STANDING_INSTR 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 FTBP_COPY_STANDING_INSTR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FTBP_COPY
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FTBP_COPY_STANDING_INSTR' "
EXPORTING
* pi_xtest = SPACE " tb_test
pi_si_type = " tb_si_type
* pi_cortyp_source = " tb_cortyp
pi_partner_source = " bu_partner
pi_companycode_source = " bukrs
* pi_cortyp_target = " tb_cortyp
pi_sop_partner_target = " ftbp1_so_partner
pi_sop_companycode_target = " ftbp1_so_companycode
* pi_repid = " sy-repid
EXCEPTIONS
ERROR = 1 "
. " FTBP_COPY_STANDING_INSTR
The ABAP code below is a full code listing to execute function module FTBP_COPY_STANDING_INSTR 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_pi_xtest) = 'Check type of data required'.
DATA(ld_pi_si_type) = 'Check type of data required'.
DATA(ld_pi_cortyp_source) = 'Check type of data required'.
DATA(ld_pi_partner_source) = 'Check type of data required'.
DATA(ld_pi_companycode_source) = 'Check type of data required'.
DATA(ld_pi_cortyp_target) = 'Check type of data required'.
DATA(ld_pi_sop_partner_target) = 'Check type of data required'.
DATA(ld_pi_sop_companycode_target) = 'Check type of data required'.
DATA(ld_pi_repid) = '123 '. . CALL FUNCTION 'FTBP_COPY_STANDING_INSTR' EXPORTING * pi_xtest = ld_pi_xtest pi_si_type = ld_pi_si_type * pi_cortyp_source = ld_pi_cortyp_source pi_partner_source = ld_pi_partner_source pi_companycode_source = ld_pi_companycode_source * pi_cortyp_target = ld_pi_cortyp_target pi_sop_partner_target = ld_pi_sop_partner_target pi_sop_companycode_target = ld_pi_sop_companycode_target * pi_repid = ld_pi_repid EXCEPTIONS ERROR = 1 . " FTBP_COPY_STANDING_INSTR
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_pi_xtest | TYPE TB_TEST , |
| ld_pi_si_type | TYPE TB_SI_TYPE , |
| ld_pi_cortyp_source | TYPE TB_CORTYP , |
| ld_pi_partner_source | TYPE BU_PARTNER , |
| ld_pi_companycode_source | TYPE BUKRS , |
| ld_pi_cortyp_target | TYPE TB_CORTYP , |
| ld_pi_sop_partner_target | TYPE FTBP1_SO_PARTNER , |
| ld_pi_sop_companycode_target | TYPE FTBP1_SO_COMPANYCODE , |
| ld_pi_repid | TYPE SY-REPID . |
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 FTBP_COPY_STANDING_INSTR or its description.
FTBP_COPY_STANDING_INSTR - FTBP_COPY_COMPCODE_GET - FTBP_BUPA_EVENT_DELE2 - Business Partner: Deletion of Treasury Data, Execute Deletion FTBP_BUPA_EVENT_DELE1 - Business Partner: Treasury Data, Check Before Deletion FTBP_BUPA_EVENT_ARCH6 - Business Partner: Archiving of Treasury Data, Reload from Archive FTBP_BUPA_EVENT_ARCH5 - Business Partner: Archiving of Treasury Data, Check Before Reloading