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: 

Abort processing when error encountered in CALL TRANSACTION

Former Member
0 Kudos
184

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

Former Member
0 Kudos
107

HI

Once the error occurs Call transaction method stops itself .

Regards

'Swapnil

0 Kudos
107

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

0 Kudos
107

Hi,

Use /nex in the command line.

Thanks

Devinder

Former Member
0 Kudos
107

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

Vikranth

0 Kudos
107

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.

0 Kudos
107

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.

0 Kudos
107

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