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 to run in foreground using session method.

Former Member
0 Kudos

Hi,

Can you please let me know how to run the BDC session in foreground using RSBDCSUB.

Presently i am using the following code for RSBDCSUB.

submit rsbdcsub with mappe eq gc_bdcname

with Z_VERARB EQ 'X'

with FEHLER EQ ' '

and return.

Thanks,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

this is used to run in background mode only....if u want a session to run in foreground..then fill the bdcdata and create a session using this bdcdata...goto sm35 and from here pick the session which u have created and click on process. check the process/foreground radio button and press enter...the session will run in foreground.

5 REPLIES 5

Former Member
0 Kudos

Hi,

Yes thats how its need to be done....

SUBMIT RSBDCSUB WITH MAPPE = 'xyz'
WITH VON = SY-DATUM
WITH Z_VERARB = 'X'
AND RETURN .

Cheers

VJ

Former Member
0 Kudos

this is used to run in background mode only....if u want a session to run in foreground..then fill the bdcdata and create a session using this bdcdata...goto sm35 and from here pick the session which u have created and click on process. check the process/foreground radio button and press enter...the session will run in foreground.

rahulkavuri
Active Contributor
0 Kudos

SM35 submits the Session created to RSBDCSUB

To create session from program we use...

SUBMIT RFBIBL00 WITH DS_NAME = VA_FILE

WITH CALLMODE = CALLMODE AND RETURN.

run session.... there isnt any option to run it in foreground as far as I know, this will process it automatically, award points if found helpful

SUBMIT RSBDCSUB WITH MAPPE = P_NAME

WITH VON = SY-DATUM

WITH BIS = SY-DATUM

WITH FEHLER = ' '

  • TO SAP-SPOOL

  • LIST NAME P_NAME

  • LIST DATASET P_NAME

  • COVER TEXT P_NAME

  • NEW LIST IDENTIFICATION ' '

EXPORTING LIST TO MEMORY

AND RETURN.

raymond_giuseppi
Active Contributor
0 Kudos

You may

(1) Use CALL TRANSACTION USING bdcdata, but only for one transaction

(2) Use submit RSBDCBTC with hidden parameter filled

('3) CALL TRANSACTION "SM35" USING data to find, mark and execute online your BDC

Regards

Former Member
0 Kudos

Hi,

i have the same requirement as u had that time.

would u suggest how BDC session executed in foreground through Program?

Neha Gupta