SAP Reports / Programs | Controlling | Overhead Cost Controlling | Overhead Cost Orders(CO-OM-OPA) SAP CO

MKAUFO01_D650_INIT SAP ABAP INCLUDE - MKAUFO01D650INIT







MKAUFO01_D650_INIT 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 MKAUFO01_D650_INIT 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 MKAUFO01_D650_INIT. "Basic submit
SUBMIT MKAUFO01_D650_INIT AND RETURN. "Return to original report after report execution complete
SUBMIT MKAUFO01_D650_INIT 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 MKAUFO01_D650_INIT

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:

KAUF_ORDER_RESET CALL FUNCTION 'KAUF_ORDER_RESET' EXPORTING i_aufnr = wl_aufnr-aufnr EXCEPTIONS order_not_in_buffer = 1 illegal_input = 2 OTHERS = 3.

K_ORDER_SELECTION_SET_KOKRS CALL FUNCTION 'K_ORDER_SELECTION_SET_KOKRS' "Hw411765 EXPORTING i_kokrs = coas-kokrs .

K_KOKRS_SET * CALL FUNCTION 'K_KOKRS_SET' * IMPORTING * e_kokrs = coas-kokrs * EXCEPTIONS * OTHERS = 1.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' "reads last selection IMPORTING act_plvar = ld_plvar EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING e_kokrs = coas-kokrs EXCEPTIONS OTHERS = 1.

KAUF_ORDER_READ CALL FUNCTION 'KAUF_ORDER_READ' EXPORTING i_actvt = mkauf_modus i_aufnr = coas-aufnr i_autyp_erl = autyp_erl i_coas = *coas i_afko = afko i_afpo = afpo IMPORTING e_afko = afko e_afpo = afpo e_coas = coas e_kauf = kauf EXCEPTIONS auart_not_found = 1 foreign_lock = 2 no_authority = 3 order_not_found = 4 order_type_not_valid = 5 wrong_input = 6 logsystem_inconsistent = 7 error_message = 8 OTHERS = 9.

KAUF_ORDER_RESET CALL FUNCTION 'KAUF_ORDER_RESET' EXPORTING i_aufnr = coas-aufnr EXCEPTIONS order_not_in_buffer = 0 "should not be a problem illegal_input = 2 OTHERS = 3.

KAUF_ORDER_RESET CALL FUNCTION 'KAUF_ORDER_RESET' EXPORTING i_aufnr = coas-aufnr * "Hw562515 >> EXCEPTIONS order_not_in_buffer = 1 illegal_input = 2 OTHERS = 3.

KAUF_ORDER_RESET CALL FUNCTION 'KAUF_ORDER_RESET' EXPORTING i_index = kauf-auf_index EXCEPTIONS order_not_in_buffer = 1 illegal_input = 2 OTHERS = 3.

K_ORDER_SELECTION_DIALOG CALL FUNCTION 'K_ORDER_SELECTION_DIALOG' EXPORTING init = ' ' IMPORTING variant = codia-variant EXCEPTIONS dialog_cancelled = 1 OTHERS = 2.

RS_VARIANT_CHANGE CALL FUNCTION 'RS_VARIANT_CHANGE' EXPORTING report = 'RKOSEL00' variant = codia-variant EXCEPTIONS not_authorized = 1 not_executed = 2 no_report = 3 report_not_existent = 4 report_not_supplied = 5 variant_locked = 6 variant_not_existent = 7 variant_protected = 8 OTHERS = 9.

RS_VARIANT_DISPLAY CALL FUNCTION 'RS_VARIANT_DISPLAY' EXPORTING report = 'RKOSEL00' variant = codia-variant EXCEPTIONS no_report = 1 report_not_existent = 2 report_not_supplied = 3 variant_not_existent = 4 variant_not_supplied = 5 variant_protected = 6 OTHERS = 7.



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