SAP Function Modules

CCBW_DATASOURCE_TRANSPORT SAP Function module







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

Associated Function Group: CCBW
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM CCBW_DATASOURCE_TRANSPORT - CCBW DATASOURCE TRANSPORT





CALL FUNCTION 'CCBW_DATASOURCE_TRANSPORT' "
  EXPORTING
    i_dsource =                 " rsaot_oltpsource
    i_objvers =                 " rsaot_objvers
    i_exstru =                  " rsaot_structure
  IMPORTING
    e_t_ko200 =                 " rsaot_t_ko200
    e_t_e071k =                 " rsaot_t_e071k
    .  "  CCBW_DATASOURCE_TRANSPORT

ABAP code example for Function Module CCBW_DATASOURCE_TRANSPORT





The ABAP code below is a full code listing to execute function module CCBW_DATASOURCE_TRANSPORT 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_e_t_ko200  TYPE RSAOT_T_KO200 ,
ld_e_t_e071k  TYPE RSAOT_T_E071K .

DATA(ld_i_dsource) = 'Check type of data required'.
DATA(ld_i_objvers) = 'Check type of data required'.
DATA(ld_i_exstru) = 'Check type of data required'. . CALL FUNCTION 'CCBW_DATASOURCE_TRANSPORT' EXPORTING i_dsource = ld_i_dsource i_objvers = ld_i_objvers i_exstru = ld_i_exstru IMPORTING e_t_ko200 = ld_e_t_ko200 e_t_e071k = ld_e_t_e071k . " CCBW_DATASOURCE_TRANSPORT
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_e_t_ko200  TYPE RSAOT_T_KO200 ,
ld_i_dsource  TYPE RSAOT_OLTPSOURCE ,
ld_e_t_e071k  TYPE RSAOT_T_E071K ,
ld_i_objvers  TYPE RSAOT_OBJVERS ,
ld_i_exstru  TYPE RSAOT_STRUCTURE .

ld_i_dsource = 'Check type of data required'.
ld_i_objvers = 'Check type of data required'.
ld_i_exstru = 'Check type of data required'.

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