SAP DSYS_OUTLINE_PRINT Function Module for
DSYS_OUTLINE_PRINT is a standard dsys outline print SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for dsys outline print FM, simply by entering the name DSYS_OUTLINE_PRINT into the relevant SAP transaction such as SE37 or SE38.
Function Group: DSYS
Program Name: SAPLDSYS
Main Program: SAPLDSYS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DSYS_OUTLINE_PRINT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'DSYS_OUTLINE_PRINT'".
EXPORTING
* APPLICATION = 'SO70' "Table DSYDS application
* VIEWNAME = 'STANDARD' "
* Z_ORIGINAL_OUTLINE = ' ' "Name of the included structure
* ENTRY_DOKCLASS = ' ' "Initial document class
* ENTRY_DOKNAME = ' ' "Initial document name
* GLASPCT = 'S' "Outline view
GLOUTLINE = "Outline name
* GLSEQNO = 1 "
* GLSPRAS = SY-LANGU "
* GLVERSION = 0 "Outline version
* KAP_NUMMER = 'X' "with/without chapter number
EXCEPTIONS
DATENUEBERGABE = 1 DRUCK = 2 USER_ABORT = 3
IMPORTING Parameters details for DSYS_OUTLINE_PRINT
APPLICATION - Table DSYDS application
Data type: DSYDS-APPLDefault: 'SO70'
Optional: Yes
Call by Reference: No ( called with pass by value option)
VIEWNAME -
Data type: DSYAD-VIEWNAMEDefault: 'STANDARD'
Optional: Yes
Call by Reference: No ( called with pass by value option)
Z_ORIGINAL_OUTLINE - Name of the included structure
Data type: DSYAH-OUTLINEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENTRY_DOKCLASS - Initial document class
Data type: DSYSH-DOKCLASSDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENTRY_DOKNAME - Initial document name
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
GLASPCT - Outline view
Data type: DSYSH-DOKASPCTDefault: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
GLOUTLINE - Outline name
Data type: DSYAH-OUTLINEOptional: No
Call by Reference: No ( called with pass by value option)
GLSEQNO -
Data type: SY-TABIXDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
GLSPRAS -
Data type: DSYSH-DOKLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
GLVERSION - Outline version
Data type: DSYOI-VERSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
KAP_NUMMER - with/without chapter number
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DATENUEBERGABE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DRUCK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
USER_ABORT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DSYS_OUTLINE_PRINT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_application | TYPE DSYDS-APPL, " 'SO70' | |||
| lv_datenuebergabe | TYPE DSYDS, " | |||
| lv_viewname | TYPE DSYAD-VIEWNAME, " 'STANDARD' | |||
| lv_z_original_outline | TYPE DSYAH-OUTLINE, " SPACE | |||
| lv_druck | TYPE DSYAH, " | |||
| lv_entry_dokclass | TYPE DSYSH-DOKCLASS, " ' ' | |||
| lv_user_abort | TYPE DSYSH, " | |||
| lv_entry_dokname | TYPE DSYSH, " ' ' | |||
| lv_glaspct | TYPE DSYSH-DOKASPCT, " 'S' | |||
| lv_gloutline | TYPE DSYAH-OUTLINE, " | |||
| lv_glseqno | TYPE SY-TABIX, " 1 | |||
| lv_glspras | TYPE DSYSH-DOKLANGU, " SY-LANGU | |||
| lv_glversion | TYPE DSYOI-VERSION, " 0 | |||
| lv_kap_nummer | TYPE DSYOI. " 'X' |
|   CALL FUNCTION 'DSYS_OUTLINE_PRINT' " |
| EXPORTING | ||
| APPLICATION | = lv_application | |
| VIEWNAME | = lv_viewname | |
| Z_ORIGINAL_OUTLINE | = lv_z_original_outline | |
| ENTRY_DOKCLASS | = lv_entry_dokclass | |
| ENTRY_DOKNAME | = lv_entry_dokname | |
| GLASPCT | = lv_glaspct | |
| GLOUTLINE | = lv_gloutline | |
| GLSEQNO | = lv_glseqno | |
| GLSPRAS | = lv_glspras | |
| GLVERSION | = lv_glversion | |
| KAP_NUMMER | = lv_kap_nummer | |
| EXCEPTIONS | ||
| DATENUEBERGABE = 1 | ||
| DRUCK = 2 | ||
| USER_ABORT = 3 | ||
| . " DSYS_OUTLINE_PRINT | ||
ABAP code using 7.40 inline data declarations to call FM DSYS_OUTLINE_PRINT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single APPL FROM DSYDS INTO @DATA(ld_application). | ||||
| DATA(ld_application) | = 'SO70'. | |||
| "SELECT single VIEWNAME FROM DSYAD INTO @DATA(ld_viewname). | ||||
| DATA(ld_viewname) | = 'STANDARD'. | |||
| "SELECT single OUTLINE FROM DSYAH INTO @DATA(ld_z_original_outline). | ||||
| DATA(ld_z_original_outline) | = ' '. | |||
| "SELECT single DOKCLASS FROM DSYSH INTO @DATA(ld_entry_dokclass). | ||||
| DATA(ld_entry_dokclass) | = ' '. | |||
| DATA(ld_entry_dokname) | = ' '. | |||
| "SELECT single DOKASPCT FROM DSYSH INTO @DATA(ld_glaspct). | ||||
| DATA(ld_glaspct) | = 'S'. | |||
| "SELECT single OUTLINE FROM DSYAH INTO @DATA(ld_gloutline). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_glseqno). | ||||
| DATA(ld_glseqno) | = 1. | |||
| "SELECT single DOKLANGU FROM DSYSH INTO @DATA(ld_glspras). | ||||
| DATA(ld_glspras) | = SY-LANGU. | |||
| "SELECT single VERSION FROM DSYOI INTO @DATA(ld_glversion). | ||||
| DATA(ld_kap_nummer) | = 'X'. | |||
Search for further information about these or an SAP related objects