SAP EXIT_SAPLADK0_003 Function Module for Customer-Specific Use of DI to Results Analysis Transfer Interface (Stock)
EXIT_SAPLADK0_003 is a standard exit sapladk0 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer-Specific Use of DI to Results Analysis Transfer Interface (Stock) 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 exit sapladk0 003 FM, simply by entering the name EXIT_SAPLADK0_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XDK0
Program Name: SAPLXDK0
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLADK0_003 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 'EXIT_SAPLADK0_003'"Customer-Specific Use of DI to Results Analysis Transfer Interface (Stock).
EXPORTING
ABGRENZUNGS_SCHLUESSEL = "Results Analysis Key
KOKRS_WAERS = "Currency Key
BUKRS_WAERS = "Currency Key
ABGRENZUNGS_VERSION = "Results Analysis Version
BEARBEITUNGS_GJAHR = "Results analysis year
BEARBEITUNGS_PMONAT = "Results Analysis Month
ABGRENZUNGS_VORGANG = "CO Business Transaction
COEP_KOKRS = "Controlling Area
COEP_BUKRS = "Company Code
OBJEKTNUMMER = "Object Number
TESTLAUF = "Checkbox
TABLES
IT_DLIA = "Communication: DIP No. + parameter + DI Admin.
IT_DLIV2 = "Communication: DIP No. + DI Flow Value
IT_DLIM = "Communication: DIP No. + Processing info.
IT_DLIV3 = "Communication: DIP No. + DI Flow Value
IT_WKG_DLIV3 = "Communication: DIP No. + DI Flow Value
IT_WOG_DLIV3 = "Communication: DIP No. + DI Flow Value
IT_OBJ = "Communication: Objects to be Billed/Objects for Quotation
EXCEPTIONS
FEHLER_MIT_NACHRICHT = 1 FEHLER_OHNE_NACHRICHT = 2
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ADK0_ADD_RA_DATA NOTRANSL: Addiere Ergebnisermittlungsdaten zum Objekt passend zu DP
ADK0_ADD_RA_DATA_FROM_INVOICE NOTRANSL: Ergebniswirksame Kosten und Erlöse aus dynamischen Posten
ADK0_GET_RA_DATA NOTRANSL: Hole errechnete Abgr.Daten auf dem Programm
ADK0_GET_RA_DATA_INIT NOTRANSL: Initialisierung für ADK0_GET_RA_DATA
ADK0_INIT_OBJECT NOTRANSL: Initialisiere Objekt für Erg.Erm. mit dynamischen Posten
ADK0_MSG_MAT_DET_ERROR Message for material determination error
ADK0_RA_PERIOD_END_CLOSING NOTRANSL: Kosten und Erlöse im Bestand von dynamischen Posten
ADK0_READ_RA_DATA NOTRANSL: Lese Erg.Erm. Daten passend zu dynamischen Posten
IMPORTING Parameters details for EXIT_SAPLADK0_003
ABGRENZUNGS_SCHLUESSEL - Results Analysis Key
Data type: XKALXKAG-ABGSLOptional: No
Call by Reference: No ( called with pass by value option)
KOKRS_WAERS - Currency Key
Data type: TKA01-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
BUKRS_WAERS - Currency Key
Data type: T001-WAERSOptional: No
Call by Reference: No ( called with pass by value option)
ABGRENZUNGS_VERSION - Results Analysis Version
Data type: XKALXKAG-VERSAOptional: No
Call by Reference: No ( called with pass by value option)
BEARBEITUNGS_GJAHR - Results analysis year
Data type: XKALXKAG-ABGRJOptional: No
Call by Reference: No ( called with pass by value option)
BEARBEITUNGS_PMONAT - Results Analysis Month
Data type: XKALXKAG-ABGRMOptional: No
Call by Reference: No ( called with pass by value option)
ABGRENZUNGS_VORGANG - CO Business Transaction
Data type: COSB-VRGNGOptional: No
Call by Reference: No ( called with pass by value option)
COEP_KOKRS - Controlling Area
Data type: COEP-KOKRSOptional: No
Call by Reference: No ( called with pass by value option)
COEP_BUKRS - Company Code
Data type: COEP-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
OBJEKTNUMMER - Object Number
Data type: COSB-OBJNROptional: No
Call by Reference: No ( called with pass by value option)
TESTLAUF - Checkbox
Data type: KKALKKAG-ANKREUZFLDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLADK0_003
IT_DLIA - Communication: DIP No. + parameter + DI Admin.
Data type: AD01DLIAOptional: No
Call by Reference: Yes
IT_DLIV2 - Communication: DIP No. + DI Flow Value
Data type: AD01DLIV2Optional: No
Call by Reference: Yes
IT_DLIM - Communication: DIP No. + Processing info.
Data type: AD01DLIMOptional: No
Call by Reference: Yes
IT_DLIV3 - Communication: DIP No. + DI Flow Value
Data type: AD01DLIV3Optional: No
Call by Reference: Yes
IT_WKG_DLIV3 - Communication: DIP No. + DI Flow Value
Data type: AD01DLIV3Optional: No
Call by Reference: Yes
IT_WOG_DLIV3 - Communication: DIP No. + DI Flow Value
Data type: AD01DLIV3Optional: No
Call by Reference: Yes
IT_OBJ - Communication: Objects to be Billed/Objects for Quotation
Data type: AD01OBJOptional: No
Call by Reference: Yes
EXCEPTIONS details
FEHLER_MIT_NACHRICHT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FEHLER_OHNE_NACHRICHT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLADK0_003 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_it_dlia | TYPE STANDARD TABLE OF AD01DLIA, " | |||
| lv_fehler_mit_nachricht | TYPE AD01DLIA, " | |||
| lv_abgrenzungs_schluessel | TYPE XKALXKAG-ABGSL, " | |||
| lv_kokrs_waers | TYPE TKA01-WAERS, " | |||
| lv_bukrs_waers | TYPE T001-WAERS, " | |||
| lt_it_dliv2 | TYPE STANDARD TABLE OF AD01DLIV2, " | |||
| lv_abgrenzungs_version | TYPE XKALXKAG-VERSA, " | |||
| lv_fehler_ohne_nachricht | TYPE XKALXKAG, " | |||
| lt_it_dlim | TYPE STANDARD TABLE OF AD01DLIM, " | |||
| lv_bearbeitungs_gjahr | TYPE XKALXKAG-ABGRJ, " | |||
| lt_it_dliv3 | TYPE STANDARD TABLE OF AD01DLIV3, " | |||
| lv_bearbeitungs_pmonat | TYPE XKALXKAG-ABGRM, " | |||
| lt_it_wkg_dliv3 | TYPE STANDARD TABLE OF AD01DLIV3, " | |||
| lv_abgrenzungs_vorgang | TYPE COSB-VRGNG, " | |||
| lv_coep_kokrs | TYPE COEP-KOKRS, " | |||
| lt_it_wog_dliv3 | TYPE STANDARD TABLE OF AD01DLIV3, " | |||
| lt_it_obj | TYPE STANDARD TABLE OF AD01OBJ, " | |||
| lv_coep_bukrs | TYPE COEP-BUKRS, " | |||
| lv_objektnummer | TYPE COSB-OBJNR, " | |||
| lv_testlauf | TYPE KKALKKAG-ANKREUZFLD. " |
|   CALL FUNCTION 'EXIT_SAPLADK0_003' "Customer-Specific Use of DI to Results Analysis Transfer Interface (Stock) |
| EXPORTING | ||
| ABGRENZUNGS_SCHLUESSEL | = lv_abgrenzungs_schluessel | |
| KOKRS_WAERS | = lv_kokrs_waers | |
| BUKRS_WAERS | = lv_bukrs_waers | |
| ABGRENZUNGS_VERSION | = lv_abgrenzungs_version | |
| BEARBEITUNGS_GJAHR | = lv_bearbeitungs_gjahr | |
| BEARBEITUNGS_PMONAT | = lv_bearbeitungs_pmonat | |
| ABGRENZUNGS_VORGANG | = lv_abgrenzungs_vorgang | |
| COEP_KOKRS | = lv_coep_kokrs | |
| COEP_BUKRS | = lv_coep_bukrs | |
| OBJEKTNUMMER | = lv_objektnummer | |
| TESTLAUF | = lv_testlauf | |
| TABLES | ||
| IT_DLIA | = lt_it_dlia | |
| IT_DLIV2 | = lt_it_dliv2 | |
| IT_DLIM | = lt_it_dlim | |
| IT_DLIV3 | = lt_it_dliv3 | |
| IT_WKG_DLIV3 | = lt_it_wkg_dliv3 | |
| IT_WOG_DLIV3 | = lt_it_wog_dliv3 | |
| IT_OBJ | = lt_it_obj | |
| EXCEPTIONS | ||
| FEHLER_MIT_NACHRICHT = 1 | ||
| FEHLER_OHNE_NACHRICHT = 2 | ||
| . " EXIT_SAPLADK0_003 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLADK0_003
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 ABGSL FROM XKALXKAG INTO @DATA(ld_abgrenzungs_schluessel). | ||||
| "SELECT single WAERS FROM TKA01 INTO @DATA(ld_kokrs_waers). | ||||
| "SELECT single WAERS FROM T001 INTO @DATA(ld_bukrs_waers). | ||||
| "SELECT single VERSA FROM XKALXKAG INTO @DATA(ld_abgrenzungs_version). | ||||
| "SELECT single ABGRJ FROM XKALXKAG INTO @DATA(ld_bearbeitungs_gjahr). | ||||
| "SELECT single ABGRM FROM XKALXKAG INTO @DATA(ld_bearbeitungs_pmonat). | ||||
| "SELECT single VRGNG FROM COSB INTO @DATA(ld_abgrenzungs_vorgang). | ||||
| "SELECT single KOKRS FROM COEP INTO @DATA(ld_coep_kokrs). | ||||
| "SELECT single BUKRS FROM COEP INTO @DATA(ld_coep_bukrs). | ||||
| "SELECT single OBJNR FROM COSB INTO @DATA(ld_objektnummer). | ||||
| "SELECT single ANKREUZFLD FROM KKALKKAG INTO @DATA(ld_testlauf). | ||||
Search for further information about these or an SAP related objects