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: 

Batch Restriction

Former Member
0 Kudos
109

Hi,

I need to restrict the batches given as input. I tried to use the FM 'VB_CHANGE_BATCH_STATUS' and BAPI 'BAPI_BATCH_SAVE_REPLICA'. Both are working standalone but are not working when I use them in my code although I am passing the same parameters.Anyone could suggest what could be the problem

Thanks

3 REPLIES 3

former_member156446
Active Contributor
0 Kudos
59

use converion_exit_alpha_input FM to convert batch number and give in the program it should work.. when its working standalone.

Edited by: jackandjay on Dec 28, 2007 1:30 AM

0 Kudos
59

I had done that

Former Member
0 Kudos
59

Hai,

We have to use function module BAPI_TRANSACTION_COMMIT by exporting WAIT = 'X' after calling BAPI to commit the work.