2006 Dec 10 6:16 PM
Hi all,
I'm facing the following situation: when i run a call transaction program for VL01:
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
....
CALL TRANSACTION 'VL01N' USING bdcdata MESSAGES into MESSTAB.
sometimes when an item has no stock, i get the error message:
MSGTYP = E
MSGID = VL
MSGNR = 643
MSGV1 = '1'
MSGV2 = 'UN'.
MSGV3 = ''
MSGV4 = ''
the problem: when i compose this message with FM - FORMAT_MESSAGE, i dont get the material code, to wich the loss os stock error referes to, since is not returned from call transaction execution (in messtab). How can i determine to which material code the error refers to ?
As anyone faced the same situation ?
Best regards,
Pedro Castro
If you know the material number which you passed to the BDC, you can simply use that, if you are passing mulitple materials for one call of the BDC, then I don't think you can know which material it is erroring on if the message does not bring it back.
Regards,
RIch Heilman
2006 Dec 10 8:44 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |