on 02-28-2012 1:16 AM
Dear all:
We would like to have an employee aproval before an infotype (objects in loa n) is created... We were thinking that the supervisor could create the blocked infotype throw MSS then the workflows sends the workitem to the employee where he/she approves it and the infotype is ublocked... would it be possible? Any other idea is also welcome
Any help will be greatly appreciated
Yes this is possible. An alternative can be to create a Z table where you place all the entries created by the managers, and upon approval, the infotype records are created based on this Z table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think Workflow Approach is the best.
1. Create a Adobe form / Webdynpro Screen to enter Infotype(Loan) data.
2. Once Supervisor Submits, a workflow will be triggered. (You can use Workflow triggering function modules for this)
3. The next task in the workflow is Approval from the employee.
4. Once Employee approves then infotype data will be updated in the system.
Triggering workflow
Employee Approval |
Database Update.
Hope this helps.
Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you use workflow, That will be Updated until employee approves the task.
That will work like this.
1. There will be 2 tasks in the workflow.
1. Approval Task --> Will be sent to the Employee
2. Update Task --> Will Update the infotype data in Database.
2. Workflow should be designed in such a way that if employee approves then only infotype data should be updated in the database otherwise it will not update the database.
No need to lock or unlock the records.
Other Approach would be like this. In this case no need to use workflow.
Steps.
1. Once Supervisor creates a record in infotype, then Infotype record will be created in the system with lock indicator(SPRPS) 'X'. And also System will send a notification to the employee.
2. We will create a report for the employee. That report displays the locked records of him from that infotype. In that report we will give him a provision to unlock that record/ delete that record.
3. After getting the notification, Employee executes the report and do whatever he wants meaning Unlock/Delete the displayed record.
From these two you can select which one you want.
Pradeep.
Thanks pradeep,
In the workflow approach, I dont think there is any workflow available to help me with, in the first task there should be a form where the supervisor enter the data, then in the second task I should create an abap logic or something so that that data creates an infotype?
Thank you again!
Hi,
After entering the data in form when user saves the record create an Infotype record with field SPRPS equal to "X", This will create the locked record in infotype. The locked record won't be used for an y processing and neither it will be picked by LDP in any programs.
Once employee approves then set this field to space and that will unlock the record.
Thanks!
Thank you guys! any other idea to achieve this?
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a workflow and plce it in abap sub-routine.
Please note that you need to have trigger created for calling event using function module for same and place this subroutine for relevant country grouping in a dynamic action for infotype.
Thanks,
Ameet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.