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

Multiple sessions for background processing.

Former Member
0 Likes
1,226

Hi,

we have a bdc program which will create multiple sessions and these sessions are grouped according the selection criteria. Now these group of sessions have to be executed in background.

There is a standard program RSBDCSUB which process a single session in background automatically, but my object is to process multiple sessions in background, how to use this standard program. Can anyonle help me out with this?

thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
649

If your sessions all have the same name: example ZSESSION, then ALL these sessions will be processed if you launch RSBDCSUB with session name = ZSESSION.

If you have 3 session names,

e.g. ZSES01, ZSES02, ZSES03. Then schedule RSBDCSUB with session name = ZSES* .

All 3 sessions will be processed.

Be careful when using wildcards (*), cause if your selection is too wide, then you could launch all sessions in the system (for a specified date)

Read only

Former Member
0 Likes
649

Kris,

My sessions have names zses001 to zses600, now we will be grouping these sessions, not neccessarly in sequential order. Once these are grouped they have to be processed.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
649

RSBDCSUB can submit all the sessions in one pass, if you select a hundred session via a generic name, a hundred batch executions will be submitted. (and the system will lag...)

So give a generic name to sessions, then submit by batch, number of sessions depending on the respective size of your servers and of the sessions.

If RSBDCSUB doesnt match your requirement, look at OSS [Note 15999 - Processing batch input sessions in the background|https://service.sap.com/sap/support/notes/15999] to write you own report capable of starting batch input sessions.

Regards