Skip to Content

Rules in workflows...

Hi Gurus,

Where do we specify the Org structure details while the rule is being created.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2007 at 11:28 AM

    Hi Sukumar,

    Do you mean to say Roles?

    If yes, then the data related to Organizational structure is maintained in the standard SAP HR database tables like HRP1000, HRP1001 & so on.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Shaurya,

      You will find the term is now Rules.


      when you develop your rule you can programmatically define the evaluation path you want to use (Manager of, Chief etc) but you supply context from your container (for example by passing the workflow initiator as a user, or by passing an Org unit. This tells the rule where to start looking. In the workflow courses they take a simple view and find the chief position with relation to the workflow initiator using rule 168. This actually calls (in the end) the function SWX_GET_MANAGER which uses RH_ACT_LEADING_POSITION to find the chief (relationship A012 of the org structure in question) and then RH_STRUC_GET for the evaluation path SAP_TAGT to resolve the positions into object we can use such as persons and users.

      Use 168 as a template for your own and it will get things rolling.



  • Posted on Jan 16, 2007 at 02:15 PM

    maintaining organizational structures is done with transaction PPOM (go to help-->application help when you're in that transaction for further info)

    kind regards, Rob Dielemans

    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.