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: 

IDOC Status message

Former Member
0 Kudos
251

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

Former Member
0 Kudos
117

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

h_senden2
Active Contributor
0 Kudos
117

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