Hope you all are good. I am suppose to work on one integration scenario. Basically, it is the integration of SAP ECC with android using SAP PI. The scenario is that a higher management person will enter his employee ID through mobile device. After entering it, all leaves, that are pending for approval or rejection, will be displayed to his mobile device. Than from mobile, he will reject or approve the leaves. The status will be updated in ECC and an acknowledgement will be sent to his mobile.
All this should be done through Web service. I am not expert in PI so i have some confusions about it. i am thinking that first i write a BAPI which will receive employee number and give output of pending leaves. This will be SOAP to RFC. In this, when a manager will enter his employee number, all pending leaves will be displayed to him. But how can i do the next step? In which the manager will approve or reject the leaves that is being displayed to him? If you understand the whole scenario, kindly tell me how this 2 steps process can be done through SAP PI web service.
Thanks in advance