‎2006 Nov 01 11:45 AM
Hi,
i have a problem with running a transaction in background .
The requirement is to run CC11 transaction in background in exit (for CC02 transaction ),a 'change number' like 'sales order number' is used in CC02 transaction .
1.I can't SUBMIT (use) this becoz the transaction (CC11)is of type 'S'.
2. I tried to use a BDC , but when i SUBMIT this BDC program it shows that the 'change number' is locked as i am already in CC02 transaction which is using this number.
Can anyone help me on this , i have tried to schedule this using JOB_OPEN... Fm's but this doesn't work.
thanks & regards
Syed
‎2006 Nov 01 11:49 AM
I would use the JOB_OPEN option. You need to post why this does not work.
Also you will need to schedule the job to run from SY-UZEIT + 60 to make sure the locks are released.
‎2006 Nov 01 1:18 PM
HI ,
i have schedule it as sy-uzeit+60 but still it doesn't work.
Regards
Syed
‎2006 Nov 01 11:58 AM
Hi,
use FM dequeue_all before submiting job to release
all locks
call function 'DEQUEUE_ALL'
call function 'JOB_OPEN'.
...
Regards
amole