SAP Reports / Programs | Software License Management | Industry Solution High Tech | Software License Management(IS-HT-SW-LIC) SAP IS

ROGBILLS SAP ABAP Report - Synchronize billing plans







ROGBILLS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Golden Gate: Billing Plan Synchronization List of all "old" billing plans, which will be synchronized...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter ROGBILLS into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VBSY - Billing Plan Synchronization


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 ROGBILLS. "Basic submit
SUBMIT ROGBILLS AND RETURN. "Return to original report after report execution complete
SUBMIT ROGBILLS 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: VTWEG = D Distribution channel
Selection Text: VKORG = D Sales organization
Selection Text: VBTYP = D SD document categ.
Selection Text: VBELN = D SD document
Selection Text: SYNCHRO = Synchronize billing plan
Selection Text: SYNCH = Synchronization flag
Selection Text: SUPLN = Subsequent billing plan
Selection Text: SPART = D Division
Selection Text: KUNNR = D Sold-to party
Selection Text: ERNAM = D Created by
Selection Text: ERDAT = D Created on
Selection Text: DEL_WIN = Confirmation required
Selection Text: BSTNK = D Purchase order no.
Selection Text: AUART = D Sales document type
Title: Synchronize billing plans
Text Symbol: W04 = the next documents?
Text Symbol: W03 = Do you want to continue synchronizing
Text Symbol: W01 = Continue processing?
Text Symbol: TPR = Document Output
Text Symbol: S04 = Processing options
Text Symbol: S03 = Document data
Text Symbol: S02 = Creation data
Text Symbol: S01 = Organizational data
Text Symbol: L01 = Document
Text Symbol: 002 = ---------- ------------------- --------------- -------------------- ------------
Text Symbol: 001 = Document Posnr CreatOn Cust. Name SubBillP S CreatBy.


INCLUDES used within this REPORT ROGBILLS

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:

RV_CALL_CHANGE_TRANSACTION CALL FUNCTION 'RV_CALL_CHANGE_TRANSACTION' EXPORTING VBELN = XM_VMPGA-VBELN VBTYP = XM_VMPGA-VBTYP.

RV_CALL_CHANGE_TRANSACTION CALL FUNCTION 'RV_CALL_CHANGE_TRANSACTION' EXPORTING VBELN = VBKD-VBELN VBTYP = VBAK-VBTYP.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-W01 TEXTLINE1 = TEXT-W03 TEXTLINE2 = TEXT-W04 IMPORTING ANSWER = CHAR(1).

SD_SALES_DOCUMENT_READ CALL FUNCTION 'SD_SALES_DOCUMENT_READ' EXPORTING DOCUMENT_NUMBER = XM_VMPGA-VBELN.

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 = XM_VMPGA-VBELN I_POSNR = XM_VMPGA-POSNR IMPORTING E_FPLA = FPLA TABLES E_FPLT = IFPLT EXCEPTIONS NO_BILLINGPLAN_ALLOWED = 1 NO_BILLINGPLAN_FOUND = 2 OTHERS = 3.

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 = SY-MSGID MSGNR = SY-MSGNO MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 IMPORTING MESSAGE_TEXT_OUTPUT = NEWS-TEXT.

SD_SALES_BILLINGPLAN_CHANGE CALL FUNCTION 'SD_SALES_BILLINGPLAN_CHANGE' EXPORTING I_VBELN = XM_VMPGA-VBELN I_POSNR = XM_VMPGA-POSNR I_FPLA = FPLA I_CREATE_DATES = 'C' EXCEPTIONS ERROR_MESSAGE = 1 OTHERS = 1.

/SAPHT/DIALOG_SET_NO_DIALOG CALL FUNCTION '/SAPHT/DIALOG_SET_NO_DIALOG'.

SD_SALES_DOCUMENT_SAVE CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.

/SAPHT/DIALOG_SET_WITH_DIALOG CALL FUNCTION '/SAPHT/DIALOG_SET_WITH_DIALOG'.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = 'V1' " SY-MSGID MSGNR = '311' " SY-MSGNO MSGV1 = TEXT-L01 " SY-MSGV1 MSGV2 = XM_VMPGA-VBELN " SY-MSGV2 IMPORTING MESSAGE_TEXT_OUTPUT = NEWS-TEXT.



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 ROGBILLS or its description.