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

FOICH001 SAP ABAP INCLUDE - generated







FOICH001 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). It is used for This user exit accumulates the pricing data per condition type and writes it into Table TEMP_CUMPR...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter FOICH001 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 FOICH001. "Basic submit
SUBMIT FOICH001 AND RETURN. "Return to original report after report execution complete
SUBMIT FOICH001 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: generated


INCLUDES used within this REPORT FOICH001

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:

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING GENERAL_READ = 'X' COMM_HEAD_I = OLD_KOMK TABLES TKOMV = OLD_XKOMV EXCEPTIONS OTHERS = 1.

OIA_RV_OIANF_SELECT CALL FUNCTION 'OIA_RV_OIANF_SELECT' EXPORTING COMM_HEAD_I = OLD_KOMK GENERAL_READ = 'X' TABLES TKOMV = OLD_OIAKOMF EXCEPTIONS OTHERS = 1.

OIA_FEE_DETERMINATION CALL FUNCTION 'OIA_FEE_DETERMINATION' EXPORTING CALCULATION_TYPE = 'E' COMM_HEAD_I = CUM_KOMK COMM_ITEM_I = CUM_KOMP IMPORTING COMM_HEAD_E = CUM_KOMK COMM_ITEM_E = CUM_KOMP TABLES TKOMV = TEMP_CUMPR_FEE EXCEPTIONS OTHERS = 1.

PRICING CALL FUNCTION 'PRICING' EXPORTING CALCULATION_TYPE = 'E' COMM_HEAD_I = CUM_KOMK COMM_ITEM_I = CUM_KOMP OIC_NO_READ = 'X' IMPORTING COMM_HEAD_E = CUM_KOMK COMM_ITEM_E = CUM_KOMP TABLES TKOMV = TEMP_CUMPR EXCEPTIONS OTHERS = 1.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = WAERS_NEW_DATE FOREIGN_AMOUNT = KWERT FOREIGN_CURRENCY = WAERS LOCAL_CURRENCY = WAERS_LOCAL RATE = WAERS_NEW_RATE TYPE_OF_RATE = WAERS_NEW_TYPE IMPORTING LOCAL_AMOUNT = KWERT EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 OTHERS = 5.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING DATE = WAERS_NEW_DATE FOREIGN_CURRENCY = WAERS_NEW LOCAL_AMOUNT = KWERT LOCAL_CURRENCY = WAERS_LOCAL RATE = WAERS_NEW_RATE TYPE_OF_RATE = WAERS_NEW_TYPE IMPORTING FOREIGN_AMOUNT = KWERT EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 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 FOICH001 or its description.