SAP Reports / Programs

DISPLAY_WIP_OBJ_ML SAP ABAP Report - Display WIP at Actual Costs







DISPLAY_WIP_OBJ_ML is a standard Executable ABAP Report 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 DISPLAY_WIP_OBJ_ML into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

COMLWIPDISP - Trans. For Prog. Display_WIP_OBJ_M


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


Text pool values


Selection Text: GESBER = D Business Area
Selection Text: GJAHR = D Fiscal Year
Selection Text: KUNDAUF = D Sales Order
Selection Text: KUNDPOS = D Sales Order Item
Selection Text: LAYOUT = D Layout
Selection Text: MATART = D Material Type
Selection Text: MATERIAL = D Material Number
Selection Text: PERIOD = D Period
Selection Text: PSPEL = D WBS Element
Selection Text: VALUTYP = D Valuation View
Selection Text: WERK = D Plant
Selection Text: WIP0 = Hide Orders for Which WIP = 0
Selection Text: AUFTRAG = D Order
Selection Text: AUF_ART = D Order Type
Selection Text: BUKRS = D Company Code
Selection Text: BWER_ART = D Valuation Type
Title: Display WIP at Actual Costs
Text Symbol: 015 = Component/Activity Type
Text Symbol: 016 = Current Quantity
Text Symbol: 017 = Quantity: Percentage Change
Text Symbol: 018 = Total Price Diff
Text Symbol: 019 = Display Controlling Area Currency
Text Symbol: 020 = WIP Standard for
Text Symbol: 021 = Plant
Text Symbol: 022 = WIP Price Diff. for
Text Symbol: 023 = WIP Price Differences for
Text Symbol: 024 = Detailed Report: WIP
Text Symbol: 025 = Close Window
Text Symbol: 026 = Detailed Report: ML Price Differences
Text Symbol: 001 = Displayed Currency
Text Symbol: 002 = Detailed Report: WIP
Text Symbol: 003 = WIP Standard
Text Symbol: 004 = WIP Price Diff.
Text Symbol: 005 = Error During Flush of ABAP List Viewer
Text Symbol: 006 = WIP Standard (Total)
Text Symbol: 007 = WIP Standard (Percentage Change)
Text Symbol: 008 = WIP Price Differences (Current)
Text Symbol: 009 = WIP Price Differences Percentage Change





Text Symbol: 010 = WIP Cumulation
Text Symbol: 011 = WIP Percentage
Text Symbol: 012 = Results Analysis Cost Element
Text Symbol: FR2 = Output Options
Text Symbol: FR1 = Parameters
Text Symbol: AKO = Controlling Area Currency
Text Symbol: ABU = Company Code Currency
Text Symbol: 029 = Log
Text Symbol: 028 = Display Company Code Currency
Text Symbol: 027 = Details: ML Price Differences


INCLUDES used within this REPORT DISPLAY_WIP_OBJ_ML

INCLUDE FIELDCAT_DISPLAY_WIP_OBJ_ML.
INCLUDE DISPLAY_WIP_OBJ_ML_VALUTYP.


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:

K_KKB_CURRENCY_TYPE_SWITCH * call function 'K_KKB_CURRENCY_TYPE_SWITCH' * EXPORTING * to_kwaer = swi_kwaer * to_owaer = swi_owaer.

K_KKB_POPUP_TO_SELECT_CURRENCY * call function 'K_KKB_POPUP_TO_SELECT_CURRENCY' * IMPORTING * e_kwaer = swi_kwaer * e_exit = swi_exit. "TODO wie abfragen?

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-005.

KK_F_PKOSA_DISPLAY CALL FUNCTION 'KK_F_PKOSA_DISPLAY' EXPORTING I_PKOSA = ls_objtab_alv_hotspot-aufnr I_MODE = ' ' EXCEPTIONS PKOSA_NOT_OK = 1 OTHERS = 2.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-005.

K_KOKRS_SET call function 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = current_kokrs popup = '0' IMPORTING e_kokrs = current_kokrs EXCEPTIONS not_found = 01.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKMLWIP' MSGNR = '504' MSGTY = 'I' MSGV1 = gs_plants-bwkey.

KKA_CHECK_CC_CURR_IN_OBJ_CURR call function 'KKA_CHECK_CC_CURR_IN_OBJ_CURR' EXPORTING i_co_area = current_kokrs IMPORTING cc_curr_in_obj_curr = gd_cc_curr_in_obj_curr.

K_OBJECT_ID_GET call function 'K_OBJECT_ID_GET' EXPORTING par_objnr = gt_objtab_line-objnr IMPORTING par_objid = gd_objid EXCEPTIONS OTHERS = 1.

