Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom idoc segment not in red color in WE05

Former Member
0 Kudos

Hi,

i have a custom idoc for FI posting. Im executing inbound program and getting few errors with status code 51. i can see data and status records in we05 but no segment is in red color. I have 100 segments now how could i check which segment data has error. For other custom Idoc i can see segments in red color if any error. Could anybody please suggest what im missing here.

Thank you

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Since your saying this is custom idoc you need to check the assigned process code (Function Module) and check whether they have handled the exceptions.

Regards,

Srikanth Reddy.

8 REPLIES 8

Former Member
0 Kudos

any update on this? please share.

0 Kudos

Hi,

Please share the screen shot of your problem?

0 Kudos

Hi,

Have you checked status records in WE02 ?

Thanks

Deependra

0 Kudos

Hello Kiran,

Here is the screen shot of WE02. marked Segment is showing in red in one of the message type. but not in message type that im dealing with. my question is : is there any setting in message type or segment type level that would change the segment color depend on whether there is any error or not?

0 Kudos

Hi,

We never check the errors based on the segment level! You have to check the application log! for example double click on the 51, you will see the error log! based on this you can trace the error!

0 Kudos

Hello Kiran,

If we have few 51 status it is ok but what if i have 100s of errors with status 51. i want to check where exactly error is. i can do some debugging or some hit n trial to get correct place but what if user wants to know exact segment. moreover as i showed in screen shot those two segments are in red color so it can be easily identified but in some of the message types im not getting those red colors. Any idea behind those red colors segment? please let me know.

Former Member
0 Kudos

Hi,

Since your saying this is custom idoc you need to check the assigned process code (Function Module) and check whether they have handled the exceptions.

Regards,

Srikanth Reddy.

0 Kudos

Hello Srikanth,

As the status is 51 so Idoc has created successfully and function module will always return 0. function module is calling a BAPI for FB01 transaction and there we have sy-subrc ne 0 but how could i associate this sy-subrc with segment being processed. Anyway, you made a good point and i can see if there is anything inside function module. I will update the thread accordingly.

Thanks for your time.