SAP Reports / Programs | Sales and Distribution | Billing(SD-BIL) SAP SD

RVSDBILL SAP ABAP Report - RVSDBILL: Sample Report for Billing Interface







RVSDBILL 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 RVSDBILL 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 RVSDBILL. "Basic submit
SUBMIT RVSDBILL AND RETURN. "Return to original report after report execution complete
SUBMIT RVSDBILL 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: E_VBELN = Preceding Document
Title: RVSDBILL: Sample Report for Billing Interface
Text Symbol: 001 = Collective Run No. :
Text Symbol: 002 = No.of error notes
Text Symbol: 003 = No.of billing docs.


INCLUDES used within this REPORT RVSDBILL

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:

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = tvsa-numki object = 'RV_SAMMG' IMPORTING number = rv50s-sammg.

GN_INVOICE_CREATE CALL FUNCTION 'GN_INVOICE_CREATE' EXPORTING * DELIVERY_DATE = SY-DATUM * INVOICE_DATE = SY-DATUM * INVOICE_TYPE = LIKP-FKARV * PRICING_DATE = SY-DATUM vbsk_i = vbsk with_posting = 'B' id_no_dialog = 'X' IMPORTING vbsk_e = vbsk TABLES xkomfkgn = xkomfkgn xkomfkko = xkomfkko xkomfk = xkomfk xkomv = xkomv xthead = xthead xvbfs = xvbfs xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp xvbss = xvbss.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = is_log IMPORTING e_log_handle = xs_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = gs_log_handle i_msgty = gc_info i_probclass = gc_probclass i_text = iv_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = is_display_profile i_t_log_handle = lv_log_handle EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_display_profile = is_display_profile i_t_log_handle = lv_log_handle EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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