/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
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.
Title: Correction of Pricing in Reversal Documents (empty KONV)
INCLUDE VBRKDATA.
INCLUDE VBUKDATA.
INCLUDE VBRPDATA.
INCLUDE KONVDATA.
INCLUDE VBPADATA.
INCLUDE THEADDAT.
INCLUDE VBFSDATA.
INCLUDE RVVBTYP.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/NFM/COR_KONS - Correction of Pricing in Reversal Documents (empty KONV) /NFM/COR_KONS - Correction of Pricing in Reversal Documents (empty KONV) /NFM/COR_KONF - Correction Program for Table KONV /NFM/COR_KONF - Correction Program for Table KONV /NFM/CORRECT_NKS - Correction of Rate for Conversion of Rates to Local Currency /NFM/CORRECT_NKS - Correction of Rate for Conversion of Rates to Local Currency