2006 Sep 13 5:23 PM
Hi,
Instead of going to SM35 & runing a created BDC session, how to run a BDC session automatically after creating it through a program?
Thanks.
Uma
2006 Sep 13 6:26 PM
Change the code as follows.
SUBMIT RSBDCSUB
WITH MAPPE GROUP
WITH fehler = ' '
AND RETURN.
Change the code as follows.
SUBMIT RSBDCSUB
WITH MAPPE GROUP
WITH fehler = ' '
AND RETURN.
2006 Sep 13 5:23 PM
2006 Sep 13 5:39 PM
Thanks Imtiaz.
I'm new to SAP/ABAP area...
Please let me know how should I call this program inside my program and pass on the session name to this program.
Thanks.
Uma
2006 Sep 13 5:54 PM
Use this code.
SUBMIT RSBDCSUB
USING MAPPE <Your Session Name>
AND RETURN.
This will work.
Award points if helpfull.
2006 Sep 13 6:13 PM
Hi Sudhir,
Thanks for the code.I tried adding the below code in my program:
SUBMIT RSBDCSUB
USING MAPPE GROUP
AND RETURN.
but it gives the below syntax error:
"SELECTION-SET ...", "SELECTION-SCREEN ...", or "SELECTION-SETS OF PROGRAM ..." expected after "USING".
Please let me know or clarify.
Thanks
Uma.
Message was edited by: Uma
2006 Sep 13 6:26 PM
Change the code as follows.
SUBMIT RSBDCSUB
WITH MAPPE GROUP
WITH fehler = ' '
AND RETURN.
2006 Sep 13 6:29 PM
Hi Uma,
Please try to change like this.
SUBMIT RSBDCSUB <b>WITH MAPPE = GROUP</b>
AND RETURN.and here is another example codes.
SUBMIT rsbdcsub WITH mappe EQ 'RPTELVFI'
WITH von EQ sy-datum
WITH bis EQ sy-datum
WITH fehler EQ space
EXPORTING LIST TO MEMORY
AND RETURN.Hope this will help.
Regards,
Ferry Lianto
2006 Sep 13 6:39 PM
Hi Uma,
After BDC_CLOSE function, write following statment. This will execute BDC session in background.
submit rsbdcsub
with mappe = group "group name
with z_verarb = 'X'
with fehler = ' '
with logall = 'X'
exporting list to memory
and return.
Cheers,
Vikram
Pls reward for helpful replies!!
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |