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

Problem in implementing BDC via task

Hi,

I am trying to do background processing of updating the quotation status(VA22) through BDC. I extended the object bus2031 with a method for bdc. it is testing fine in method. But when testing the workflow - status is not bieng updated, in other words BDC is not working properly. What could be the problem. Please advice.

Thanks,

Raju

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 10:18 AM

    Please check the Binding between the Workflow->Task and Task->method and vice versa. Please check the Workflow Container element and Task container whether it is appearing properly. Please make sure you are using identical Business object in Method and Workflow. It should be BUS2031 if it is delegated to your custom BO.

    Thanks

    Arghadip

    Add a comment
    10|10000 characters needed characters exceeded

    • Did you have a form inside your program? Methods in BOR object types are really forms, just double-click the "begin_method" statement in the program and you'll see it in the macro definition. It is impressive how well BOR functions and acts as an object-oriented solution, when it's all really just an OO facade for standard programs, held together by macro definitions.

      Anyway, if you try to define a form inside a method you get an error, as nested forms are not allowed. Instead you should define a separate method, just like you would if you were implementing an ABAP Object class for the same purpose. Alternatively, just "outsource" the whole thing and call a function module or submit a report as I understand you have done.

  • Posted on Nov 23, 2007 at 03:38 PM

    It's a long shot, but are you filling out more rows than can fit in one default size screen? Normally it should be possible to get a hint at what the error is by checking the messages returned by the BDC call, so I would start by capturing those.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 03:28 AM

    Check your bindings from wf <->Task and then Task <-> Method. You can test your task through SWUS to see where the problem is.....It could be an authorisation issue with WF-BATCH....also, check the wf log to see if there were any errors tRFC, etc.

    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.