K_KKB_TEXT_READ CALL FUNCTION 'K_KKB_TEXT_READ' EXPORTING GTE_FIELD = 'MATNR' GTE_VALUE = gt_objtab_line-matnr GTE_LANGU = sy-langu * I_STRUCTURE = IMPORTING GTE_KTEXT = gd_ktext * GTE_LTEXT = gd_ltext * TABLES * T_KIS1 = * T_ITEMS = EXCEPTIONS OTHERS = 1.

KKA_ABGR_LESEN_SUMMENSAETZE call function 'KKA_ABGR_LESEN_SUMMENSAETZE' EXPORTING kokrs = current_kokrs objnr = gt_objtab_line-objnr versn = ld_versn_obj gjahr = gjahr periode = period TABLES tkkaabgr = lt_tkkaabgr.

KKA_ABGR_LESEN_SUMMENSAETZE call function 'KKA_ABGR_LESEN_SUMMENSAETZE' EXPORTING kokrs = current_kokrs objnr = ls_objtab_alv-objnr versn = ld_versn_obj gjahr = gjahr periode = period TABLES tkkaabgr = it_tkkaabgr.

K_PERIODS_GET





CALL FUNCTION 'K_PERIODS_GET' EXPORTING PAR_IGJAHR = gjahr PAR_IPOPER = period PAR_KOKRS = current_kokrs IMPORTING PAR_LDPER = l_date EXCEPTIONS OTHERS = 1.

RK_KSTAR_READ CALL FUNCTION 'RK_KSTAR_READ' EXPORTING DATUM = l_date KOKRS = current_kokrs KSTAR = gt_detail_obj_tab_line-kstar SPRAS = sy-langu IMPORTING KTEXT = l_text_kstar EXCEPTIONS KSTAR_NOT_FOUND = 0 OTHERS = 0.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-005.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-005.

CO_ML_WIP_DOC_MULTI_1_PER_READ call function 'CO_ML_WIP_DOC_MULTI_1_PER_READ' EXPORTING it_objects = it_objnr id_year = gjahr id_period = period IMPORTING et_wip = lt_et_wip.

CKMLAVR_GET_UNTPER CALL FUNCTION 'CKMLAVR_GET_UNTPER' EXPORTING i_werks = -werks i_perio = period i_gjahr = gjahr i_perio_old = -period i_gjahr_old = -refyear IMPORTING e_untper = in_it_key_mat_line-untper.

CKMLAVR_GET_UNTPER CALL FUNCTION 'CKMLAVR_GET_UNTPER' EXPORTING i_werks = -werks i_perio = period i_gjahr = gjahr i_perio_old = -period i_gjahr_old = -refyear IMPORTING e_untper = in_it_key_act_line-untper.

CKMS_HEADER_READ_WITH_ITAB CALL FUNCTION 'CKMS_HEADER_READ_WITH_ITAB' TABLES in_kalnr = it_kalnr_mat out_ckmlhd = it_out_ckmlhd EXCEPTIONS others = 1.

CKML_LA_HEADER_READ CALL FUNCTION 'CKML_LA_HEADER_READ' TABLES it_kalnr = it_kalnr_act et_ckmllahd = it_et_ckmllahd EXCEPTIONS OTHERS = 1.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKMLWIP' MSGNR = '508' MSGTY = 'E' MSGV1 = is_out_ckmlhd-matnr.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKMLWIP' MSGNR = '509' MSGTY = 'E' MSGV1 = in_it_key_mat_line-kalnr.

K_OBJECT_ID_GET call function 'K_OBJECT_ID_GET' EXPORTING par_objnr = is_et_ckmllahd-objnr IMPORTING par_objid = ld_objid_act EXCEPTIONS WRONG_OBJECT_TYPE = 0 OTHERS = 0.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKMLWIP' MSGNR = '510' MSGTY = 'E' MSGV1 = ld_objid_act.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKMLWIP' MSGNR = '511' MSGTY = 'E' MSGV1 = is_et_ckmllahd-objnr.

CM_F_MESSAGE CALL FUNCTION 'CM_F_MESSAGE' EXPORTING ARBGB = 'CKMLWIP' MSGNR = '512' MSGTY = 'E' MSGV1 = in_it_key_act_line-kalnr.

CKMLWIP_READ_SETTLE CALL FUNCTION 'CKMLWIP_READ_SETTLE' EXPORTING i_bdatj = gjahr i_poper = period i_untper = s_all_settle_docs-untper i_vorgang = 'AB' ir_wipbuffer = o_wipbuffer CHANGING ct_settle_docs = s_all_settle_docs-settle_docs.

