12-25-2007 9:41 AM
hallow
i do simple batch input that add system for user in su01
when i follow the process i see that the user get system
but i dont see massege that it happen and i dont now if the process accomplished well,
when i do this process manually i get massege user 00111...
was saved
what can be the problem ?
Regards
12-26-2007 12:34 AM
Hi,
If you run the batch input program thru batch session then you need to go to transaction SM35 to see the messages.
If you run the batch input program thru call transaction, then you need to handle the messages within the program using messages parameter.
DATA: BEGIN OF MESSTAB OCCURS 10.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF MESSTAB.
...
CALL TRANSACTION 'TFCA' USING BDCDATA MODE 'N'
MESSAGES INTO MESSTAB.
LOOP AT MESSTAB.
WRITE: / MESSTAB-TCODE,
MESSTAB-DYNAME,
MESSTAB-DYNUMB,
MESSTAB-MSGTYP,
MESSTAB-MSGSPRA,
MESSTAB-MSGID,
MESSTAB-MSGNR.
ENDLOOP.
...
Regards,
Ferry Lianto
12-26-2007 12:34 AM
Hi,
If you run the batch input program thru batch session then you need to go to transaction SM35 to see the messages.
If you run the batch input program thru call transaction, then you need to handle the messages within the program using messages parameter.
DATA: BEGIN OF MESSTAB OCCURS 10.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF MESSTAB.
...
CALL TRANSACTION 'TFCA' USING BDCDATA MODE 'N'
MESSAGES INTO MESSTAB.
LOOP AT MESSTAB.
WRITE: / MESSTAB-TCODE,
MESSTAB-DYNAME,
MESSTAB-DYNUMB,
MESSTAB-MSGTYP,
MESSTAB-MSGSPRA,
MESSTAB-MSGID,
MESSTAB-MSGNR.
ENDLOOP.
...
Regards,
Ferry Lianto