Application Development and Automation 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: 
Read only

IDOC Status message

Former Member
0 Likes
855

HI

I have to pick IDOC status message in my report program. For this I am referring the table EDIDS. My doubt is some times the IDOC status message is storing in the field ‘STATXT’ and some times the idoc status message is storing in the fields STAPA1, STAPA2, STAPA3,STAPA4. How come I know I mean from which field I need to pick status message in my report program. I am giving idoc number as input to the table EDIDS. If possible please send me the sample code to resolve this problem. I will give points.

Thanks a lot in advance.

HI

I have to pick IDOC status message in my report program. For this I am referring the table EDIDS. My doubt is some times the IDOC status message is storing in the field ‘STATXT’ and some times the idoc status message is storing in the fields STAPA1, STAPA2, STAPA3,STAPA4. How come I know I mean from which field I need to pick status message in my report program. I am giving idoc number as input to the table EDIDS. If possible please send me the sample code to resolve this problem. I will give points.

Thanks a lot in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
721

Hi,

STAPA1, 2, 3 & 4 are the place holder values for the message..

If you have a message in SE91..like

Sales order & created.

The & will be given in the program where it displays the message.

MESSAGE s208(00) WITH vbak-vbeln.

The vbak-vbeln value will be stored in field STAPA1.

Thanks

Naren

Read only

h_senden2
Active Contributor
0 Likes
721

I normally use function module MESSAGE_TEXT_BUILD to determine the message from the message id, number and 0,1,2,3 or 4 parameters.

regards,

Hans