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

Batch input mode problem

Former Member
0 Likes
1,083

Hi all,

When I use the call transaction method in my program using mode 'A', it works well, but it returns error if I run it with mode 'N'.

The return message is of message class 'S' meaning status message. How can I bypass such type of message if I run it with mode 'N' ?

Thanks a lot.

3 REPLIES 3
Read only

Former Member
0 Likes
620

S is for success message.

did u received any erorr message?if so then wht is tht?

Read only

Former Member
0 Likes
620

Hi,

Do not check for sy-subrc after the Call transaction.

Instead check if the BDCMSGCOLL table is empty or has entries after the call transaction.

If it contains rows, then use MESSAGE_BUILD to write the errors.

Regards

Subramanian

Read only

0 Likes
620

The batch input is to call transaction using 'VA42' to change a sales order.

But when it overcomes 'S' type message, it just stops the batch input and returns error in mode 'N'. How can I bypass these types of messages and let the batch input run successfully in mode 'N' ?

Thanks.