SDFPLA02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SDFPLA02 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OVBT - Modification Report Billing Plan
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: BEDAT = Start date of billing plan
Selection Text: ENDAT = End date of billing plan
Selection Text: POSNR = Item number
Selection Text: VBELN = Sales document
Title: Sales Documents with Billing Plan: Store Data FPLA etc.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SD_SALES_DOCUMENT_READ CALL FUNCTION 'SD_SALES_DOCUMENT_READ' EXPORTING DOCUMENT_NUMBER = VBELN EXCEPTIONS ERROR_MESSAGE = 01.
SD_SALES_ITEM_LIST_READ CALL FUNCTION 'SD_SALES_ITEM_LIST_READ' TABLES EIVBAP = ITAB_ITEM_LINES EXCEPTIONS OTHERS = 1.
SD_SALES_BILLINGPLAN_READ CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ' EXPORTING I_VBELN = VBELN I_POSNR = ITAB_ITEM_LINES-POSNR IMPORTING E_FPLA = FPLA TABLES E_FPLT = IFPLT EXCEPTIONS NO_BILLINGPLAN_ALLOWED = 1 NO_BILLINGPLAN_FOUND = 2 OTHERS = 3.
SD_SALES_BILLINGPLAN_CHANGE CALL FUNCTION 'SD_SALES_BILLINGPLAN_CHANGE' EXPORTING I_VBELN = VBELN I_POSNR = ITAB_ITEM_LINES-POSNR I_FPLA = FPLA I_CREATE_DATES = 'X' EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 1.
SD_SALES_DOCUMENT_SAVE CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE' EXCEPTIONS ERROR_MESSAGE = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDFPLA02 - Sales Documents with Billing Plan: Store Data FPLA etc. SDFPLA02 - Sales Documents with Billing Plan: Store Data FPLA etc. SDFI_CONSISTENCY_CHECK - Consistency Check: Billing Documents: Accounting SDFI_CONSISTENCY_CHECK - Consistency Check: Billing Documents: Accounting SDFERT03 - Reject Sales Orders with Assembly if Assembly Archived Too Early SDFERT03 - Reject Sales Orders with Assembly if Assembly Archived Too Early