SAP Reports / Programs

CO_OCM_OBJECT_LISTH SAP ABAP Report - Order Change Process - Initiating Object







CO_OCM_OBJECT_LISTH 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 CO_OCM_OBJECT_LISTH 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

COCM - OCM - Initiating object


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 CO_OCM_OBJECT_LISTH. "Basic submit
SUBMIT CO_OCM_OBJECT_LISTH AND RETURN. "Return to original report after report execution complete
SUBMIT CO_OCM_OBJECT_LISTH 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: P_AENNR = Change number (Dir.Ass.)
Selection Text: P_ALLRES = All procurement elements
Selection Text: P_CPUDT = Creation Date
Selection Text: P_CPUDTR = Creation Horizon
Selection Text: P_KA = Sales Order
Selection Text: P_KANR = Sales Order
Selection Text: P_KAPOS = Sales Order Item
Selection Text: P_MA = Change Number
Selection Text: P_MANR = Change Number
Selection Text: P_OOR = Purchase Order
Selection Text: P_OPL = Planned Order
Selection Text: P_OPP = Production Order
Selection Text: P_SELID = Status Selection Profile
Selection Text: P_VIEW = Display
Selection Text: R_WERKS = Plant
Title: Order Change Process - Initiating Object
Text Symbol: Q03 = Print View
Text Symbol: Q02 = Change Layout...
Text Symbol: AIE = Display Log
Text Symbol: AID = Process Procurement Element
Text Symbol: AIC = Refresh List
Text Symbol: 084 = Selection:
Text Symbol: 083 = Initiating object / procurement element
Text Symbol: 082 = Item
Text Symbol: 081 = Number
Text Symbol: 080 = Order change process - Initiating object
Text Symbol: 076 = Procurements Elements for Initiating Objects Found
Text Symbol: 075 = Initiating Object - Direct Assignment of Change Numbers to Sales Order
Text Symbol: 074 = Procurement Elements - Purchase Orders
Text Symbol: 073 = Procurement Elements - Planned Orders
Text Symbol: 072 = Procurement Elements - Production Orders
Text Symbol: 071 = Log Overview
Text Symbol: 070 = Pegged Reqmt
Text Symbol: 069 = Initiating Object - Date Change of Change Number
Text Symbol: 068 = Initiating Object - Changed Change Numbers (Late Package)
Text Symbol: 067 = Initiating Object - Released Change Numbers
Text Symbol: 066 = Initiating Obj. - Sales Orders
Text Symbol: Q07 = Save Layout...





Text Symbol: Q08 = Choose Layout...
Text Symbol: Q09 = Maintain Layout...
Text Symbol: Q14 = Find
Text Symbol: Q15 = Print Entire Hierarchy
Text Symbol: Q16 = Print Preview of View
Text Symbol: Q17 = Print Preview of Entire Hierarchy
Text Symbol: QI1 = Search for procurement element
Text Symbol: QI2 = Create Initiating Object
Text Symbol: QI3 = Delete Element
Text Symbol: QI4 = Display Details
Text Symbol: QI5 = Display Object
Text Symbol: QI6 = Expand Display
Text Symbol: QI7 = Compress Display
Text Symbol: QI8 = Select All
Text Symbol: QI9 = Deselect All
Text Symbol: QIA = Sort Ascending
Text Symbol: QIB = Sort Descending
Text Symbol: QID = Refresh List
Text Symbol: QIE = Process procurement element
Text Symbol: QIF = Display Log
Text Symbol: 065 = OCM
Text Symbol: 029 = Date Shift
Text Symbol: 028 = Suppl.
Text Symbol: 027 = RelChang
Text Symbol: 026 = SlsOrdCh
Text Symbol: 025 = SalOrd
Text Symbol: 024 = ChgNo
Text Symbol: 023 = PrOrd
Text Symbol: 022 = Created On
Text Symbol: 021 = DirectAssignment
Text Symbol: 020 = Procurement Element
Text Symbol: 019 = Change Number
Text Symbol: 018 = Sales Order
Text Symbol: 017 = Purchase Order
Text Symbol: 016 = Planned Order
Text Symbol: 015 = Production Order
Text Symbol: 014 = Do you want to delete the selected procurement element from the list?
Text Symbol: 013 = Find procurement elements for the selected initiating objects
Text Symbol: 012 = Refresh





