SAP Function Modules

TRINT_WBO_IMPL_READ_PACKAGES SAP Function module







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

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


Pattern for FM TRINT_WBO_IMPL_READ_PACKAGES - TRINT WBO IMPL READ PACKAGES





CALL FUNCTION 'TRINT_WBO_IMPL_READ_PACKAGES' "
  EXPORTING
    devclass =                  " devclass
*   namespace = '*'             " namespace
*   dlvunit = '*'               " dlvunit
*   devlayer = '*'              " devlayer
*   korrflag = 'X'              " korrflag
*   as4user = '*'               " author3
*   language = SY-LANGU         " spras
  IMPORTING
    packages =                  " cts_packages
    .  "  TRINT_WBO_IMPL_READ_PACKAGES

ABAP code example for Function Module TRINT_WBO_IMPL_READ_PACKAGES





The ABAP code below is a full code listing to execute function module TRINT_WBO_IMPL_READ_PACKAGES 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_packages  TYPE CTS_PACKAGES .

DATA(ld_devclass) = 'Check type of data required'.
DATA(ld_namespace) = 'Check type of data required'.
DATA(ld_dlvunit) = 'Check type of data required'.
DATA(ld_devlayer) = 'Check type of data required'.
DATA(ld_korrflag) = 'Check type of data required'.
DATA(ld_as4user) = 'Check type of data required'.
DATA(ld_language) = 'Check type of data required'. . CALL FUNCTION 'TRINT_WBO_IMPL_READ_PACKAGES' EXPORTING devclass = ld_devclass * namespace = ld_namespace * dlvunit = ld_dlvunit * devlayer = ld_devlayer * korrflag = ld_korrflag * as4user = ld_as4user * language = ld_language IMPORTING packages = ld_packages . " TRINT_WBO_IMPL_READ_PACKAGES
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_packages  TYPE CTS_PACKAGES ,
ld_devclass  TYPE DEVCLASS ,
ld_namespace  TYPE NAMESPACE ,
ld_dlvunit  TYPE DLVUNIT ,
ld_devlayer  TYPE DEVLAYER ,
ld_korrflag  TYPE KORRFLAG ,
ld_as4user  TYPE AUTHOR3 ,
ld_language  TYPE SPRAS .

ld_devclass = 'Check type of data required'.
ld_namespace = 'Check type of data required'.
ld_dlvunit = 'Check type of data required'.
ld_devlayer = 'Check type of data required'.
ld_korrflag = 'Check type of data required'.
ld_as4user = 'Check type of data required'.
ld_language = '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 TRINT_WBO_IMPL_READ_PACKAGES or its description.