SAP Reports / Programs | Sales and Distribution | Basic Functions(SD-BF) SAP SD

RVFPLA02 SAP ABAP Report - Sales documents with periodic billing: Update dates







RVFPLA02 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 RVFPLA02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RVFPLA02. "Basic submit
SUBMIT RVFPLA02 AND RETURN. "Return to original report after report execution complete
SUBMIT RVFPLA02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PROTO = Log?
Selection Text: VBELN = Document (periodic billing)
Title: Sales documents with periodic billing: Update dates
Text Symbol: 001 = Document Message
Text Symbol: 002 = Doc.
Text Symbol: 003 = Output


INCLUDES used within this REPORT RVFPLA02

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SD_SALES_DOCUMENT_INIT CALL FUNCTION 'SD_SALES_DOCUMENT_INIT' EXPORTING STATUS_BUFFER_REFRESH = 'X' KEEP_LOCK_ENTRIES = ' ' SIMULATION_MODE_BAPI = ' '.

SD_ORDER_BILLING_SCHEDULE CALL FUNCTION 'SD_ORDER_BILLING_SCHEDULE' EXPORTING I_VBELN = INT_VBELN-VBELN I_BELEG_LESEN = 'X' I_COMMIT = ' ' I_AKTUALISIEREN = 'X' EXCEPTIONS ERROR_MESSAGE = 01.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = SY-MSGID MSGNR = SY-MSGNO MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 IMPORTING MESSAGE_TEXT_OUTPUT = NEWS-TEXT.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = 'V1' MSGNR = '311' MSGV1 = TEXT-002 MSGV2 = INT_VBELN-VBELN IMPORTING MESSAGE_TEXT_OUTPUT = NEWS-TEXT.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT I_SAVE = GC_SAVE "'A' IT_EVENTS = GT_EVENTTAB_ALV TABLES T_OUTTAB = GT_OUTTAB_ALV EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = GC_STRUCTURE CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

/SAPDMC/DATAELEMENT_GET_TEXTS CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS' EXPORTING name = 'VBELN' IMPORTING TEXT_HEADER = lv_text EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB_ALV.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_COMMENTARY.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING FORMATWIDTH = 60 LINEWIDTH = 132 STARTLINE = 1 TABLES LINES = GT_TLINE EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RVFPLA02 or its description.