on 10-24-2013 8:27 AM
Dear Gurus,
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
regards
Hi Imran,
what you can do is
you can go for create two sync operations with one general interface.
one will be for display the leaves and other will update the status
Regards
Gagan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
what you can do is:
you have one web service which have two operations:
Like
DisplayLeaves and Updatestatus
you have to create one web application which first call the DisplayLeaves operation of your web service which intern trigger the message to PI and Pi will send this message to SAP ECC & then ECC will return the available Leaves. to PI and PI to web service & web service to your application
& then
in another scenario
call Updatestatus from your web application which send your update status message to pi & pi to ECC & ECC will acck.
Hence
You have two syn scenario
SOAP to Proxy or RFC
Regads
gAGan
Dear Gagan,
Thanks for your reply. So for this, do i need to make 2 WSDL's or one? IF it can be done in one WSDL, how could it be done? will i make 2 outbound and inbound interfaces for this? Currently, i am thinking to make 2 WSDL. One will display the leaves and other will update the status in ECC and acknowledge. If it can be done in one WSDL, how can i do it??
Regards
Hi Imran,
The second step could also be done using a SOAP to RFC scenario. You can use a BAPI to approve/request a leave request in the same way you can use a bapi
The decision of the manager will be sent to the BAPI using the web service, the BAPI can process the decision in the leave request.
Regards,
Victor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
Please see the link below for more information about mulitple operations in one wsdl.
Regards,
Victor
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.