Skip to Content
avatar image
Former Member

BDC Session Method

Hi,

I use Call Transaction & BDC Session in the same program so as to capture the Error Transaction (Error in Call Transaction) into BDC Session Method. For some reason, BDC session always creates 1 session, but my BDCDATA table has records for more than 1 transaction. I am not sure what is missing in the BDC Session method. Please advice.

Appreciate your help in advance.

Thanks,

Kannan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 07:08 PM

    May be you are getting only one error from the CALL Transaction.

    Or, you are closing the Session after each BDC_INSERT. You must call the BDC_CLOSE after all BDC_INSERT. So, call the BDC_INSERT just after the ENDLOOP of the main LOOP.

    Regards,

    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded

    • I think you need to change your Recording in a such a way that it will come to the first screen of the next transaction.

      E.g. If you create Sales Order in VA01, system will not go back to the main screen when you sucessfully created the Sales Order.You have to include this step in the recording to go back to the main screen.

      The advantage of insertting individual transactions is you can have the individual processing status and you can easily find out which transaction went wrong and why from the field list values.

      Regards,

      Naimesh Patel