Text Symbol: 011 = Delete procurement elements
Text Symbol: 010 = Do you want to save the changes?
Text Symbol: 009 = Data has been changed
Text Symbol: 008 = Exit
Text Symbol: 007 = Procurement Element:
Text Symbol: 006 = Do you want to delete the selected initiating objects from the list?
Text Symbol: 005 = Initiating object:
Text Symbol: 004 = Do you want to delete the selected initiating object from the list?
Text Symbol: 003 = Delete initiating objects
Text Symbol: 002 = Status Selection Profile
Text Symbol: 001 = Initiating Object
Text Symbol: 064 = There were
Text Symbol: 063 = objects were found
Text Symbol: 062 = Initiating
Text Symbol: 059 = Status
Text Symbol: 056 = Status of processing
Text Symbol: 055 = Not Processed
Text Symbol: 054 = Procurement Elements Searched for
Text Symbol: 053 = Closed
Text Symbol: 052 = ChangeOrig
Text Symbol: 051 = ChckChange
Text Symbol: 050 = FindChange
Text Symbol: 049 = Simul. ord
Text Symbol: 048 = Created By
Text Symbol: 047 = Counter
Text Symbol: 046 = Procurement Elements to be Found
Text Symbol: 045 = No Restriction
Text Symbol: 044 = Display
Text Symbol: 043 = Functions for background processing
Text Symbol: 042 = Selection
Text Symbol: 041 = Only init.objects for which no proc.elements were found
Text Symbol: 040 = Search for Procurement Elements
Text Symbol: 039 = Completed
Text Symbol: 038 = Delete initiating object with no procurement elements
Text Symbol: 037 = Delete initiating objects
Text Symbol: 034 = Procurement Element
Text Symbol: 033 = Init.Object
Text Symbol: 032 = POrd
Text Symbol: 031 = PlOrd



Text Symbol: 030 = Reason


INCLUDES used within this REPORT CO_OCM_OBJECT_LISTH

INCLUDE LCOOCMVAL.
INCLUDE LCOOCMDAT.
INCLUDE COOCMOC01.
INCLUDE COOCMOC02.
INCLUDE LCOOCMF01.
INCLUDE LCOOCMF03.
INCLUDE LCOOCMF04.
INCLUDE LCOOCMF05.
INCLUDE LCOOCMF06.
INCLUDE LCOOCMF07.
INCLUDE LCOOCMF08.
INCLUDE LCOOCMF09.


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:

TZ_SYSTEM_GET_TZONE CALL FUNCTION 'TZ_SYSTEM_GET_TZONE' IMPORTING tzone_system = l_syst_tzone.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = repid i_callback_pf_status_set = list_status i_callback_user_command = g_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_sort = gs_sort[] i_save = g_save i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_fureq t_outtab_item = member_fureq.

CONFIG_DATA_RESET CALL FUNCTION 'CONFIG_DATA_RESET'.

TECHS_DATA_RESET CALL FUNCTION 'TECHS_DATA_RESET'.

CO_OCM_OBJECT_DETAILS CALL FUNCTION 'CO_OCM_OBJECT_DETAILS' EXPORTING detail_fl = space focm = i_funrec EXCEPTIONS not_found = 1 OTHERS = 2.

CO_OCM_OBJECT_DETAILS CALL FUNCTION 'CO_OCM_OBJECT_DETAILS' EXPORTING detail_fl = det_fl focm = i_funrec EXCEPTIONS not_found = 1 OTHERS = 2.

CO_OCM_OBJECT_DETAILS CALL FUNCTION 'CO_OCM_OBJECT_DETAILS' EXPORTING detail_fl = det_fl focm = i_funrec EXCEPTIONS not_found = 1 OTHERS = 2.

