2010 Apr 06 8:37 PM
Hi,
Is it possible to find out the idocs using status message?
For example, I need the idocs example in test system which has error message "Vendor & is not defined in company code &"
How to search idocs using error message?
Thanks for your help.
Regards,
Yogita
Hi,
Is it possible to find out the idocs using status message?
For example, I need the idocs example in test system which has error message "Vendor & is not defined in company code &"
How to search idocs using error message?
Thanks for your help.
Regards,
Yogita
2010 Apr 06 9:33 PM
Hello Yogita
You have to select within table EDIDS directly:
Example:
STATXT = Item &: Only &2 &3 from material &4 are available
STAPA1 = syst-MSGV1
STAPA2 = syst-MSGV2
STAPA3 = syst-MSGV3
STAPA4 = syst-MSGV4
STATYP = syst-msgty (E, W, I, S, A)
STAMID = syst-msgid
STAMNO = syst-msgno
Regards
Uwe
2010 Apr 07 5:45 AM
Try this
select <required fields> from edids
where statxt = "Vendor & is not defined in company code &"
and <additional conditions>Regards
Vinod
2010 Apr 07 5:54 AM
Hi Yogita,
The fields STATP, STAMID and STAMNO contains the message type, message id and message number of the error message in STATXT. Go to SE16 and give the error message in STATXT and get the values in fields STATP, STAMID and STAMNO.
Then, from your program SELECT DOCNUM ...FROM EDIDS WHERE STATP EQ... AND STAMID EQ... AND STAMNO EQ...and get the IDoc numbers.
Regards,
Santosh Kacham
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |