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: 

How to process job in SM35

yes_sapteam
Participant
0 Kudos

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.

3 REPLIES 3

former_member212653
Active Contributor
0 Kudos

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.   

Former Member
0 Kudos

Hello,

You may process the sessions by submitting the program RSBDCSUB.

Thanks,

Venu

0 Kudos

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.