SAP ML_INVOICING_SCHEDULE_VALUES Function Module for NOTRANSL: Errechnet neue Nettowerte für die einzelnen Termine
ML_INVOICING_SCHEDULE_VALUES is a standard ml invoicing schedule values 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: Errechnet neue Nettowerte für die einzelnen Termine 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 ml invoicing schedule values FM, simply by entering the name ML_INVOICING_SCHEDULE_VALUES into the relevant SAP transaction such as SE37 or SE38.
Function Group: MLRP
Program Name: SAPLMLRP
Main Program: SAPLMLRP
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ML_INVOICING_SCHEDULE_VALUES 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 'ML_INVOICING_SCHEDULE_VALUES'"NOTRANSL: Errechnet neue Nettowerte für die einzelnen Termine.
EXPORTING
COMMRP = "
* I_KOMK = "
* I_KOMP = "
IMPORTING
E_UPDKZ = "
TABLES
* I_TKOMV = "
* I_TKOMK = "
* I_BETS = "
* I_BET = "
IMPORTING Parameters details for ML_INVOICING_SCHEDULE_VALUES
COMMRP -
Data type: COMMRPOptional: No
Call by Reference: No ( called with pass by value option)
I_KOMK -
Data type: KOMKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KOMP -
Data type: KOMPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ML_INVOICING_SCHEDULE_VALUES
E_UPDKZ -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ML_INVOICING_SCHEDULE_VALUES
I_TKOMV -
Data type: KOMVOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TKOMK -
Data type: KOMKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BETS -
Data type: EKBESOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BET -
Data type: EKBEOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ML_INVOICING_SCHEDULE_VALUES 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_commrp | TYPE COMMRP, " | |||
| lv_e_updkz | TYPE COMMRP, " | |||
| lt_i_tkomv | TYPE STANDARD TABLE OF KOMV, " | |||
| lv_i_komk | TYPE KOMK, " | |||
| lt_i_tkomk | TYPE STANDARD TABLE OF KOMK, " | |||
| lt_i_bets | TYPE STANDARD TABLE OF EKBES, " | |||
| lv_i_komp | TYPE KOMP, " | |||
| lt_i_bet | TYPE STANDARD TABLE OF EKBE. " |
|   CALL FUNCTION 'ML_INVOICING_SCHEDULE_VALUES' "NOTRANSL: Errechnet neue Nettowerte für die einzelnen Termine |
| EXPORTING | ||
| COMMRP | = lv_commrp | |
| I_KOMK | = lv_i_komk | |
| I_KOMP | = lv_i_komp | |
| IMPORTING | ||
| E_UPDKZ | = lv_e_updkz | |
| TABLES | ||
| I_TKOMV | = lt_i_tkomv | |
| I_TKOMK | = lt_i_tkomk | |
| I_BETS | = lt_i_bets | |
| I_BET | = lt_i_bet | |
| . " ML_INVOICING_SCHEDULE_VALUES | ||
ABAP code using 7.40 inline data declarations to call FM ML_INVOICING_SCHEDULE_VALUES
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.Search for further information about these or an SAP related objects