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: 

I have a problem in processing the program in background

Former Member
0 Kudos

Hi,

We have cloned the T'code V_V2 and added some additional functionality and when we try to run the program in background the error is blocking the process

This is because, say example i am tring to process the sales order in production systen through my program ,in that time some one may chage the sales document . in trhis case my program should not blocked it should check the block before processing and then it should proceed.

is there any FM to find the blocked sales order.

Regards,

Vijay

1 REPLY 1

Firoz_Ashraf
Contributor
0 Kudos

Try using the FM:

ENQUE_READ2

Passing the follwing values:

GNAME --> VBAK (Sales Order header table)

GARG --> The lock argument

(This will be a combination of client number anb Sales Order No.

Eg: '3001210000054' where the first three digit i,e 300 is the client No

and 1210000054 is the sales order no.)

Regards,

Firoz.