SAP Function Modules

BAPI_ISOURCE_TD_T_CHANGE SAP Function module - Changing of a transfer InfoSource for transaction data







BAPI_ISOURCE_TD_T_CHANGE 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 BAPI_ISOURCE_TD_T_CHANGE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSAB
Released Date: 19.02.1999
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM BAPI_ISOURCE_TD_T_CHANGE - BAPI ISOURCE TD T CHANGE





CALL FUNCTION 'BAPI_ISOURCE_TD_T_CHANGE' "Changing of a transfer InfoSource for transaction data
  EXPORTING
    infosource =                " bapi6106-infosource  InfoSource Name
    sourcesystem =              " bapi6106-sourcesystem  Source System Name
    fullupdate =                " bapi6106-fullupd  Flag: Full update supported
    deltaupdate =               " bapi6106-deltaupd  Flag: Delta update supported
    reloadable =                " bapi6106-packgupd  Flag: Subsequent Claim of a Data Package Supported
  IMPORTING
    return =                    " bapiret2      BAPI Return Parameter
  TABLES
    transtructurefields =       " bapi6100fl    New fields of the transfer structure
    transtructurefieldsx =      " bapi6100flx   New fields of the transfer structure
    .  "  BAPI_ISOURCE_TD_T_CHANGE

ABAP code example for Function Module BAPI_ISOURCE_TD_T_CHANGE





The ABAP code below is a full code listing to execute function module BAPI_ISOURCE_TD_T_CHANGE 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_return  TYPE BAPIRET2 ,
it_transtructurefields  TYPE STANDARD TABLE OF BAPI6100FL,"TABLES PARAM
wa_transtructurefields  LIKE LINE OF it_transtructurefields ,
it_transtructurefieldsx  TYPE STANDARD TABLE OF BAPI6100FLX,"TABLES PARAM
wa_transtructurefieldsx  LIKE LINE OF it_transtructurefieldsx .


DATA(ld_infosource) = some text here

DATA(ld_sourcesystem) = some text here

DATA(ld_fullupdate) = some text here

DATA(ld_deltaupdate) = some text here

DATA(ld_reloadable) = some text here

"populate fields of struture and append to itab
append wa_transtructurefields to it_transtructurefields.

"populate fields of struture and append to itab
append wa_transtructurefieldsx to it_transtructurefieldsx. . CALL FUNCTION 'BAPI_ISOURCE_TD_T_CHANGE' EXPORTING infosource = ld_infosource sourcesystem = ld_sourcesystem fullupdate = ld_fullupdate deltaupdate = ld_deltaupdate reloadable = ld_reloadable IMPORTING return = ld_return TABLES transtructurefields = it_transtructurefields transtructurefieldsx = it_transtructurefieldsx . " BAPI_ISOURCE_TD_T_CHANGE
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_return  TYPE BAPIRET2 ,
ld_infosource  TYPE BAPI6106-INFOSOURCE ,
it_transtructurefields  TYPE STANDARD TABLE OF BAPI6100FL ,
wa_transtructurefields  LIKE LINE OF it_transtructurefields,
ld_sourcesystem  TYPE BAPI6106-SOURCESYSTEM ,
it_transtructurefieldsx  TYPE STANDARD TABLE OF BAPI6100FLX ,
wa_transtructurefieldsx  LIKE LINE OF it_transtructurefieldsx,
ld_fullupdate  TYPE BAPI6106-FULLUPD ,
ld_deltaupdate  TYPE BAPI6106-DELTAUPD ,
ld_reloadable  TYPE BAPI6106-PACKGUPD .


ld_infosource = some text here

"populate fields of struture and append to itab
append wa_transtructurefields to it_transtructurefields.

ld_sourcesystem = some text here

"populate fields of struture and append to itab
append wa_transtructurefieldsx to it_transtructurefieldsx.

ld_fullupdate = some text here

ld_deltaupdate = some text here

ld_reloadable = some text here

SAP Documentation for FM BAPI_ISOURCE_TD_T_CHANGE


With this method, the definition of an existing InfoSource for transaction data can be changed. ...See here for full SAP fm documentation












Contribute (Add Comments)

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 BAPI_ISOURCE_TD_T_CHANGE or its description.