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

hi

Former Member
0 Likes
550

hi can anybody pls tell me the diff bet RSBDCSUB and RSBDCBTC and in which time we have to use which on pls

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
526

RSBDCBTC

Submit a BDC job with an internal batch number and wait for the end of the batch input session

RSBDCSUB

this is meant to be run in back ground and this processes all the batch sessions which are open( generally we use this with bdc session method)

RSBDCBTC

Submit a BDC job with an internal batch number and wait for the end of the batch input session

RSBDCSUB

this is meant to be run in back ground and this processes all the batch sessions which are open( generally we use this with bdc session method)

4 REPLIES 4
Read only

Former Member
0 Likes
526

Hi,

RSBDCSUB - You can start the processing of the sessions using this.

RSBDCBTC - This has something to do with the Queues of the batch input sessions, you cannot start any session using this.

RSBDCSUB is used for executing BDC sessions, e.g. you create BDC sessions in a user exit and want to execute them once every day. You can schedule RSBDCSUB to execute you BDC sessions at a particular time.

Difference b/w RSBDCSUB and RSBDCBTC :

When the program is processed and waiting for the session to be released, if we use RSBDCSUB then the Whole sessions ceated for the program are released at a single go, Whereas if we use RSBDCBTC, each session is givena Unique Session ID and it can be released automatically regardless of the program name.

RSBDCSUB

Processing Sessions Automatically

Use

In most cases, batch input sessions can be processed automatically. It is not necessary for a session to wait until a system administrator explicitly starts the processing of the session.

This section explains how to have sessions started automatically soon after the session has been generated in an R/3 System.

Prerequisites

The ABAP program RSBDCSUB must be scheduled as a periodic job in the R/3 background processing system. RSBDCSUB checks for and starts any batch input sessions that have not yet been run. It schedules such sessions for immediate execution in the background processing system.

Procedure

Schedule RSBDCSUB to run periodically in one or more background jobs.

If you have regularly scheduled batch input runs, you can schedule separate jobs for each of the scheduled data transfers. The start time for the RSBDCSUB job can be set according to the batch input schedule. And you can use a variant to restrict RSBDCSUB only to the batch input sessions that you expect.

With RSBDCSUB, you can use all of the selection criteria offered on the batch input main menu to select sessions to run:

session name

date and time of generation

status: ready to run or held in the queue because of errors

Result

Batch input sessions are started automatically rather than by hand. The RSBDCSUB program can be set up to start all sessions that arrive in an R/3 System, or it can be fine-tuned to start only batch input sessions that you expect.

for RSBDCBTC check the link!!

http://sapabap.iespana.es/sap/oss/0015999.htm

Regards

Sudheer

Read only

former_member189629
Active Contributor
0 Likes
526
Read only

Former Member
0 Likes
526

Hi ,

In Simple, RSBDCSUB starts processing of the sessions automatically whereas RSBDCBTC processes the session depending on the queue ID created during the session creation.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

Former Member
0 Likes
527

RSBDCBTC

Submit a BDC job with an internal batch number and wait for the end of the batch input session

RSBDCSUB

this is meant to be run in back ground and this processes all the batch sessions which are open( generally we use this with bdc session method)