FOICH002 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 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 FOICH002 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: accumulation exit 002
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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 IMPORTING COMM_HEAD_E = CUM_KOMK COMM_ITEM_E = CUM_KOMP TABLES TKOMV = TEMP_CUMPR EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.