SAP DSYS_OUTLINE_OBJECTS Function Module for Get all DSYS modules for a hypertext structure
DSYS_OUTLINE_OBJECTS is a standard dsys outline objects SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get all DSYS modules for a hypertext structure processing and below is the pattern details for this FM, 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 objects FM, simply by entering the name DSYS_OUTLINE_OBJECTS into the relevant SAP transaction such as SE37 or SE38.
Function Group: DSYO
Program Name: SAPLDSYO
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DSYS_OUTLINE_OBJECTS 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_OBJECTS'"Get all DSYS modules for a hypertext structure.
EXPORTING
LANGUAGE = "Language in which the modules are
OUTLINE = " Classification name
IMPORTING
NO_OF_MISSING = "Number of missing modules
NO_OF_PRESENT = "Number of collected modules
TABLES
OBJECTS_TABLE = " Specifications on the found modul
EXCEPTIONS
OUTLINE_NOT_ACTIVATED = 1 OUTLINE_NOT_FOUND = 2
IMPORTING Parameters details for DSYS_OUTLINE_OBJECTS
LANGUAGE - Language in which the modules are
Data type: DSYGI-MASTERLANGOptional: No
Call by Reference: No ( called with pass by value option)
OUTLINE - Classification name
Data type: DSYGI-OUTLINEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DSYS_OUTLINE_OBJECTS
NO_OF_MISSING - Number of missing modules
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
NO_OF_PRESENT - Number of collected modules
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DSYS_OUTLINE_OBJECTS
OBJECTS_TABLE - Specifications on the found modul
Data type: PDSYSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OUTLINE_NOT_ACTIVATED - Classification is not yet activat
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OUTLINE_NOT_FOUND - Classification was not found.
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DSYS_OUTLINE_OBJECTS 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_language | TYPE DSYGI-MASTERLANG, " | |||
| lv_no_of_missing | TYPE SY-TABIX, " | |||
| lt_objects_table | TYPE STANDARD TABLE OF PDSYS, " | |||
| lv_outline_not_activated | TYPE PDSYS, " | |||
| lv_outline | TYPE DSYGI-OUTLINE, " | |||
| lv_no_of_present | TYPE SY-TABIX, " | |||
| lv_outline_not_found | TYPE SY. " |
|   CALL FUNCTION 'DSYS_OUTLINE_OBJECTS' "Get all DSYS modules for a hypertext structure |
| EXPORTING | ||
| LANGUAGE | = lv_language | |
| OUTLINE | = lv_outline | |
| IMPORTING | ||
| NO_OF_MISSING | = lv_no_of_missing | |
| NO_OF_PRESENT | = lv_no_of_present | |
| TABLES | ||
| OBJECTS_TABLE | = lt_objects_table | |
| EXCEPTIONS | ||
| OUTLINE_NOT_ACTIVATED = 1 | ||
| OUTLINE_NOT_FOUND = 2 | ||
| . " DSYS_OUTLINE_OBJECTS | ||
ABAP code using 7.40 inline data declarations to call FM DSYS_OUTLINE_OBJECTS
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 MASTERLANG FROM DSYGI INTO @DATA(ld_language). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_no_of_missing). | ||||
| "SELECT single OUTLINE FROM DSYGI INTO @DATA(ld_outline). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_no_of_present). | ||||
Search for further information about these or an SAP related objects