SAP Reports / Programs

SDREBI01 SAP ABAP Report - Retro-billing







SDREBI01 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 SDREBI01 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

VFRB - Retro-billing


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 SDREBI01. "Basic submit
SUBMIT SDREBI01 AND RETURN. "Return to original report after report execution complete
SUBMIT SDREBI01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Retro-billing
Selection Text: S_WAERK = Currency
Selection Text: S_VKORG = Sales organization
Selection Text: S_MATNR = Material
Selection Text: S_KUNRG = Payer
Selection Text: S_KUNAG = Sold-to party
Selection Text: S_KNPRS = Pricing type
Selection Text: P_VALUE = Only With Retro-Billing Value
Selection Text: P_FKDAT = Billing Date Credit/Debit Memo
Selection Text: P_ALLE = Include invoices w/same values
Selection Text: L_FKDAT = Billing date from
Selection Text: H_FKDAT = Billing date to
Title: Retro-billing
Text Symbol: R44 = Caution: Packaging can cause credit memos and debit memos to be split
Text Symbol: R43 = Packaging if Runtime Problems
Text Symbol: R42 = (Max 500)
Text Symbol: R41 = BillDocs per Pack.
Text Symbol: R40 = Runtime Improvement
Text Symbol: R31 = Billed Quantity
Text Symbol: R30 = Retro-billing value
Text Symbol: R29 = Item net value
Text Symbol: R28 = Item
Text Symbol: R27 = Document
Text Symbol: R26 = DTy.
Text Symbol: R25 = Current net value
Text Symbol: R24 = BS
Text Symbol: R23 = Rj
Text Symbol: R22 = Asc
Text Symbol: R21 = Billing date
Text Symbol: R19 = Sold-to party
Text Symbol: R18 = Pricing type
Text Symbol: R17 = Material
Text Symbol: R16 = Sales organization
Text Symbol: R15 = Currency
Text Symbol: R14 = Payer
Text Symbol: R13 = -
Text Symbol: R12 = Billing date


INCLUDES used within this REPORT SDREBI01

INCLUDE RVDIREKT.





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:

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = acc_flag.

ENQUEUE_E_SD_REBI CALL FUNCTION 'ENQUEUE_E_SD_REBI' EXPORTING mode_sdrebienq = 'E' mandt = sy-mandt kunrg = s_kunrg vkorg = s_vkorg EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_E_SD_REBI CALL FUNCTION 'ENQUEUE_E_SD_REBI' EXPORTING mode_sdrebienq = 'E' mandt = sy-mandt kunrg = s_kunrg vkorg = s_vkorg EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

RV_INVOICE_REFRESH CALL FUNCTION 'RV_INVOICE_REFRESH' EXPORTING with_posting = 'F' TABLES xkomfk = xkomfk xkomv = xkomv xthead = xthead xvbfs = xvbfs xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp xvbss = xvbss.

CUD0_CONFIGURATION_INITIALIZER CALL FUNCTION 'CUD0_CONFIGURATION_INITIALIZER'.

RV_INVOICE_DOCUMENT_READ CALL FUNCTION 'RV_INVOICE_DOCUMENT_READ' EXPORTING activity = actvt_01 konv_read = charx no_nast = charx vbrk_i = vbrk IMPORTING vbrk_e = vbrk vbuk_e = vbuk TABLES xkomv = xkomv xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp.

RV_INVOICE_PRICING_PREPARE CALL FUNCTION 'RV_INVOICE_PRICING_PREPARE' EXPORTING vbrk_i = vbrk vbrp_i = vbrp i_xvckey = 'X' IMPORTING komk_e = komk komp_e = komp TABLES xkomfk = xkomfk xvbfs = xvbfs xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp xkomv = xkomv.

PRICING_COMPLETE CALL FUNCTION 'PRICING_COMPLETE' EXPORTING calculation_type = s_knprs TABLES tkomv = xkomv tkomk = xkomk tkomp = xkomp.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'VF' msgnr = '352' IMPORTING message_text_output = wa_protokoll-fehler_text.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING comwa = comwa IMPORTING pawa = pawa EXCEPTIONS OTHERS = 1.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'KNPRS' value = dd07v_wa-domvalue_l langu = sy-langu texts_only = charx IMPORTING dd07v_wa = dd07v_wa EXCEPTIONS OTHERS = 1.

VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING comwa = comwa IMPORTING pawa = pawa EXCEPTIONS OTHERS = 1.



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