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

About BDC Session Method

HI Experts

I am executing sales order (VA01) ZBDC function module in call transaction method then it will create both Foreground & Background Methods.It will execute successfully while giving longtext in sales order header data.

If I executes same above bdc in session method of background.it will show error.Here also giving Long Text.If I execute Foreground in session method then it will create successfully.

If I use SHDB creating new recording with bdc function module for va01 tcode with out taking text tab on sales order header level then I executes that function module in session method of both foreground & background it will generated sales order successfully.

Regards,

Hari

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Feb 27, 2009 at 12:42 PM

    Hi ,

    See that you are not calling any popup screen in background mode.

    Use function module create_text to create the text. set the processing in 'E' mode and analyse the error

    Regards

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 12:37 PM

    Hi Prasad,

    Can you tell me what is the error your getting in the session method.You can see it by double clicking and there will be detailed error description.

    Or you can also use bdcmsgcoll table. Take a internal table of this table type and loop it iot gives you all the messgea that have occured during the BDC,you might find your error ther.

    Hope it helps!

    Much Regards,

    Amuktha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 12:38 PM

    Hi,

    Use error mode in the session method and then check if its working fine...

    Regards

    Siddarth

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 27, 2009 at 12:38 PM

    Hi hari

    BDC will with some transactions give errors in background

    better use this BAPI BAPI_SALESORDER_CREATEFROMDAT2

    Pushpraj

    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.