06-15-2008 3:36 PM
Hi.
A job that was created and is waiting for processing in SM35.
I'm looking for a way to process this job through ABAP code.
I tried using Batch-input but for some reason it's not working +
I'm sure there is an FM for this.
Thanks.
Ayal Telem.
06-15-2008 7:19 PM
try the bapi:
BAPI_XBP_JOB_START_IMMEDIATELY
CALL FUNCTION 'BAPI_XBP_JOB_START_IMMEDIATELY'
EXPORTING
JOBNAME = JOBNAME
JOBCOUNT = JOBCOUNT
EXTERNAL_USER_NAME = EXTERNALUSERNAME
TARGET_SERVER = TARGETSERVERNAME
TARGET_GROUP = SERVERGROUPNAME
IMPORTING
RETURN = RETURN
EXCEPTIONS
OTHERS = 01.
06-16-2008 1:20 AM
Hello,
You may process the sessions by submitting the program RSBDCSUB.
Thanks,
Venu
06-16-2008 7:11 AM
Regarding the mentioned BAPI, I don't have it in my system (4.6c).
Anyway, I managed to make my Batch-input of SM35 work (program name misspelled), but the "RSBDCSUB" program looks like a good idea, which I'll use if I'll encounter any problems.
thanx.
ayal.