Skip to Content
avatar image
Former Member

SAP Business Workflows In HR

Hi,

I am new to  SAP Business Workflows, I want to start a workflow whenever user creates any record in a infotype, and get approval from the senior.

Please guide me on how to trigger workflow Whenever a new record is created using PA30.

Warm Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 23, 2014 at 03:05 AM

    Hello,

    I think that you might not have a very easy task ahead especially if you don't have much experience of business workflow. Basically the configuration/development starts by trying to figure out how to trigger an event when a new infotype entry is created. This is relatively straightforward. Anjan already gave you some guidance (the transactions codes to configure this) and you can find some examples with few Google searches. 

    When you get an event triggered, you can set up your workflow to start with the event. Now starts the interesting part. You said that an approval is required. Well, this is easy to implement for example with a simple user decision step in the workflow. But, wait a moment, the infotype entry has already been created in the database before the approval. So, when the senior approves, what does actually happen? This is something that you need to figure out with the people requesting this workflow functionality. Perhaps you will need some kind of status field in the infotype, which you can change when the senior approves. Or in the "worst case", there should not actually be any infotype entry before the approval has been done - then the whole solution need to be re-thinked.

    Regards,

    Karri

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I think it is a problematic situation. If you enter something with PA30, then it means that the data is directly saved to the database/infotype. If your goal is as your earlier stated "the clients wants that before creating any entry in infotype approval process should take place and entry in infotype should only be made if the Approvar has approved the record.", it will not work.


      If you have a custom infotype, then you could perhaps add a new field to, e.g. "status". When the user enters the infotype entry in PA30, the entry could get some kind of "initial" status, and once the approver does the approval, you change the field value to "approved". Of course everything depends on the actual process(es) that is using this infotype. You might need to do some small changes to that such as "don't take the entry into account, if the status field is "initial" etc.


      You should also talk to the HR experts, if they can see a solution for this. How to make an entry into  an infotype without it being active or "in use".


      Regards,

      Karri



  • Dec 22, 2014 at 12:43 PM

    Hi,

      There are 3 transaction SWEHR1, SWEHR2, SWEHR3 . Search in SCN you will  find lot of link

    Add comment
    10|10000 characters needed characters exceeded