SAP EXIT_SAPLV45L_004 Function Module for Reset the Cumulative Delivered Quantity At Fiscal Year End









EXIT_SAPLV45L_004 is a standard exit saplv45l 004 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reset the Cumulative Delivered Quantity At Fiscal Year End 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 saplv45l 004 FM, simply by entering the name EXIT_SAPLV45L_004 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLV45L_004 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_SAPLV45L_004'"Reset the Cumulative Delivered Quantity At Fiscal Year End
EXPORTING
I_KUNNR = "Customer Number (Sold-To Party)
I_MATNR = "Material Number
I_VBELN = "Scheduling Agreement Number
I_POSNR = "Scheduling Agreement Item Number

IMPORTING
E_RESET_CDQ = "Reset the Cumulative Delivered Quantity
E_RESET_WITH_CYDAT = "
E_RESET_WITH_LFNKD = "
E_RESET_TO_CRQ = "
E_NO_OF_DEL = "
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
SD_ANALYSE_DELIVERIES NOTRANSL: Analyse Reports für Lieferpläne
SD_CHECK_NEW_DEL_SCHED NOTRANSL: Prüfung, ob neuer Abruf angelegt wurde
SD_CLEAR_ST_VBFA_VBELN NOTRANSL: Zurücksetzen Pufferung Belegfluß Lieferung
SD_CORRDEL_CARAZ_SELECT NOTRANSL: Lesen der automatisch erzeugten Korrekturlieferungen
SD_CUMULATIVE_NO_GI_QTY NOTRANSL: Ermittlung der nicht Warenausgang gebuchten Mengen
SD_DATA_FROM_DELIVERY NOTRANSL: Daten zur Lieferung aus Tabelle ST_VBFA holen
SD_DATA_FROM_DELIVERY_EDL NOTRANSL: Daten zur Lieferung aus Tabelle ST_VBFA holen
SD_DATA_FROM_DELIVERY_MAIS NOTRANSL: Daten zur Lieferung aus Tabelle ST_VBFA holen
SD_DELIVERY_CUMULATIVE_CHANGE NOTRANSL: Korrektur der Lieferfortschrittszahl
SD_DELIVERY_CUMULATIVE_DETERM NOTRANSL: Ermitteln der Lieferfortschrittszahl
SD_DELIVERY_QUANTITY NOTRANSL: Korrekturmenge für Lieferplan ermitteln
SD_DETERMINE_FISC_YEAR_CHANGE NOTRANSL: Ermittung ob und wie Geschäftsjahreswechsel stattfindet
SD_GET_ORDER_AMOUNT NOTRANSL: Ermitteln Auftragsmenge für ein bestimmtes Jahr
SD_HELP_DELIVERIES NOTRANSL: Anzeige der Lieferungen zu einer Position mit Fortschrittszahl
SD_HELP_DELIVERIES_EDL NOTRANSL: Anzeige der Lieferungen zu einer Position mit Fortschrittszahl f
SD_HELP_DELIVERIES_MAIS NOTRANSL: Lieferungen zu einem MAIS-Lieferplan ermitteln
SD_HELP_MAIS_ORDERS NOTRANSL: Anzeige der MAIS-Aufträge zu einer Position mit Fortschrittszahl
SD_PERMISSIBLE_DIFFERENCES NOTRANSL: Erlaubte Mengenabweichung der Einteilungen eines Abrufes prüfen
SD_PUSH_AGR NOTRANSL: Push scheduling agreement data of item
SD_QUAN_VIS_DETERMINE_SUPPLIER NOTRANSL: Ermitteln relevanter Mengen und Werte für VIS Zulieferabwicklung
SD_SHOW_SUMMARY_DELIVERIES NOTRANSL: Funktionsbaustein zum Reporteinstieg in die Kurzanzeige für Zuli
SD_ST_VBFA_CHECK_GI NOTRANSL: ST_VBFA aufbauen und Warenausgang zum Abruf prüfen
SD_ST_VBFA_COMPUTE_NO_GI_CUM NOTRANSL: Berechnung der noch nicht WA-gebuchten gelieferten Mengen
SD_VBAK_VBELN_ERMITTELN NOTRANSL: Ermitteln Auftragsnummer
SD_VBAK_VBELN_ERMITTELN_LS NOTRANSL: Bereitstellen der Auftragsbelege zu einem Lieferbeleg
SD_VBAK_VBELN_ERMITTELN_PSP NOTRANSL: Bereitstellen der Auftragsbelege zu einem PSP-Element
SD_VBEH_READ NOTRANSL: Lesen aller historisierten Einteilungen zu einer Position
SD_VBKFZ_MAINTAIN NOTRANSL: Ändern und Anlegen in XVBKFZ
SD_VBKFZ_SELECT NOTRANSL: Lesen der aktuellen Korrekturfortschrittszahl
SD_VBLB_CALL_OFF_DETERMINE NOTRANSL: Ermitteln der aktuellen Lieferabrufnummer
SD_VBLB_MAINTAIN NOTRANSL: Ändern und Anlegen in XVBLB
SD_VBLB_READ NOTRANSL: Lesen aller Abrufe zu einer Position
SD_VBLB_SELECT NOTRANSL: Lesen des aktuellen Abrufs
SD_XS073_RENAME NOTRANSL: Übergabe der Belegnummer in XS073
SD_XVBKFZ_RENAME NOTRANSL: Übergabe der Belegnummer in XVBKFZ
SD_XVBKFZ_YVBKFZ_GET_FOR_UPD NOTRANSL: Übergabe von XVBKFZ und YVBKFZ an die Verbuchung
SD_XVBLB_CHANGES NOTRANSL: Änderungen der Abrufe für die Änderungsbelege
SD_XVBLB_DELETE NOTRANSL: Löschen von Lieferabrufdaten
SD_XVBLB_REFRESH NOTRANSL: Refresh Lieferabrufdaten
SD_XVBLB_RENAME NOTRANSL: Übergabe der Belegnummer in XVBLB
SD_XVBLB_YVBLB_GET_FOR_UPDATE NOTRANSL: Übergabe von XVBLB und YVBLB an die Verbuchung
SD_XVBSN_RENAME NOTRANSL: Übergabe der Belegnummer in XVBLB
SD_YVBLB_SELECT NOTRANSL: Lesen alten Abrufkopf

