Quantcast
Channel: SAP ERP Manufacturing - Production Planning (SAP PP)
Viewing all articles
Browse latest Browse all 87

Program error occurs when TECO a production order in t-cd:CO02

$
0
0

Dear All,

 

Have you ever come across error CO 901, saying "Program error (Contact your system administrator)", when you try to TECO a production order?  If you are using industry solution IS-AFS, the root cause may be that inconsistency exists between table RESB and  J_3ABDSI for the production order, and solution is to run report  J_3ACOBD.

 

Do you want to know how to figure out the the inconsistency data? Here are some debug info about it.

 

SAPLJ3AU                      / LJ3AUF20

FORM            / ORD_PRE_GET_RESB_BT

 

CLEAR  RESB_BT.

READ TABLE  RESB_BT  WITH KEY  RSNUM  =  I_RSNUM     <<< you can check the reservation number and counter here.

                                                              RSPOS   =  I_RSPOS

            BINARY SEARCH


IF SY-SUBRC NE 0.

    SELECT SINGLE  *  FROM  RESB           

           WHERE  RSNUM        =  I_RSNUM           

           AND    RSPOS        =  I_RSPOS           

           AND    RSART        =  '  '.

*  RESB in der DB ebenfalls nicht vorhanden --> Abbruch   

     IF  SY-SUBRC  NE  0.     

           MESSAGE  A901(CO).   

     ENDIF.   

     MOVE-CORRESPONDING  RESB  TO  RESB_BT. 

ENDIF.

 

19                          FORM  ORD_PRE_GET_RESB_BT              SAPLJ3AU

18                          FORM  ORD_PO_PRE_BDSI_PREPARE  SAPLJ3AU

17                          FUNCTION          J_3AU_ORDER_POST_PREPARE                SAPLJ3AU

16                          FUNCTION          CO_BT_ORDER_POST    SAPLCOBT

15                          FUNCTION          CO_BT_ORDER_POST    SAPLCOBT

14                          FORM  ORDER_POST    SAPLCOZV

 

KBA 2159613(Program error occurs when TECO a production order) also describes this.

 

best regards,
Jessica Li


Viewing all articles
Browse latest Browse all 87

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>