SAP Reports / Programs | Marketing, Accounting and Pricing | Industry Solution Oil | Marketing, Accounting and Pricing(IS-OIL-DS-MAP) SAP IS

OI_LV60AFOI_OIC_CALC_DIFFERE04 SAP ABAP INCLUDE - Oil-include: MAP FORM-routine







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


INCLUDES used within this REPORT OI_LV60AFOI_OIC_CALC_DIFFERE04

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:

OIC_ACCUM_REF_PRICING CALL FUNCTION 'OIC_ACCUM_REF_PRICING' 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 vbtyp_new = vbrk-vbtyp ref_doc_number = vbrp-vgbel ref_doc_item = vbrp-vgpos doc_number_to = beleg doc_item_to = xposnr billing_type = tvfk comm_head_i = tkomk comm_item_i = tkomp ref_billing_date = vbrk-erdat "SO6K007922 Dasr ref_billing_time = vbrk-erzet "SO6K007922 Dasr IMPORTING acc_status = acc_status comm_item_e = tkomp TABLES XCUMPR_FEE = XCUMPR_FEE XCUMPR = XCUMPR xvbfs = xvbfs * XKOMFK = XKOMFK EXCEPTIONS OTHERS = 1.

OIC_CALC_DIFFERENTIAL CALL FUNCTION 'OIC_CALC_DIFFERENTIAL' EXPORTING oic_knumv = beleg oic_kposn = xposnr TABLES xoic_komv = xoic_komv XCUMPR = XCUMPR xdiffpr = xkomv * XOICQ7 = XOICQ7 EXCEPTIONS OTHERS = 1.

PRICING CALL FUNCTION 'PRICING' EXPORTING calculation_type = 'E' comm_head_i = tkomk comm_item_i = tkomp IMPORTING comm_head_e = tkomk comm_item_e = tkomp TABLES tkomv = xkomv XOICQ7 = XOICQ7 XOICQ8 = XOICQ8 XOICQ9 = XOICQ9 XOICINT_CAL = XOICINT_CAL EXCEPTIONS OTHERS = 1.

OIC_CALC_DIFFERENTIAL CALL FUNCTION 'OIC_CALC_DIFFERENTIAL' EXPORTING oic_knumv = beleg oic_kposn = xposnr TABLES xoic_komv = xoic_komf XCUMPR = XCUMPR_FEE xdiffpr = oia_komf * XOICQ7 = XOICQ7 EXCEPTIONS OTHERS = 1.

OIA_FEE_DETERMINATION CALL FUNCTION 'OIA_FEE_DETERMINATION' EXPORTING calculation_type = 'E' comm_head_i = tkomk comm_item_i = tkomp IMPORTING comm_head_e = tkomk comm_item_e = tkomp TABLES tkomv = oia_komf 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 OI_LV60AFOI_OIC_CALC_DIFFERE04 or its description.