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

What does BDC Session part mean

Hi all,

As you know,when generating BDC program using t-code SHDB,we got two ways to re-execute the certain transaction,which are 'CALL TRANSACTION ... USING bdcdata' and 'CALL FUNCTION 'BDC_INSERT'' .

I just know how to use the previous one, so could you tell me the meaning of the latter one,how to use it?

Tks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2008 at 02:28 PM

    read SAP Help on BDC

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2008 at 04:11 PM

    Hi

    Using Session Method is a two step process in general. When u execute your BDC program using session method,that is calling FM BDC_INSERT... The system would create a session which needs to up processed to update the database. When you create a session,database does not gets updated, Only when you process the session,database is updated.

    Call Transaction updates the database immediately....

    Regards,

    Vishwa.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2008 at 05:42 PM

    Hi Alex,

    There are lots of threads for your same query please do spend some time to search yourself you will get lots of post for your paot.

    Anyways BDC_INSERT is one of the function module which will create a session while we upload data using BDC technique this is the sample example ..

    • Load BDC as a transaction in BDC session

    call function 'BDC_INSERT'

    exporting

    tcode = v_tcode

    tables

    dynprotab = itab_bdc_tab

    exceptions

    internal_error = 01

    not_open = 02

    queue_error = 03

    tcode_invalid = 04.

    endform.

    Go through this link will get complete information.

    http://help.sap.com/saphelp_nw04/helpdata/en/fa/097133543b11d1898e0000e8322d00/content.htm

    Cheers!!

    Balu

    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.