10-31-2014 6:34 AM
Sap Guru's,
I have created custom idoc. 1. Need help to get error segments at WE05. i.e. When we click on SEGMENT WITH ERRORS push button, Then error segment will show in DATA RECORDS. But for me its not happening.
2. Am not getting expandable option for status code 51, PFB screen for the same.
So please help me to achieve this.
Thank u in advance.
shabs
10-31-2014 6:44 AM
Hi,
Please check if you have passed the errors correctly from the FM.
Check the append of EDIDS.
Regards,
Prakash.
10-31-2014 6:44 AM
Hi,
Please check if you have passed the errors correctly from the FM.
Check the append of EDIDS.
Regards,
Prakash.
10-31-2014 8:23 AM
prakash,
Thanku for ur quick response.
I have passed like below:
<FS_STATUS>-DOCNUM = IDOC_CONTRL-DOCNUM.
<FS_STATUS>-STATUS = '51'.
<FS_STATUS>-MSGTY = 'E'.
<FS_STATUS>-MSGV1 = error message.
<FS_STATUS>-SEGNUM = SEGNUM.
APPEND <FS_STATUS> TO IDOC_STATUS[].
Now am able to get error record info but am not getting expand option for status code 51.
Help me on this.
Shabs
10-31-2014 8:31 AM
In your current code please pass message number as well to for status .
else pass all required fields to status structure BDIDOCSTAT.