Identify the error/erroneous segment number for basic/IDoc type FIDCCP02
I need a solution regarding error/erroneous segment identification for FIDCCP02.
Basically we are having a lot of FIDCCP02's item segment (approximately 1000) for each IDOC. So whenever any error occurs for any kind of data issue in item level, then whoever is analyzing the error IDOC, the person always need to go each and every segment of that IDOC to know the erroneous item.
Like for the status message 'Company code 8072 is not defined', we need to go each segment to identify the particular error item having Company Code = 8072.
So we need to give a solution like:
Either identify the error segment and make it a different color.
Populate a status message with the Segment number.
Please help me in this regard.
Fruitful answer will be highly appreciated.
- Partha S Goswami