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: 

Sales order upload

Former Member
0 Kudos

Hi all,

Help me in the issue . I am using BAPI to upload the sales orders from Excel . One user is running the application its working perfectly . But when two users start sales order upload here its creating a prob for both its running for the long time and its not giving an error nor sucess its keeps on running . When i see lock entries in SM12 its showing VBAK table wa shared locked for both the users . Can any one suggest me how multiple users can process the upload program.

Thanks in Advance,

1 ACCEPTED SOLUTION

former_member657499
Participant
0 Kudos

I am guessing there is an issue with your code. We have a mass update program in production system that runs every day to update and reschedules open sales orders in the system. We have never had any locking issues ... sales orders are updated via parallel processing, which is like running multiple instances of the same program.

Firstly, are the two users running the same file or are they working in separate list of sales orders? Also, check to see if you are clearing all variables once you are done updating the SO. If I can take a look at the code I can easily pin-point the issue .. if possible upload your code here (but make sure to delete any proprietary information in the code)

Raj

1 REPLY 1

former_member657499
Participant
0 Kudos

I am guessing there is an issue with your code. We have a mass update program in production system that runs every day to update and reschedules open sales orders in the system. We have never had any locking issues ... sales orders are updated via parallel processing, which is like running multiple instances of the same program.

Firstly, are the two users running the same file or are they working in separate list of sales orders? Also, check to see if you are clearing all variables once you are done updating the SO. If I can take a look at the code I can easily pin-point the issue .. if possible upload your code here (but make sure to delete any proprietary information in the code)

Raj