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
Below is a list of transaction codes which are relevant to this SAP report
VBSY - Billing Plan Synchronization
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: 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROGBILLS - Synchronize billing plans ROGBILLS - Synchronize billing plans ROEMPROACT2 - Data Transfer for Contract Manufacturing (Own Data) ROEMPROACT2 - Data Transfer for Contract Manufacturing (Own Data) ROEMPROACT - Data Transfer for Contract Manufacturing (Customer) ROEMPROACT - Data Transfer for Contract Manufacturing (Customer)