Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

need batch inpit help

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

you have to check the error log details to check whether session has been successfully completed.

Thanks

ANUPAM

ferry_lianto
Active Contributor
0 Kudos

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

0 Kudos

hi ferry

i solved it in radio button i mark the commit

thanks

regards