As an application example a leave request should be submitted to and approved by the manager. After that it should be checked in the SAP system whether the data was posted successfully.
First open the Leave Request solution for employees and adjust the time interval in the menu bar to the current calendar year:
Next, check the configuration settings. Enter a functioning personal number in field user.PersonalNumber. For this personal number absence quotas have to be generated and the person has to be integrated in the organizational management.
Then enter a new leave request in the My Absences or the Team Calendar tab. It’s best if you select annual leave as absence type because then it is possible to check the quota deduction in the Leave Summary tab.
Validate the data before submitting it. Annual leave can usually only be requested for future periods.
Check if the request is listed in the My Absences tab. It should be listed there in status Sent.
Before you switch to the Leave Approval scenario open the Leave Summary tab and check the quota status. In the example there are three unapproved leave requests.
Then switch to the Leave Approval solution and check in the configuration settings first whether a personal number for the manager is stored.
Again adjust the time interval in the menu bar to the current calendar year to see all entries. After that switch to the My Absences tab.
The just created request is now displayed in the manager’s workitem list and can be approved. Approve the request.
The request disappears from the work list.
Then switch back to the employees` scenario and refresh the My Absences page. The leave request should be displayed there in status Approved now.
First you can check if the leave request was successfully posted to SAP by opening the Leave Summary tab. There should be only two days of unapproved absences left. This means that the absences have been successfully posted to the corresponding SAP infotype because only then quota deduction takes place.
In addition the sucessful posting can be checked in the SAP system. Open the SAP starting page and open the personal administration by entering transaction PA20.
Enter the employees personal number and confirm the entry with return.
Switch to infotype 2001 for absences by typing in 2001 in the Infotype field. Before opening the overview page of the infotype with the sun-and-mountain symbol set the time period on the right side to the current calendar year.
You see, that a record has been created for the selected date.
Then switch to infotype 2006 the same way you did with infotype 2001 and open the record for the current calendar year.
As you see there are eight days that have been deduced from a thirty days` quota. These are the approved leave requests for the selected time period.
This is consistent with the Leave Summary in the employee’s app.
With this you have successfully checked that the data was posted from the SharePoint App to the SAP system.