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

bdc transaction

hai,

while doing bdc for VAO2 transaction after giving the vbeln value and presing enter key , if theer are subsequent documents for that sales document how to encounter in case of bdc ( i,e i am getting the information dialog saying subsequent documents exist ) how to encounter this

cheers

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 05:57 AM

    HY,

    U CAN JUST DO IS TYPE A NEW VBELN

    REGARDS,

    KARTIKEY.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 06:03 AM

    hi,

    check with VBFA table if any entries exists for the sales order then there is subsequent document is there for the SO else there is no subsequent document

    select singe vbelv from vbfa into l_vbelv where vbelv = 'xxxxx'

    if sy-subrc <> 0

    no subsequent document

    endif

    cheers,

    sasi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2005 at 06:18 AM

    did u try recording the transaction scenario that you are talking about in SHDB.

    if I understand correctly, you are trying to control the behaviour of the BDC after doing a call transaction....that is to say that you want to know at runtime itself whether subsequent documents exist and you want to do this while you have already done the call transaction....i dont think this is possible in a BDC...

    there is a BAPI for changing sales order...its BAPI_SALESORDER_CHANGE...see if you can alternatively use this...

    rgds,

    PJ

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 23, 2005 at 07:57 PM

    There is no need to handle the OK-CODE for the Information messages while building the BDCDATA .

    When you run the BDC program in the foreground if you get information messages, press the ENTER key the BDC flow will continue.

    When it is run in backgroud information messages will be handled by the program.

    No need to do give any OK-CODE for the information message. Skip that part and build the flow for the rest of the transaction.

    I Hope it resolves your problem.

    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.