SAP Function Modules

BAPI_ISOURCE_TD_T_GETDETAIL SAP Function module - Reads detailed information of a transfer InfoSource for transaction data







BAPI_ISOURCE_TD_T_GETDETAIL 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_GETDETAIL 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_GETDETAIL - BAPI ISOURCE TD T GETDETAIL





CALL FUNCTION 'BAPI_ISOURCE_TD_T_GETDETAIL' "Reads detailed information of a transfer InfoSource for transaction data
  EXPORTING
    infosource =                " bapi6106-infosource  InfoSource Name
    sourcesystem =              " bapi6106-sourcesystem  Source System Name
  IMPORTING
    textshort =                 " bapi6106-textshort  Short description
    textmedium =                " bapi6106-textmedium  Medium description
    textlong =                  " bapi6106-textlong  Long description
    customerdefined =           " bapi6106-customerdefined  Flag: Customer-specific InfoSource
    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
    transtructure =             " bapi6106-transtructure  Name of the transfer structure
    active =                    " bapi6106-active  Transfer structure status
    modificationdate =          " bapi6106-modificationdate  Last changed on
    modificationtime =          " bapi6106-modificationtime  Time of Last Change
    return =                    " bapiret2      BAPI Return Parameter
  TABLES
    fields =                    " bapi6100fl    InfoSource fields
    transtructurefields =       " bapi6100fl    Fields of the transfer structure
    .  "  BAPI_ISOURCE_TD_T_GETDETAIL

ABAP code example for Function Module BAPI_ISOURCE_TD_T_GETDETAIL





The ABAP code below is a full code listing to execute function module BAPI_ISOURCE_TD_T_GETDETAIL 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_textshort  TYPE BAPI6106-TEXTSHORT ,
ld_textmedium  TYPE BAPI6106-TEXTMEDIUM ,
ld_textlong  TYPE BAPI6106-TEXTLONG ,
ld_customerdefined  TYPE BAPI6106-CUSTOMERDEFINED ,
ld_fullupdate  TYPE BAPI6106-FULLUPD ,
ld_deltaupdate  TYPE BAPI6106-DELTAUPD ,
ld_reloadable  TYPE BAPI6106-PACKGUPD ,
ld_transtructure  TYPE BAPI6106-TRANSTRUCTURE ,
ld_active  TYPE BAPI6106-ACTIVE ,
ld_modificationdate  TYPE BAPI6106-MODIFICATIONDATE ,
ld_modificationtime  TYPE BAPI6106-MODIFICATIONTIME ,
ld_return  TYPE BAPIRET2 ,
it_fields  TYPE STANDARD TABLE OF BAPI6100FL,"TABLES PARAM
wa_fields  LIKE LINE OF it_fields ,
it_transtructurefields  TYPE STANDARD TABLE OF BAPI6100FL,"TABLES PARAM
wa_transtructurefields  LIKE LINE OF it_transtructurefields .


DATA(ld_infosource) = some text here

DATA(ld_sourcesystem) = some text here

"populate fields of struture and append to itab
append wa_fields to it_fields.

"populate fields of struture and append to itab
append wa_transtructurefields to it_transtructurefields. . CALL FUNCTION 'BAPI_ISOURCE_TD_T_GETDETAIL' EXPORTING infosource = ld_infosource sourcesystem = ld_sourcesystem IMPORTING textshort = ld_textshort textmedium = ld_textmedium textlong = ld_textlong customerdefined = ld_customerdefined fullupdate = ld_fullupdate deltaupdate = ld_deltaupdate reloadable = ld_reloadable transtructure = ld_transtructure active = ld_active modificationdate = ld_modificationdate modificationtime = ld_modificationtime return = ld_return TABLES fields = it_fields transtructurefields = it_transtructurefields . " BAPI_ISOURCE_TD_T_GETDETAIL
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_textshort  TYPE BAPI6106-TEXTSHORT ,
ld_infosource  TYPE BAPI6106-INFOSOURCE ,
it_fields  TYPE STANDARD TABLE OF BAPI6100FL ,
wa_fields  LIKE LINE OF it_fields,
ld_textmedium  TYPE BAPI6106-TEXTMEDIUM ,
ld_sourcesystem  TYPE BAPI6106-SOURCESYSTEM ,
it_transtructurefields  TYPE STANDARD TABLE OF BAPI6100FL ,
wa_transtructurefields  LIKE LINE OF it_transtructurefields,
ld_textlong  TYPE BAPI6106-TEXTLONG ,
ld_customerdefined  TYPE BAPI6106-CUSTOMERDEFINED ,
ld_fullupdate  TYPE BAPI6106-FULLUPD ,
ld_deltaupdate  TYPE BAPI6106-DELTAUPD ,
ld_reloadable  TYPE BAPI6106-PACKGUPD ,
ld_transtructure  TYPE BAPI6106-TRANSTRUCTURE ,
ld_active  TYPE BAPI6106-ACTIVE ,
ld_modificationdate  TYPE BAPI6106-MODIFICATIONDATE ,
ld_modificationtime  TYPE BAPI6106-MODIFICATIONTIME ,
ld_return  TYPE BAPIRET2 .


ld_infosource = some text here

"populate fields of struture and append to itab
append wa_fields to it_fields.

ld_sourcesystem = some text here

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

SAP Documentation for FM BAPI_ISOURCE_TD_T_GETDETAIL


This method delivers detailed information for the InfoSource entered.

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