K_OBJECT_ID_GET call function 'K_OBJECT_ID_GET' EXPORTING par_objnr = is_et_ckmllahd-objnr IMPORTING par_objid = ld_objid_act EXCEPTIONS WRONG_OBJECT_TYPE = 1 OTHERS = 2.

LVC_TRANSFER_TO_SLIS call function 'LVC_TRANSFER_TO_SLIS' EXPORTING it_fieldcat_lvc = lt_fieldcat_grid_popup is_layout_lvc = lt_layout_grid_popup IMPORTING et_fieldcat_alv = lt_fieldcat_grid_popup_slis es_layout_alv = ls_layout_slis EXCEPTIONS IT_DATA_MISSING = 1 IT_FIELDCAT_LVC_MISSING = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' i_grid_title = title_popup * I_GRID_SETTINGS = is_layout = ls_layout_slis it_fieldcat = lt_fieldcat_grid_popup_slis * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = i_screen_start_column = 3 i_screen_start_line = 3 i_screen_end_column = 130 i_screen_end_line = 10 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = lt_most_detailed_ml_alv EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-005.




REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = ls_variant * I_TABNAME_HEADER = * I_TABNAME_ITEM = * IT_DEFAULT_FIELDCAT = I_SAVE = 'A' * I_DISPLAY_VIA_GRID = ' ' IMPORTING E_EXIT = ld_exit ES_VARIANT = ls_variant_chosen EXCEPTIONS NOT_FOUND = 1 PROGRAM_ERROR = 2 OTHERS = 3.

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING WERK = ls_objtab-werks IMPORTING ORGANISATIONSELEMENTE = is_ckiwerk EXCEPTIONS BUKRS_NOT_FOUND = 1 BWKEY_NOT_FOUND = 2 KOKRS_NOT_FOUND = 3 PLANT_NOT_FOUND = 4 OTHERS = 5.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' EXPORTING titel = g_repid txt2 = sy-subrc txt1 = text-005.

CM_F_INITIALIZE CALL FUNCTION 'CM_F_INITIALIZE' EXPORTING APLID = 'ACT ' OBJECT_ID = 'ACT ' REFRESH_OLD_LOG = 'X'.

TP_VALUATION_AUTHORITY CALL FUNCTION 'TP_VALUATION_AUTHORITY' EXPORTING I_VALUTYP = p_valutyp I_BUKRS = p_bukrs I_ACTVT = '03' IMPORTING E_XAUTH = c_tp_auth EXCEPTIONS KOKRS_FINDING_ERROR = 1 VALUTYP_FINDING_ERROR = 2 INSUFFICIENT_INPUT_FOR_KOKRS = 3 INSUFFICIENT_INPUT_FOR_VALUTYP = 4 ACTIVITY_NOT_ALLOWED = 5 OTHERS = 6.

CM_F_DISPLAY_LOG CALL FUNCTION 'CM_F_DISPLAY_LOG' EXPORTING APLID = 'ACT' EXCEPTIONS OTHERS = 1.

LVC_TRANSFER_TO_SLIS call function 'LVC_TRANSFER_TO_SLIS' EXPORTING it_fieldcat_lvc = gt_fieldcat is_layout_lvc = gs_layout_grid1 IMPORTING et_fieldcat_alv = lt_fieldcat_grid1_slis es_layout_alv = ls_layout_grid1_slis EXCEPTIONS IT_DATA_MISSING = 1 IT_FIELDCAT_LVC_MISSING = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING IS_LAYOUT = ls_layout_grid1_slis IT_FIELDCAT = lt_fieldcat_grid1_slis I_SAVE = gp_save IS_VARIANT = gs_disvariant_grid1 "note 1555867 TABLES T_OUTTAB = gt_objtab_alv EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

CM_F_PROTOCOL_PRINT CALL FUNCTION 'CM_F_PROTOCOL_PRINT' EXPORTING APLID = 'ACT ' EXCEPTIONS OTHERS = 1.

CKMLAVR_SET_ACC_PRINCIPLE CALL FUNCTION 'CKMLAVR_SET_ACC_PRINCIPLE' "Note 1672961 EXPORTING i_valutyp = i_valutyp.

CKMLAVR_SET_ACC_PRINCIPLE CALL FUNCTION 'CKMLAVR_SET_ACC_PRINCIPLE' "Note 1672961 EXPORTING i_valutyp = '0'.



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