SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost Planning(CO-PC-PCP) SAP CO

MK70DF90 SAP ABAP INCLUDE - Include: Distribution Form Routines







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


Text pool values


Title: Include: Distribution Form Routines


INCLUDES used within this REPORT MK70DF90

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:

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = DUMMY_MENGE ROUND_SIGN = CHAR_X UNIT_IN = RK70V-RUNIT UNIT_OUT = IUNIT IMPORTING OUTPUT = DUMMY_MENGE EXCEPTIONS CONVERSION_NOT_FOUND = 01.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = PRU_YTD ROUND_SIGN = CHAR_X UNIT_IN = RK70V-RUNIT UNIT_OUT = IUNIT IMPORTING OUTPUT = PRU_YTD EXCEPTIONS CONVERSION_NOT_FOUND = 01.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING FOREIGN_CURRENCY = PRU_UNIT LOCAL_CURRENCY = FG-UNIT FOREIGN_AMOUNT = PRU_YTD DATE = CDATE TYPE_OF_RATE = T820-CUTYP IMPORTING LOCAL_AMOUNT = PRU_YTD.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = START_POSTING ENTRY_TO = HELP_COUNT_POST_ACT LOOPS = KEEP-LOOPC OK_CODE = OK_CODE IMPORTING ENTRY_NEW = START_POSTING.

KKEK_FORMULAS_CALCULATE CALL FUNCTION 'KKEK_FORMULAS_CALCULATE' EXPORTING KHS1_IMP = SAV_KHS1 MESSAGE_ON_SCREEN = CHAR_X KKEA1_IMP = SAV_KKEA1 IMPORTING RC = L_RC TABLES KIS1_IMP = T_WAR_KIS1 KIS1_EXP = T_WAR_KIS1.

KKEK_HEAD_CALCULATE CALL FUNCTION 'KKEK_HEAD_CALCULATE' EXPORTING KHS1_IMP = SAV_KHS1 KKEA1_IMP = SAV_KKEA1 MESSAGE_ON_SCREEN = CHAR_X IMPORTING KHS1_EXP = SAV_KHS1 RC = L_RC TABLES KIS1_IMP = T_WAR_KIS1 EXCEPTIONS OTHERS = 1.

KKEK_UNIT_CONVERSION CALL FUNCTION 'KKEK_UNIT_CONVERSION' EXPORTING PMEHT_IMP = WV_KIS1_PMEHT MEEHT_IMP = WV_KIS1_MEEHT MATNR_IMP = WV_KIS1_MATNR MESSAGE_ON_SCREEN = 'X' IMPORTING MEEHT_DIV_PMEHT_EXP = P_FACTOR * RC = * CHANGING * MENGE_CHG = EXCEPTIONS OTHERS = 1.

KKEK_UNIT_CONVERSION CALL FUNCTION 'KKEK_UNIT_CONVERSION' EXPORTING PMEHT_IMP = DSE_PMEHT MEEHT_IMP = DSE_MEEHT MATNR_IMP = DSE_MATNR MESSAGE_ON_SCREEN = 'X' IMPORTING MEEHT_DIV_PMEHT_EXP = P_FACTOR * RC = * CHANGING * MENGE_CHG = EXCEPTIONS OTHERS = 1.

K_PERIOD_VALUES_READ CALL FUNCTION 'K_PERIOD_VALUES_READ' EXPORTING FEL_LEDNR = RK70K-LEDNR FEL_BWVAR = RK70K-BWVAR FEL_BZOBJ = RK70K-BZOBJ FEL_KADKY = RK70K-KADKY FEL_KALKA = RK70K-KALKA FEL_KALNR = RK70K-KALNR FEL_KKZMA = RK70K-KKZMA FEL_TVERS = RK70K-TVERS TABLES FEL_TAB_CKIP = T_SAV_CKIP.

CONVERSION_EXIT_CUNIT_INPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT' "S11K111134 EXPORTING INPUT = UNIT3 "S11K111134 IMPORTING OUTPUT = UNIT3 "S11K111134 EXCEPTIONS OTHERS = 4. "S11K111134

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' "S11K111134 EXPORTING INPUT = UNIT3 "S11K111134 IMPORTING OUTPUT = UNIT3 "S11K111134 EXCEPTIONS OTHERS = 4. "S11K111134



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 MK70DF90 or its description.