07-17-2006 1:21 PM
When IDOC_INPUT_ORDERS returns STATUS 51, Application Error, you would like to know which segment (hundreds of them)caused the error. WE05 shows only status text. Does someone know how to solve this e.g. as a report.
07-17-2006 1:26 PM
When you look at the status of the IDOC in WE02 it should explain the error happened. or you can look at EDIDS table.
Regards,
Ravi
Note : Please mark all the helpful answers
07-17-2006 1:26 PM
Hi,
Click on the IDOC and select the error segments from the edit menu 'segments with errors'.
in this way you can find the error segments.
Regards
Appana
07-17-2006 1:28 PM
Hey,
To identify the segments in error the inbound processing application has to update the SEGNUM and SEGFLD fields in the IDOC_STATUS structure.
May be these fields are not updated by the function IDOC_INPUT_ORDERS. If these fields were updated the segments with errors would be displayed in RED in WE02/WE05.
-Kiran
07-17-2006 1:33 PM
Hi,
I feel that you need the information that IDoc has caused the error. Just click on status 51 and go to menu status record-> Error long text. This will detail information why this document is not posted.
Rgds,
Dinu..
07-17-2006 2:04 PM
Thank you all four for your rapid answers.
But still I do not know how to make the inbound processing application to update the SEGNUM or should VA01 be simulated or is there some smarter solution.
Yours Rainer
07-17-2006 2:09 PM
Hey,
See if you can make use of the user exit EXIT_SAPLVEDA_010 to poulate the SEGNUM field . This exit is called in the function IDOC_INPUT_ORDERS.
-Kiran
07-17-2006 2:09 PM
In your IDOC Processing program wherever the status of the IDOC being updated, you need to update the SEGNUM.
Search where either a call is being made IDOCSTATUSUPDATE function or search for EDIDS structure in the processing program.
You need to change the program there.
Regards,
Ravi
Note : Please mark all the helpful answers
07-17-2006 2:10 PM
Hi,
After the error has been rectified , go to BD87 transaction code , click on the error IDoc which is already created and click on process button on the application toolbar.
If your problem is not sloved , give me more details on it