SAP Reports / Programs | Non-Ferrous Metal enhancements | Mill Products Industry Solution | Non-Ferrous Metal enhancements(IS-MP-NF) SAP IS

/NFM/COR_KONS SAP ABAP Report - Correction of Pricing in Reversal Documents (empty KONV)







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


Text pool values


Title: Correction of Pricing in Reversal Documents (empty KONV)


INCLUDES used within this REPORT /NFM/COR_KONS

INCLUDE VBRKDATA.
INCLUDE VBUKDATA.
INCLUDE VBRPDATA.
INCLUDE KONVDATA.
INCLUDE VBPADATA.
INCLUDE THEADDAT.
INCLUDE VBFSDATA.
INCLUDE RVVBTYP.


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_INVOICE_REFRESH call function 'RV_INVOICE_REFRESH' exporting with_posting = 'C' tables xkomfk = xkomfk xkomv = xkomv xthead = xthead xvbfs = xvbfs xvbss = xvbss xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp.

RV_INVOICE_DOCUMENT_READ call function 'RV_INVOICE_DOCUMENT_READ' exporting vbrk_i = vbrk activity = '02' "ACTVT_CHANGE konv_read = 'X' importing vbrk_e = vbrk vbuk_e = vbuk tables xkomfk = xkomfk xvbrk = xvbrk xvbrp = xvbrp xvbpa = xvbpa xkomv = xkomv exceptions error_message = 4 others = 4.

PRICING_COPY call function 'PRICING_COPY' exporting currency_new = vbrk-waerk currency_new_date = vbrk-fkdat currency_new_local = t001-waers currency_new_rate = vbrk-kurrf currency_new_type = vbrk-kurst currency_old = tvbrk-waerk vbtyp_new = vbrk-vbtyp document_number_from = tvbrk-knumv document_number_to = vbrk-knumv item_number_from = xvbrp-posnr item_number_to = xvbrp-posnr mode = pr1 quantity_new = vbrp-fklmg quantity_old = vbrp-lmeng * ORDER_NUMBER = VBAK-VBELN tables tkomv = xkomv.

RV_INVOICE_DOCUMENT_UPDATE call function 'RV_INVOICE_DOCUMENT_UPDATE' exporting vbsk_i = vbsk pricing_type = pr2 importing vbsk_e = vbsk tables xkomfk = xkomfk xkomk = tkomk xkomp = tkomp xkomv = xkomv xthead = xthead xvbfs = xvbfs xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp xvbss = xvbss exceptions others = 1.

RV_INVOICE_HEAD_MAINTAIN call function 'RV_INVOICE_HEAD_MAINTAIN' exporting vbrk_i = vbrk tables xkomfk = xkomfk xthead = xthead xvbfs = xvbfs xvbss = xvbss xvbrk = xvbrk xvbrp = xvbrp xvbpa = xvbpa xkomv = xkomv.



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 /NFM/COR_KONS or its description.