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

Abort processing when error encountered in CALL TRANSACTION

Former Member
0 Likes
1,160

Is there a way to abort transaction in CALL TRANSACTION <tcode> USING <bdcdata> when an error has encountered?

If there is, what should it be?

Is there a way to abort transaction in CALL TRANSACTION <tcode> USING <bdcdata> when an error has encountered?

If there is, what should it be?

7 REPLIES 7
Read only

Former Member
0 Likes
1,083

HI

Once the error occurs Call transaction method stops itself .

Regards

'Swapnil

Read only

0 Likes
1,083

Hi Swapnil. The problem is that it proceeds in saving the transaction which I do not want to happen.

Read only

0 Likes
1,083

Hi,

Use /nex in the command line.

Thanks

Devinder

Read only

Former Member
0 Likes
1,083

On Which transaction are you running the call transaction? Standard or Custom? If standard which one?

Vikranth

Read only

0 Likes
1,083

I have a custom program that calls the tcode VA01.

My custom program has bdcdata that populates the billing plan in VA01. I want it to abort the process of populating the billing plan and do not proceed in saving if an error has encountered.

Read only

0 Likes
1,083

I have a custom program that calls the tcode VA01.

My custom program has bdcdata that populates the billing plan in VA01. I want it to abort the process of populating the billing plan and do not proceed in saving if an error has encountered.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,083

In CALL TRANSACTION the standard behavior of the called transaction will be replicated. So if in VA01 the billing plan population is aborted if an error is encountered your CALL TRANSACTION will behave the same way.

BR,

Suhas