Application Development and Automation 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: 
Read only

Catch error CALL TRANSACTION

Former Member
0 Likes
532

Hello!

When I use CALL TRANSACTION on mode = 'N' with the transaction F871, the table of messages no returns all the errors.

If a warning error occurs the transaction is aborted and we can't post the document. Do you know how we can do it?

We want post the document although there are warning messages.

Thanks a lot!

3 REPLIES 3
Read only

former_member203501
Active Contributor
0 Likes
477

hi use the function module FORMAT_MESSAGES for catching the messages

use this in addition to the call transaction MESSAGES INTO itab

internal table itab of the type BDCMSGCOLL

Read only

Former Member
Read only

Former Member
0 Likes
477

Try running the CALL TRANSACTION in mode = 'E'.

Usually Warning and Status messages do not cause any issue during posting.

There could be an error. mode = 'E' would help u atleast see whats the reason of the messages.