‎2009 May 25 4:19 PM
Hi All,
I have designed the ADOBE form for Material Master creation.
My business scenarion is that the user has initiated the request for material master creation would call the form using SAP GUI and fill in all the form details. He sends the form to concerned manager for approval.
Need help to know system method to find the approval manager for the said user using SAP R/3 workflow or CAF would be required.
Regards,
‎2009 May 25 6:06 PM
Hi Rajeev,
You have to check the tables HRP1000 and HRP1001 to know the Approval manager of the employee based on the position which is related to oraganization structure created in SAP-HR.
The relationship between employee and his manager is created in Organization structure in SAP-HR.which you can get from HRP1000 and HRP1001 based on the organization.
Hope information shall be useful.
Regards
Santosh
‎2009 May 25 6:06 PM
Hi Rajeev,
You have to check the tables HRP1000 and HRP1001 to know the Approval manager of the employee based on the position which is related to oraganization structure created in SAP-HR.
The relationship between employee and his manager is created in Organization structure in SAP-HR.which you can get from HRP1000 and HRP1001 based on the organization.
Hope information shall be useful.
Regards
Santosh
‎2009 May 26 5:21 AM
Hi Santosh,
We do not have SAP HR environment. Does that mean we need to configure SAP HR too or per say only maintenance of Organisation structure would be required.
Which business Objects does SAP take into consideration for SAP ADOBE workflow to be triggered in for creation of master, the form would need to move amongst couple of people before it gets created.
How does authorisation in ADOBE form gets activated? User who has to fill subsequent views should not be able to amend the data of former views.? Do we have standard SAP ADOBE forms for material master creation?
Thanks and Regards,
‎2009 May 26 6:17 AM
Hi Rajeev,
Based on the information you provided. i think you have to create a workflow which has to be triggered when master record is created.
Below is the points which can help you to proceed further.
1) when user fills the online ADOBE form and clicks on save/send. the request will be sent to application server.
2) in the application server you have to call the workflow by passing the key values which identifies the particular user who initiated the request.
3) the activity step in the workflow will find the approval manager of the initiator by passing the initiator values.
Please talk to any SAP-HR functional person , who can guide you in finding the hierarchy of the employee/ manager relationship. as it is mostly based on SAP-HR issue.
Hope it shall be useful
Regards
Santosh
‎2009 May 26 6:28 AM
Hi Santosh,
Thanks brother for the reply.
Just would like to clarify ....The material master would be created only once the form has been approved. What I can understand from your mail is that system would create the master as soon as I enter the basic view details and then use the SAP Material master workflow using HR organisation setting.
Please clarify my understanding.
I will resubmit that users would keep on filling relevant material master views and system should be able to send to necessary persons based on Organisational Hierarchy and finally on acceptance from final user should material master get created in system. This sceanrion I assume would be different from MM01 basic view creation txn where in I will trigger a workflow once I create a basic view.
Rgds,
‎2009 May 26 10:06 AM
Hi Rajeev,
Based on organization structure you will find the employee/manager relationship. when the Final user approves the form. which will be based on button click event. you have to get the data to an internal table from the ADOBE form when button is clicked and use the internal table to create the material.
You have to trigger the BAPI_MATERIAL_SAVEDATA to create the material master.
Hope it shall be useful.
Regards
Santosh