on 03-12-2013 4:08 PM
Hi,
I am trying to create an app which creates a purchase requisition in our SAP ECC system. I am creating a gateway service using a BOR generator. I plan to use the following
PurchaseRequisition BOR
GetItems - for the QUERY operation
GetDetail - for the READ operation
CreateFromData1 - for the CREATE operation
However after I create and generate the service for the QUERY operation and try to test it in a browser, I get this error,
<message>Please pass on parameter for open or closed purchase requisitions</message>. I'm not sure what parameter to pass and if I've mapped it GetItems correctly. This is what my mapping looks like,
Regards
Jing Jing Tao
Hi Jing,
Could you please help me with the approach you took to build a purchase requisition app as I have a similar requirement.
Which BOR object did you used and steps used for building the service would be a great help.
Thanks,
Amitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amitesh,
About the BOR/RFC:
Are you using an IDES ECC system? I can only advise on BORs or RFCs from an IDES system.
About the model/service:
If you first make sure you have Netweaver Gateway SP 06 or above, because it will be easier with this to build the service.
If you follow videos like this, SAP NetWeaver Gateway Tutorial: Service Builder Part 1 - YouTube
it explains how to build the service from the beginning.
Unfortunately I will be slow to respond, but I will try help you when I can.
Regards
Jing Jing Tao
Hi Jing,
Thanks for the reply. I am working on a hub deployment where IDES system is my backend system.
I went through the tutorial and could get the crux of that.
But I proceed to build a workflow service for PR approval at item level I am facing some difficulties.
Could you please help me with the following points mentioned below.
1) Which RFC's did you used to build the service.(I found BAPI_REQUISITION_GETDETAIL and BAPI_PR_GETDETAIL , but both of these return complete line items,my requirement is getting the detail per item)
2) How the models are build.
3)I need only the item level information of the PR.
4)Once I get that I can use WFHUBSERVICE to approve/reject the item.
So in nutshell I need give the PR no and Item and get the information like account assignment,texts,etc
Thanks in advance.
Amitesh
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.