SAP DIP11_DLI_GET Function Module for NOTRANSL: DP lesen / Anlegen DP
DIP11_DLI_GET is a standard dip11 dli get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: DP lesen / Anlegen DP 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 dip11 dli get FM, simply by entering the name DIP11_DLI_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: DIP11
Program Name: SAPLDIP11
Main Program: SAPLDIP11
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DIP11_DLI_GET 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 'DIP11_DLI_GET'"NOTRANSL: DP lesen / Anlegen DP.
EXPORTING
* I_DLINR = "Number of the Dynamic Item
* I_ATTRI = "Independent Characteristics
* I_DLISRC = "Dynamic item source
* I_PROFNR = "DIP Profile
* I_FLAG_READ_ONLY = ' ' "Generic Type
IMPORTING
E_AD01DLI = "Dynamic item
EXCEPTIONS
DLI_NOT_FOUND = 1 INPUT_ERROR = 2
IMPORTING Parameters details for DIP11_DLI_GET
I_DLINR - Number of the Dynamic Item
Data type: AD01DLI-DLINROptional: Yes
Call by Reference: Yes
I_ATTRI - Independent Characteristics
Data type: AD01ATTRIOptional: Yes
Call by Reference: Yes
I_DLISRC - Dynamic item source
Data type: AD01DLI-DLISRCOptional: Yes
Call by Reference: Yes
I_PROFNR - DIP Profile
Data type: AD01DLI-PROFNROptional: Yes
Call by Reference: Yes
I_FLAG_READ_ONLY - Generic Type
Data type: CDefault: SPACE
Optional: No
Call by Reference: Yes
EXPORTING Parameters details for DIP11_DLI_GET
E_AD01DLI - Dynamic item
Data type: AD01DLIOptional: No
Call by Reference: Yes
EXCEPTIONS details
DLI_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
INPUT_ERROR - Entry Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for DIP11_DLI_GET 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_i_dlinr | TYPE AD01DLI-DLINR, " | |||
| lv_e_ad01dli | TYPE AD01DLI, " | |||
| lv_dli_not_found | TYPE AD01DLI, " | |||
| lv_i_attri | TYPE AD01ATTRI, " | |||
| lv_input_error | TYPE AD01ATTRI, " | |||
| lv_i_dlisrc | TYPE AD01DLI-DLISRC, " | |||
| lv_i_profnr | TYPE AD01DLI-PROFNR, " | |||
| lv_i_flag_read_only | TYPE C. " SPACE |
|   CALL FUNCTION 'DIP11_DLI_GET' "NOTRANSL: DP lesen / Anlegen DP |
| EXPORTING | ||
| I_DLINR | = lv_i_dlinr | |
| I_ATTRI | = lv_i_attri | |
| I_DLISRC | = lv_i_dlisrc | |
| I_PROFNR | = lv_i_profnr | |
| I_FLAG_READ_ONLY | = lv_i_flag_read_only | |
| IMPORTING | ||
| E_AD01DLI | = lv_e_ad01dli | |
| EXCEPTIONS | ||
| DLI_NOT_FOUND = 1 | ||
| INPUT_ERROR = 2 | ||
| . " DIP11_DLI_GET | ||
ABAP code using 7.40 inline data declarations to call FM DIP11_DLI_GET
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 DLINR FROM AD01DLI INTO @DATA(ld_i_dlinr). | ||||
| "SELECT single DLISRC FROM AD01DLI INTO @DATA(ld_i_dlisrc). | ||||
| "SELECT single PROFNR FROM AD01DLI INTO @DATA(ld_i_profnr). | ||||
| DATA(ld_i_flag_read_only) | = ' '. | |||
Search for further information about these or an SAP related objects