cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

An error occurred while operating a TECO production order using T-Code CO02 or COHV

CHINASUPPORT
Newcomer
0 Likes
242

Subject: [SAP System] Error Report - [Short Dump ID] Dear SAP Support, I am experiencing an issue in our SAP system that I have been unable to resolve. Below is the information requested for your assistance:

1. **Short Dump Description:** - [The production order status cannot be reversed due to the change of the factory in the middle of the sales demand transmission]

CHINASUPPORT_1-1739438481331.png

 

2. **System Log:** - [Attach the saved system log file here]

CHINASUPPORT_0-1739438171201.png

3. **Source Code:** - [* step 6: Umsetzung in externes Format
  PERFORM com2_convert_instances_int_ext
   USING l_ibinwa_tab l_instance_tab2.

* step 5: read the structure
  LOOP AT l_instance_tab2 ASSIGNING <rec>.
    MOVE <rec>-instance TO l_instno_rec-instance.
    REFRESH l_instno_tab.
    INSERT l_instno_rec INTO TABLE l_instno_tab.

    create object lr_container.
    call method c_wa-r_engine->struc->read_level
      exporting
        i_ibase        <rec>-com-ibase
                i_valfr        l_sel_rec-p_valfr
                i_valto        l_sel_rec-p_valto
                i_sort         ibxx_false
                i_par          l_par
                i_instance_tab l_instno_tab
        ir_container   lr_container.

    read table lr_container->gt_ibst into ls_ibst index 1.
    if sy-subrc is initial and ls_ibst-ibst-instance <rec>-instance.
      read table lr_container->gth_ibstref into ls_ibstref with table key ibstref-st_recno ls_ibst-ibst-st_recno.
      if sy-subrc is not initialclear ls_ibstrefendif.
      perform com2_add_structure_data_det using <rec> ls_ibst ls_ibstref.
    ELSE.
      MESSAGE x096(iq).
    ENDIF.
]

4. **Error Conditions:**

- The error occurred under the following conditions: - [The sales demand transfer factory was changed from A to B]

- The error was caused by the following actions and inputs: - [An error occurred while operating a TECO production order using T-Code CO02 or COHV]

Please let me know if you need any additional information. Best regards, [wu] 

Accepted Solutions (0)

Answers (0)