Skip to Content

Multiple countries - Same BO Workflow Implementation Strategy?

Hi Experts,

I have implemented one custom sales order workflow for country A by delegating my custom business object to standard business object.

I need to implement another custom sales order workflow for country B.

What should be the design strategy I should follow, to avoid TR lock in future?

Example: When I Implement the workflow for country B using same delegated BO, then country A needs a change made to the existing BO.

It creates a dependency in terms of development/delivery. I cannot start the change for country A, unless I complete country B workflow.

My possible thoughts to it are below:

Create new subtype for country B (but losing the power of delegation, good?) or

Use same delegated BO, but create new methods in a class for country B requirements

or.....?

Your valuable inputs please...

Cheers,

Raj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 04, 2017 at 08:11 AM

    Use classes, you can transport individual methods. Or you could build your WF class using an interface with separate implementing classes. Beware though WF doesn't support interfaces natively so only use the interface for your business-specific components and alias them.

    Add comment
    10|10000 characters needed characters exceeded

  • May 03, 2017 at 10:36 AM

    Hi Raja,

    not very clear with your requirement, however SAP allows only one delegation to standard BOR.

    So you can use the same delegated ZBUS (or whatever) for various country.

    May be use method which can differentiate the countries.

    May be use start condition in your WF, which differentiates the countries.

    May be use different WF for different countries.

    Hope it helps.

    Aditya V

    Add comment
    10|10000 characters needed characters exceeded

  • May 03, 2017 at 12:09 PM

    Hi,

    when using workflow you shouldn't focus too much on generic methods and reusability.

    You have to focus on business processes. often the same business process is conducted entirely different in another country, in that case a dedicated method and separate task is better. I also advise workflow consultants to use business process specific user decisions this way you can make more use of the workload analysis tools SWI5 for instance.

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 24, 2017 at 12:52 PM

    Thanks for all your valuable inputs!

    Add comment
    10|10000 characters needed characters exceeded