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

MKAUF_WEB_FORMS_DISPLAY SAP ABAP INCLUDE - MKAUFWEBFORMSDISPLAY







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

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_READ CALL FUNCTION 'KAUF_ORDER_READ' EXPORTING i_actvt = '03' i_aufnr = order_master-orderid * I_AUTYP_ERL = ' ' * I_COAS = ' ' * I_ENQUEUED = ' ' * I_INDEX = 0 * I_AFKO = * I_AFPO = * I_COSTS_EXIST = IMPORTING e_afko = afko e_afpo = afpo e_coas = coas e_kauf = kauf * E_COAS_OLD = " nicht lesen ?? 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 OTHERS = 8 .

FUNC_AREA_CONVERSION_INBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_INBOUND' EXPORTING i_func_area = order_master-func_area i_func_area_long = order_master-func_area_long IMPORTING e_func_area_long = order_master-func_area_long.

STATUS_TEXT_EDIT_LONG CALL FUNCTION 'STATUS_TEXT_EDIT_LONG' EXPORTING flg_user_stat = on objnr = order_master-objnbr spras = sy-langu IMPORTING anw_stat_existing = varc1 e_stsma = kauf-par_stsma * line = order_master-syst_status " Length: 40 * user_line = order_master-user_status " Length: 40 stonr = gd_stonr "Ablös. alte SV

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_PREVIOUS_VALUE' text = space info = q_info1 IMPORTING RESULT = button_status_down.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_NEXT_VALUE' text = b_text info = q_info2 IMPORTING RESULT = button_status_up.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = order_master-co_area IMPORTING e_tka01 = tka01 EXCEPTIONS not_found = 01.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = tdid language = sy-langu object = tdobject name = tdname IMPORTING header = thead TABLES lines = tlinetab EXCEPTIONS not_found = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'CI_AUFK' langu = sy-langu TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 2.

MAP2I_BAPI2075_MASTERD_TO_AUFK * CALL FUNCTION 'MAP2I_BAPI2075_MASTERD_TO_AUFK' * following data are NOT to be changed * ==================================== * order category - Auftragstyp MOVE order_master-order_catg TO aufk-autyp . " AUFTYP

FUNC_AREA_CONVERSION_INBOUND CALL FUNCTION 'FUNC_AREA_CONVERSION_INBOUND' EXPORTING i_func_area = order_master-func_area i_func_area_long = order_master-func_area_long IMPORTING e_func_area_long = aufk-func_area. " FKBER

CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'CURRENCY_CODE_ISO_TO_SAP' EXPORTING iso_code = order_master-iso_code IMPORTING sap_code = aufk-waers EXCEPTIONS not_found = 1 OTHERS = 2.

PSPNUM_EXTERN_TO_INTERN_CONV CALL FUNCTION 'PSPNUM_EXTERN_TO_INTERN_CONV' EXPORTING ext_num = order_master-wbs_element IMPORTING int_num = aufk-pspel EXCEPTIONS not_found = 1 OTHERS = 2.

CURRENCY_AMOUNT_BAPI_TO_SAP CALL FUNCTION 'CURRENCY_AMOUNT_BAPI_TO_SAP' EXPORTING currency = aufk-waers bapi_amount = order_master-estimated_costs IMPORTING sap_amount = tmp_amount EXCEPTIONS bapi_amount_incorrect = 1 OTHERS = 2.

ISR_CALL_FOR_CREATE CALL FUNCTION 'ISR_CALL_FOR_CREATE' EXPORTING id_scenario = 'SOR1' it_call_parameters = lt_special_data id_testmode = ' ' EXCEPTIONS scenario_not_found = 1 scenario_not_active = 2 browser_error = 3 too_many_call_parameters = 4 OTHERS = 5.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-010 textline1 = text-006 textline2 = text-007 IMPORTING answer = answer.

KAUF_GET_CHANGE_FLAG CALL FUNCTION 'KAUF_GET_CHANGE_FLAG' IMPORTING e_change_flag = l_change_flag.

KAUF_ORDER_READ CALL FUNCTION 'KAUF_ORDER_READ' EXPORTING i_actvt = '03' i_aufnr = order_master-orderid * I_AUTYP_ERL = ' ' * I_COAS = ' ' * I_ENQUEUED = ' ' * I_INDEX = 0 * I_AFKO = * I_AFPO = * I_COSTS_EXIST = IMPORTING * e_afko = afko * e_afpo = afpo * e_coas = coas * e_kauf = kauf e_coas_old = l_coas_old 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 OTHERS = 8 .

MAP2E_COAS_TO_BAPI2075_MASTERD CALL FUNCTION 'MAP2E_COAS_TO_BAPI2075_MASTERD' EXPORTING coas = coas CHANGING bapi2075_masterdata_ale = l_bapi2075_masterdata_ale EXCEPTIONS error_converting_keys = 1 error_converting_curr_amount = 2 OTHERS = 3.

READ_TEXT





CALL FUNCTION 'READ_TEXT' EXPORTING id = tdid "'LTXT' language = sy-langu object = tdobject "'AUFK' name = tdname IMPORTING header = thead TABLES lines = tlinetab EXCEPTIONS not_found = 1.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING language = sy-langu object = tdobject id = tdid name = tdname IMPORTING header = thead TABLES lines = tlinetab.

MAP2E_COAS_TO_BAPI2075_MASTERD CALL FUNCTION 'MAP2E_COAS_TO_BAPI2075_MASTERD' EXPORTING coas = coas CHANGING bapi2075_masterdata_ale = l_bapi2075_masterdata_ale EXCEPTIONS error_converting_keys = 1 error_converting_curr_amount = 2 OTHERS = 3.



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