01-20-2008 7:53 AM
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
01-20-2008 7:19 PM
Check this thread.
Also check this SAP link.
http://help.sap.com/saphelp_nw04s/helpdata/en/69/c250414ba111d189750000e8322d00/frameset.htm
Regards,
Maha
01-20-2008 7:19 PM
Check this thread.
Also check this SAP link.
http://help.sap.com/saphelp_nw04s/helpdata/en/69/c250414ba111d189750000e8322d00/frameset.htm
Regards,
Maha
01-20-2008 10:38 PM
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
01-21-2008 5:38 AM
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...