Hi everybody,
Do you know if it is possible to call a Z* transaction (that calls program Zxxxxxxx)
and to get back the messages into itab like we do with a standard transaction ?
In the Z* transaction the messages are sent via normal message statement.
Thanks in advance for your answer,
Marie
to store returned messages from transaction in to itab.
use this.:
frst declare this:
DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
and then:
CALL TRANSACTION 'MK01'
USING it_bdcdata
MODE v_mode
MESSAGES INTO messtab.
plz reward points if helps.
regards,
rahul
It is certainly possibly, but as the called program is a Z program, why not modularise the functionality of the transaction into a class or function module. Then you can get the functionality without having the overhead of screen flow.
matt
Add a comment