on 01-22-2013 5:54 AM
Hello,
We are trying to develop a function module that is expected to work as follows: -
1. Import param : userID : (user's sy-uname)
2. Export param : pending_approval_flag : (X or "")
3. Logic:
pending_approval_flag = X, if there are pending SCs to be approved for 'userID'.
pending_approval_flag = "", if there are NO pending SCs to be approved for 'userID'.
Could anyone please share the info on how to develop this logic?
Thanks & Regards,
Amey Mogare
Hi Amey,
You can reuse the logic written in feeder class of POWL query SAPSRM_PA_PURCHASING_01_03.
I suppose it has a user name parameter in selection criteria which you can use.
Let me know if that helps.
Regards,
Ashish Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amey,
I am not sure whether it will helpful for you or not, SWI5 (workload Analysis) will provide you the status of SC's under approver (whether it is approved or pending for approval).
I hope you can see the sap standard program RSWILOAD to find the logic to determine SC pending status of an approver.
Best regards,
Govardhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.