Application Development and Automation 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: 
Read only

Background

Former Member
0 Likes
480

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

3 REPLIES 3
Read only

Former Member
0 Likes
427

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.

Read only

0 Likes
427

HI ,

i have schedule it as sy-uzeit+60 but still it doesn't work.

Regards

Syed

Read only

Former Member
0 Likes
427

Hi,

use FM dequeue_all before submiting job to release

all locks

call function 'DEQUEUE_ALL'

call function 'JOB_OPEN'.

...

Regards

amole