SAP DMC_GET_OBJECTS_SP Function Module for Liefert Name und Beschreibung der Projekte einer Anwendung.









DMC_GET_OBJECTS_SP is a standard dmc get objects sp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Liefert Name und Beschreibung der Projekte einer Anwendung. 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 dmc get objects sp FM, simply by entering the name DMC_GET_OBJECTS_SP into the relevant SAP transaction such as SE37 or SE38.

Function Group: DMCGUI_SP
Program Name: SAPLDMCGUI_SP
Main Program: SAPLDMCGUI_SP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DMC_GET_OBJECTS_SP 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 'DMC_GET_OBJECTS_SP'"Liefert Name und Beschreibung der Projekte einer Anwendung.
EXPORTING
* IM_APPLICATION = "DMC: ID for applications
* IM_PROJECT = "Project IDs
* IM_SUBPROJECT = "Subproject IDs

TABLES
* PROJECTS = "DMC: Table for names and descriptions of DMC objects
* SUBPROJECTS = "DMC: Table for names and descriptions of DMC objects
* CONV_OBJECTS = "DMC: Table for names and descriptions of DMC objects
.



IMPORTING Parameters details for DMC_GET_OBJECTS_SP

IM_APPLICATION - DMC: ID for applications

Data type: DMC_ANWDG-IDENT
Optional: Yes
Call by Reference: Yes

IM_PROJECT - Project IDs

Data type: DMC_PRJCT-IDENT
Optional: Yes
Call by Reference: Yes

IM_SUBPROJECT - Subproject IDs

Data type: DMC_SPRJCT-IDENT
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for DMC_GET_OBJECTS_SP

PROJECTS - DMC: Table for names and descriptions of DMC objects

Data type: DMC_OBJECT_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUBPROJECTS - DMC: Table for names and descriptions of DMC objects

Data type: DMC_OBJECT_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

CONV_OBJECTS - DMC: Table for names and descriptions of DMC objects

Data type: DMC_OBJECT_TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DMC_GET_OBJECTS_SP 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:
lt_projects  TYPE STANDARD TABLE OF DMC_OBJECT_TAB, "   
lv_im_application  TYPE DMC_ANWDG-IDENT, "   
lv_im_project  TYPE DMC_PRJCT-IDENT, "   
lt_subprojects  TYPE STANDARD TABLE OF DMC_OBJECT_TAB, "   
lt_conv_objects  TYPE STANDARD TABLE OF DMC_OBJECT_TAB, "   
lv_im_subproject  TYPE DMC_SPRJCT-IDENT. "   

  CALL FUNCTION 'DMC_GET_OBJECTS_SP'  "Liefert Name und Beschreibung der Projekte einer Anwendung.
    EXPORTING
         IM_APPLICATION = lv_im_application
         IM_PROJECT = lv_im_project
         IM_SUBPROJECT = lv_im_subproject
    TABLES
         PROJECTS = lt_projects
         SUBPROJECTS = lt_subprojects
         CONV_OBJECTS = lt_conv_objects
. " DMC_GET_OBJECTS_SP




ABAP code using 7.40 inline data declarations to call FM DMC_GET_OBJECTS_SP

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 IDENT FROM DMC_ANWDG INTO @DATA(ld_im_application).
 
"SELECT single IDENT FROM DMC_PRJCT INTO @DATA(ld_im_project).
 
 
 
"SELECT single IDENT FROM DMC_SPRJCT INTO @DATA(ld_im_subproject).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!