Skip to Content
avatar image
Former Member

Problem in custom workflow

When i call a method of a subtype in a task, the WF log shows error that this method is not present in the super type

for eg: i have created a subtype ZBUS2012 of super type BUS2012

the WF is triggered by one of the events of BUS2012

i then assign this BO to a WF container element of type ZBUS2012

then i have a step which has a call to a custom method of ZBUS2012.

whe the WF is triggered, this step gives error

and in the WF log it says that the custom method does not exist in BUS2012

i am using BUS2012 only to trigger the WF

for all the further processing in the WF, i use ZBUS2012.

then why I am getting this error.

please explain.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 24, 2010 at 11:39 AM

    Once you have delegated the ZBO in SWO6 tcode...

    you have to use ZBo(ZBUS2012) for all your methods in workflow(Both custom and standard)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2010 at 12:06 PM

    Hello,

    I am not able to define delegation for this ZBo. refer to

    Delegation problem in workflow

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2010 at 12:57 PM

    I think in the task you might be using standard Business Object BUS2012. I think you should use ZBUS2012 instead.

    Thanks

    Arghadip

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Juheb,

      Please verify once if the delegation is done correctly. Have you delegated BUS2012 to ZBUS2012? Once you have done this, in your workflow task, use the BO reference as ZBUS2012 and not BUS2012. I dont think the event triggering from BUS2012 will cause any issue.

      Does this help you?