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: 

Reg: Change in Colour to Segment if idoc failed with Error

Former Member
0 Kudos
646

Hi all

How can I change the colour to segment.... if idoc failed with error ??

for example

i am posting inbound idoc ....(15 segments in idoc) .. there is an error in one of the segment say 10th segment... and idoc got failed with error 51 status... now

when i open idoc in we02.....when i drill down the data record then i want to see the Red colour to the segment which had error... can some help me on this.....

Ramesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos
162

Hi,

Try this.

Whenenver u populate the idoc status, there will field named 'SEGNUM' in the structure BDIDOCSTAT. When u give the segnum value that particular segment will appear in red color indicating the error segment.

Regards,

Sharin.

4 REPLIES 4

Former Member
0 Kudos
162

Are you using a Custom Idoc generated by you?

What is the message type?

As far as I know, when a Standard Idoc fails it automatically shows the segment in a different color showing that it is the place where the error occured.

Former Member
0 Kudos
162

sorry it is not possible. But u will get the segment name in error message in status record

regards,

madan gopal

Former Member
0 Kudos
163

Hi,

Try this.

Whenenver u populate the idoc status, there will field named 'SEGNUM' in the structure BDIDOCSTAT. When u give the segnum value that particular segment will appear in red color indicating the error segment.

Regards,

Sharin.

Former Member
0 Kudos
162

help full answer....