CO_OCO_CHANGE_OBJECTS_DELETE CALL FUNCTION 'CO_OCO_CHANGE_OBJECTS_DELETE' EXPORTING compnum_imp = del_fureq-compnum.

CO_OCM_DEL_SIM_ORDER_FROM_DB CALL FUNCTION 'CO_OCM_DEL_SIM_ORDER_FROM_DB' EXPORTING aufnr_imp = del_fureq-aufnr vsnmr_imp = del_fureq-vsnmr EXCEPTIONS order_not_found = 1 OTHERS = 2.

ENQUEUE_EFUNREQ CALL FUNCTION 'ENQUEUE_EFUNREQ' EXPORTING mode_funreq = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_2 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFUNREQ CALL FUNCTION 'DEQUEUE_EFUNREQ' EXPORTING mode_funreq = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_3.

ENQUEUE_EFUNREQ CALL FUNCTION 'ENQUEUE_EFUNREQ' EXPORTING mode_funreq = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_2 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFUNREQ CALL FUNCTION 'DEQUEUE_EFUNREQ' EXPORTING mode_funreq = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_3.

ENQUEUE_E_FUNOCM CALL FUNCTION 'ENQUEUE_E_FUNOCM' EXPORTING mode_funocm = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_2 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_FUNOCM CALL FUNCTION 'DEQUEUE_E_FUNOCM' EXPORTING mode_funocm = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_3.

ENQUEUE_E_FUNOCM CALL FUNCTION 'ENQUEUE_E_FUNOCM' EXPORTING mode_funocm = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_2 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_FUNOCM CALL FUNCTION 'DEQUEUE_E_FUNOCM' EXPORTING mode_funocm = g_e mandt = sy-mandt funct = funct obart = obart objnr = objnr counter = counter _scope = g_3.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = text-003 textline1 = text textline2 = text-004 IMPORTING answer = answer.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = text-011 textline1 = text textline2 = text-014 IMPORTING answer = answer.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = text-003 textline1 = text-006 IMPORTING answer = answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-008 textline1 = text-009 textline2 = text-010 IMPORTING answer = answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-012 textline1 = text-009 textline2 = text-010 IMPORTING answer = answer.

ENQUEUE_EVVBAKE CALL FUNCTION 'ENQUEUE_EVVBAKE' EXPORTING mode_vbak = 'E' mandt = sy-mandt vbeln = vbeln _scope = g_2 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

TECHS_DATA_RESET CALL FUNCTION 'TECHS_DATA_RESET'.

TECHS_CREATE CALL FUNCTION 'TECHS_CREATE' EXPORTING nur_vorgaben = g_x hdm = g_x IMPORTING ocm_vorgabe = gs_dir_alloc CHANGING techs = techs EXCEPTIONS no_data_found = 1 exit_in_dynpro = 2 wrong_format_in_input = 3 OTHERS = 4.

TECHS_CHANGE CALL FUNCTION 'TECHS_CHANGE' EXPORTING nur_vorgaben = g_x hdm = g_x IMPORTING ocm_vorgabe = gs_dir_alloc CHANGING techs = techs EXCEPTIONS no_data_found = 1 exit_in_dynpro = 2 wrong_format_in_input = 3 OTHERS = 4.

TECHS_RENAME CALL FUNCTION 'TECHS_RENAME' CHANGING techs = gt_fureq-direct EXCEPTIONS wrong_input = 1 OTHERS = 2.

DEQUEUE_EVVBAKE CALL FUNCTION 'DEQUEUE_EVVBAKE' EXPORTING mode_vbak = g_e mandt = sy-mandt vbeln = vbeln _scope = g_3.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = gt_fureq-log_handle EXCEPTIONS log_not_found = 1.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = gt_fureq-log_handle EXCEPTIONS log_not_found = 1.

CO_OCM_OBJECT_DETAILS CALL FUNCTION 'CO_OCM_OBJECT_DETAILS' EXPORTING detail_fl = detail_fl focm = i_funrec EXCEPTIONS not_found = 1 OTHERS = 2.



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