2006 Oct 30 3:08 PM
Hi ,
i am running CC11 transaction in the background using the below code, i have created a BDC for the transaction and trying to run this in the background , the log(SM37) is showing the sucess message but the revision is not done.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = v_jobnm
IMPORTING
jobcount = v_jobcnt.
To run roll of revision
IF sy-subrc = 0.
submit zecr via job v_jobnm
NUMBER v_jobcnt
with p_matnr = v_matnr
WITH p_aennr = v_aennr
AND RETURN.
ENDIF.
*end of submit
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = V_JOBCNT
JOBNAME = V_JOBNM
SDLSTRTDT = SY-DATUM
SDLSTRTTM = V_TIME.
STRTIMMED = 'X'.
Thanks & Regards
Syed
2006 Oct 30 3:14 PM
Hello,
You have somme programm to trigger your BDC in background.
search (i don't remember the name) in SE38 RBDC
Regards
sebastien
2006 Oct 30 3:14 PM
Hello,
You have somme programm to trigger your BDC in background.
search (i don't remember the name) in SE38 RBDC
Regards
sebastien
2006 Oct 30 5:01 PM
Hi Syed,
U want the job to run periodically? i mean it should run automatically?
Thanks,
Vishnu
2006 Oct 31 7:57 AM
hi Vishnu,
yes it has to run automatically , means whenever the transaction is done this has to happen in background,
Thanks & Regards
syed