2007 Oct 18 6:11 AM
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.
2007 Oct 18 6:17 AM
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
2007 Oct 18 6:46 AM
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