Skip to Content
author's profile photo Former Member
Former Member

BDC to run in foreground using session method.

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,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 12:21 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 12:20 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2007 at 12:32 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 26, 2007 at 01:26 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 25, 2011 at 06:07 AM

    Hi,

    i have the same requirement as u had that time.

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

    Neha Gupta

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.