Grants manangement event triggering
I Have to trigger an event in the business object BUS0035 called 'REQUEST FOR APPROVAL', This does not seem to be happening in the transaction GMGRANT. as it triggers an event called 'APPLICATION' on grant creation. Please let me know how the event can be triggered and in which transaction.
Siva Thiagarajan replied
In Grants module there are two workflow templates that are predelivered. One is request for approval and the other is the notification.
In order to switch them on, you need to do a customizing step.
SPRO-> Public sector Mgt -> Grants Mgt -> Master data -> Grant -> Maintain Grant types
Then select your grant type and click on Lifecycle Network.
In that You will see a check box for WF. This indicator defines whether a Workflow scenario is desired for a certain configuration. If you set this indicator, a Workflow scenario takes place; otherwise, a normal scenario (without Workflow) is used.
This indicator is used in conjunction with the workflow processing of the grant master. If the lifecycle option is turned on for a grant type,a grant master with this grant type would need to be approved before a change of state could take place.
Once you turn this on, the event Request for Approval will be triggered. Which will eventually be triggering the WF template 12300136 and/or 12300093 based on your setup in the transaction GM_RESP (if the WF action is 0001 you will only set the notification, and if it is 002, then you will get the approval as well as notification).
Hope this explains. If in doubt, please reply back.