IMPORTING Parameters details for EXIT_SAPLV45L_004

I_KUNNR - Customer Number (Sold-To Party)

Data type: VBAK-KUNNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_MATNR - Material Number

Data type: VBAP-MATNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_VBELN - Scheduling Agreement Number

Data type: VBLB-VBELN
Optional: No
Call by Reference: No ( called with pass by value option)

I_POSNR - Scheduling Agreement Item Number

Data type: VBLB-POSNR
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for EXIT_SAPLV45L_004

E_RESET_CDQ - Reset the Cumulative Delivered Quantity

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

E_RESET_WITH_CYDAT -

Data type: C
Optional: No
Call by Reference: Yes

E_RESET_WITH_LFNKD -

Data type: C
Optional: No
Call by Reference: Yes

E_RESET_TO_CRQ -

Data type: I
Optional: No
Call by Reference: Yes

E_NO_OF_DEL -

Data type: I
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLV45L_004 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_kunnr  TYPE VBAK-KUNNR, "   
lv_e_reset_cdq  TYPE C, "   
lv_i_matnr  TYPE VBAP-MATNR, "   
lv_e_reset_with_cydat  TYPE C, "   
lv_i_vbeln  TYPE VBLB-VBELN, "   
lv_e_reset_with_lfnkd  TYPE C, "   
lv_i_posnr  TYPE VBLB-POSNR, "   
lv_e_reset_to_crq  TYPE I, "   
lv_e_no_of_del  TYPE I. "   

  CALL FUNCTION 'EXIT_SAPLV45L_004'  "Reset the Cumulative Delivered Quantity At Fiscal Year End
    EXPORTING
         I_KUNNR = lv_i_kunnr
         I_MATNR = lv_i_matnr
         I_VBELN = lv_i_vbeln
         I_POSNR = lv_i_posnr
    IMPORTING
         E_RESET_CDQ = lv_e_reset_cdq
         E_RESET_WITH_CYDAT = lv_e_reset_with_cydat
         E_RESET_WITH_LFNKD = lv_e_reset_with_lfnkd
         E_RESET_TO_CRQ = lv_e_reset_to_crq
         E_NO_OF_DEL = lv_e_no_of_del
. " EXIT_SAPLV45L_004




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLV45L_004

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 KUNNR FROM VBAK INTO @DATA(ld_i_kunnr).
 
 
"SELECT single MATNR FROM VBAP INTO @DATA(ld_i_matnr).
 
 
"SELECT single VBELN FROM VBLB INTO @DATA(ld_i_vbeln).
 
 
"SELECT single POSNR FROM VBLB INTO @DATA(ld_i_posnr).
 
 
 


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!