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: 

BDC in Background

Former Member
0 Kudos

Hi Dear All,

I want to run BDC Automatically. For this we use RSBDCSUB this standard program. But I dont know how to roceed this program . I mean after executing it what parameters we have to pass.

After Executing..we get following parameters...

Session =

From =

To =

New =

Incorrect =

Background system

Target host =

Log =

Just plz teel me what I have to pass for this parameters.....Plz explain somebody

Thanks and Regards.

Pradip Pawar

ABAP

1 ACCEPTED SOLUTION

Former Member
0 Kudos
3 REPLIES 3

Former Member
0 Kudos

mnicolai_77
Active Participant
0 Kudos

hi,

The meaning of parameter of program RSBDCSUB is as follows

Session = name of your session

Created on

From = date and time of generation from

To = date and time of generation to

Session status

New = this session is in new status

Incorrect = this session is in new error and you want to reprocess

here is an example for calling the program

>SUBMIT rsbdcsub

>WITH mappe EQ 'ZTEST'

>WITH von EQ sy-datum

>WITH bis EQ sy-datum

>WITH z_verarb EQ 'X'

>WITH logall EQ 'X'

>AND RETURN .

hope thatis usefull.

Regards

Marco

Former Member
0 Kudos

This is as similar as running a program in background.. there are two ways..

1) SE38>program name>F8>enter parameters>F9>spool name and page>Scedule immediately or whenever you want.

2) SM36>Create job>program name and Variant-->Scedule.

But in both the cases, you need to ensure, that the BDC is being called in no-display mode..

As there will not be any user interaction in the background run, if you are using CALL TRANSACTION method, then call in 'N' mode.

Refer this -

SUBMIT rsbdcsub WITH mappe = p_sesion(your session name)

WITH von = sy-datum

WITH bis = sy-datum

WITH z_verarb = 'X' AND RETURN.

or

Through Standard Program RSBDCSUB...