SAP BILLING_SCHEDULE_GENERATE Function Module for Maintain billing plan without online
BILLING_SCHEDULE_GENERATE is a standard billing schedule generate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Maintain billing plan without online 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 billing schedule generate FM, simply by entering the name BILLING_SCHEDULE_GENERATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: V60F
Program Name: SAPLV60F
Main Program: SAPLV60F
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BILLING_SCHEDULE_GENERATE 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 'BILLING_SCHEDULE_GENERATE'"Maintain billing plan without online.
EXPORTING
* I_FPLNR = ' ' "
* I_KOMPAX = "
* I_FPLA_ONLY = ' ' "
* I_FKREL = ' ' "
* I_VEDA_KOPF = "
* I_CREATE_DATES = ' ' "
* I_KFPLAN = ' ' "
* I_KFPLNR = ' ' "
* I_NOMSG = ' ' "
* I_ABSAGEN = ' ' "
* I_FPLAA = "
* I_WAERS = ' ' "
* I_FPART = ' ' "
* I_VEDA = "
* I_FKDAT = "
* I_UPD_FPLA = ' ' "
* I_UPD_FPLT = ' ' "
* I_KOMK = "
* I_KOMP = "
IMPORTING
E_FPLNR = "
E_DATALOSS = "
E_UPD_FPLA = "
E_UPD_FPLT = "
E_KOMPAX = "
TABLES
FPLA_NEW = "
FPLA_OLD = "
FPLT_NEW = "
FPLT_OLD = "
* I_FPLTS = "
* I_FPLTNP = "
* I_KOMV = "
* I_TKOMK = "
* I_SVBAP = "Stucture-info item / Higher-level item
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLV60F_001 Editing the Proposed Different Billing Date
IMPORTING Parameters details for BILLING_SCHEDULE_GENERATE
I_FPLNR -
Data type: FPLA-FPLNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KOMPAX -
Data type: KOMPAXOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FPLA_ONLY -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FKREL -
Data type: VBAP-FKRELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VEDA_KOPF -
Data type: VEDAVBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CREATE_DATES -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KFPLAN -
Data type: RV60F-KFPLANDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KFPLNR -
Data type: FPLA-FPLNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NOMSG -
Data type: RV60F-NOMSGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ABSAGEN -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FPLAA -
Data type: FPLAAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WAERS -
Data type: FPLT-WAERSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FPART -
Data type: TFPLA-FPARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VEDA -
Data type: VEDAVBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FKDAT -
Data type: VBKD-FKDATOptional: Yes
Call by Reference: No ( called with pass by value option)
I_UPD_FPLA -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_UPD_FPLT -
Data type:Default: SPACE
Optional: Yes
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 BILLING_SCHEDULE_GENERATE
E_FPLNR -
Data type: FPLA-FPLNROptional: No
Call by Reference: No ( called with pass by value option)
E_DATALOSS -
Data type: R185D-DATALOSSOptional: No
Call by Reference: No ( called with pass by value option)
E_UPD_FPLA -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_UPD_FPLT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_KOMPAX -
Data type: KOMPAXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BILLING_SCHEDULE_GENERATE
FPLA_NEW -
Data type: FPLAVBOptional: No
Call by Reference: No ( called with pass by value option)
FPLA_OLD -
Data type: FPLAVBOptional: No
Call by Reference: No ( called with pass by value option)
FPLT_NEW -
Data type: FPLTVBOptional: No
Call by Reference: No ( called with pass by value option)
FPLT_OLD -
Data type: FPLTVBOptional: No
Call by Reference: No ( called with pass by value option)
I_FPLTS -
Data type: FPLTSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FPLTNP -
Data type: FPLTNPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KOMV -
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_SVBAP - Stucture-info item / Higher-level item
Data type: VBAPUOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BILLING_SCHEDULE_GENERATE 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_e_fplnr | TYPE FPLA-FPLNR, " | |||
| lv_i_fplnr | TYPE FPLA-FPLNR, " SPACE | |||
| lt_fpla_new | TYPE STANDARD TABLE OF FPLAVB, " | |||
| lv_i_kompax | TYPE KOMPAX, " | |||
| lv_i_fpla_only | TYPE KOMPAX, " SPACE | |||
| lv_i_fkrel | TYPE VBAP-FKREL, " SPACE | |||
| lv_i_veda_kopf | TYPE VEDAVB, " | |||
| lv_i_create_dates | TYPE VEDAVB, " SPACE | |||
| lv_i_kfplan | TYPE RV60F-KFPLAN, " SPACE | |||
| lv_i_kfplnr | TYPE FPLA-FPLNR, " SPACE | |||
| lv_i_nomsg | TYPE RV60F-NOMSG, " SPACE | |||
| lv_i_absagen | TYPE RV60F, " SPACE | |||
| lv_i_fplaa | TYPE FPLAA, " | |||
| lv_i_waers | TYPE FPLT-WAERS, " SPACE | |||
| lt_fpla_old | TYPE STANDARD TABLE OF FPLAVB, " | |||
| lv_e_dataloss | TYPE R185D-DATALOSS, " | |||
| lv_i_fpart | TYPE TFPLA-FPART, " SPACE | |||
| lt_fplt_new | TYPE STANDARD TABLE OF FPLTVB, " | |||
| lv_e_upd_fpla | TYPE FPLTVB, " | |||
| lv_i_veda | TYPE VEDAVB, " | |||
| lt_fplt_old | TYPE STANDARD TABLE OF FPLTVB, " | |||
| lv_e_upd_fplt | TYPE FPLTVB, " | |||
| lv_i_fkdat | TYPE VBKD-FKDAT, " | |||
| lt_i_fplts | TYPE STANDARD TABLE OF FPLTS, " | |||
| lv_e_kompax | TYPE KOMPAX, " | |||
| lt_i_fpltnp | TYPE STANDARD TABLE OF FPLTNP, " | |||
| lv_i_upd_fpla | TYPE FPLTNP, " SPACE | |||
| lt_i_komv | TYPE STANDARD TABLE OF KOMV, " | |||
| lv_i_upd_fplt | TYPE KOMV, " SPACE | |||
| lv_i_komk | TYPE KOMK, " | |||
| lt_i_tkomk | TYPE STANDARD TABLE OF KOMK, " | |||
| lv_i_komp | TYPE KOMP, " | |||
| lt_i_svbap | TYPE STANDARD TABLE OF VBAPU. " |
|   CALL FUNCTION 'BILLING_SCHEDULE_GENERATE' "Maintain billing plan without online |
| EXPORTING | ||
| I_FPLNR | = lv_i_fplnr | |
| I_KOMPAX | = lv_i_kompax | |
| I_FPLA_ONLY | = lv_i_fpla_only | |
| I_FKREL | = lv_i_fkrel | |
| I_VEDA_KOPF | = lv_i_veda_kopf | |
| I_CREATE_DATES | = lv_i_create_dates | |
| I_KFPLAN | = lv_i_kfplan | |
| I_KFPLNR | = lv_i_kfplnr | |
| I_NOMSG | = lv_i_nomsg | |
| I_ABSAGEN | = lv_i_absagen | |
| I_FPLAA | = lv_i_fplaa | |
| I_WAERS | = lv_i_waers | |
| I_FPART | = lv_i_fpart | |
| I_VEDA | = lv_i_veda | |
| I_FKDAT | = lv_i_fkdat | |
| I_UPD_FPLA | = lv_i_upd_fpla | |
| I_UPD_FPLT | = lv_i_upd_fplt | |
| I_KOMK | = lv_i_komk | |
| I_KOMP | = lv_i_komp | |
| IMPORTING | ||
| E_FPLNR | = lv_e_fplnr | |
| E_DATALOSS | = lv_e_dataloss | |
| E_UPD_FPLA | = lv_e_upd_fpla | |
| E_UPD_FPLT | = lv_e_upd_fplt | |
| E_KOMPAX | = lv_e_kompax | |
| TABLES | ||
| FPLA_NEW | = lt_fpla_new | |
| FPLA_OLD | = lt_fpla_old | |
| FPLT_NEW | = lt_fplt_new | |
| FPLT_OLD | = lt_fplt_old | |
| I_FPLTS | = lt_i_fplts | |
| I_FPLTNP | = lt_i_fpltnp | |
| I_KOMV | = lt_i_komv | |
| I_TKOMK | = lt_i_tkomk | |
| I_SVBAP | = lt_i_svbap | |
| . " BILLING_SCHEDULE_GENERATE | ||
ABAP code using 7.40 inline data declarations to call FM BILLING_SCHEDULE_GENERATE
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 FPLNR FROM FPLA INTO @DATA(ld_e_fplnr). | ||||
| "SELECT single FPLNR FROM FPLA INTO @DATA(ld_i_fplnr). | ||||
| DATA(ld_i_fplnr) | = ' '. | |||
| DATA(ld_i_fpla_only) | = ' '. | |||
| "SELECT single FKREL FROM VBAP INTO @DATA(ld_i_fkrel). | ||||
| DATA(ld_i_fkrel) | = ' '. | |||
| DATA(ld_i_create_dates) | = ' '. | |||
| "SELECT single KFPLAN FROM RV60F INTO @DATA(ld_i_kfplan). | ||||
| DATA(ld_i_kfplan) | = ' '. | |||
| "SELECT single FPLNR FROM FPLA INTO @DATA(ld_i_kfplnr). | ||||
| DATA(ld_i_kfplnr) | = ' '. | |||
| "SELECT single NOMSG FROM RV60F INTO @DATA(ld_i_nomsg). | ||||
| DATA(ld_i_nomsg) | = ' '. | |||
| DATA(ld_i_absagen) | = ' '. | |||
| "SELECT single WAERS FROM FPLT INTO @DATA(ld_i_waers). | ||||
| DATA(ld_i_waers) | = ' '. | |||
| "SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss). | ||||
| "SELECT single FPART FROM TFPLA INTO @DATA(ld_i_fpart). | ||||
| DATA(ld_i_fpart) | = ' '. | |||
| "SELECT single FKDAT FROM VBKD INTO @DATA(ld_i_fkdat). | ||||
| DATA(ld_i_upd_fpla) | = ' '. | |||
| DATA(ld_i_upd_fplt) | = ' '. | |||
Search for further information about these or an SAP related objects