SAP Function Modules

ARCHIV_GET_CONNECTIONS_PRINTLI SAP Function module







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

Associated Function Group: OPTB
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM ARCHIV_GET_CONNECTIONS_PRINTLI - ARCHIV GET CONNECTIONS PRINTLI





CALL FUNCTION 'ARCHIV_GET_CONNECTIONS_PRINTLI' "
  IMPORTING
    count =                     " i
* TABLES
*   connections =               " toadl         SAP ArchiveLink print lists
*   parameter =                 " toarange_d    Structure of Parameters for Range Table
    .  "  ARCHIV_GET_CONNECTIONS_PRINTLI

ABAP code example for Function Module ARCHIV_GET_CONNECTIONS_PRINTLI





The ABAP code below is a full code listing to execute function module ARCHIV_GET_CONNECTIONS_PRINTLI 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_count  TYPE I ,
it_connections  TYPE STANDARD TABLE OF TOADL,"TABLES PARAM
wa_connections  LIKE LINE OF it_connections ,
it_parameter  TYPE STANDARD TABLE OF TOARANGE_D,"TABLES PARAM
wa_parameter  LIKE LINE OF it_parameter .


"populate fields of struture and append to itab
append wa_connections to it_connections.

"populate fields of struture and append to itab
append wa_parameter to it_parameter. . CALL FUNCTION 'ARCHIV_GET_CONNECTIONS_PRINTLI' IMPORTING count = ld_count * TABLES * connections = it_connections * parameter = it_parameter . " ARCHIV_GET_CONNECTIONS_PRINTLI
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_count  TYPE I ,
it_connections  TYPE STANDARD TABLE OF TOADL ,
wa_connections  LIKE LINE OF it_connections,
it_parameter  TYPE STANDARD TABLE OF TOARANGE_D ,
wa_parameter  LIKE LINE OF it_parameter.


"populate fields of struture and append to itab
append wa_connections to it_connections.

"populate fields of struture and append to itab
append wa_parameter to it_parameter.

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