cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pass new partner function to Order API

former_member835160
Discoverer
0 Kudos
449

Good day!

I would like to know if anyone has worked on the how to add a new partner function in an order API, I had added a Z partner function to a transaction type through customizing in partner determination procedure. But the partner function added through config doesnt appear in the API.

Attached json file

op-api-bus-solution-quotation-srv-0001.txt

---------------------------------

Below json file text for partners - by standard sold to, ship to, payer etc are available

"SoldToParty",

"ShipToParty",

"BillToParty",

"PayerParty",

"PersonResponsible",

"ContactPerson",

By default the above partner functions are available in the json file. How to add new partner functions added to the transaction through config.


Thanks,

Nipoon

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member835160
Discoverer
0 Kudos

Thanks Pranay for the response. I was looking to pass the partner function in Solution quotation transaction.

pagarwal997
Participant

Understood Nipoon. We had similar requirements before and have taken the following approach:

  1. Create a custom field and add this field to the API (should be easy to do with Custom Fields and Logic app). Then ask the developer to copy the data from custom field to the partner function tab
  2. Configure a text ID, pass the data in the text ID and ask the developer to copy the data from text field to the partner function tab

Thanks!
Pranay

pagarwal997
Participant
0 Kudos

hi - are you looking for standard order or service/business solution order?

the API for standard order is -- https://api.sap.com/api/OP_API_SALES_ORDER_SRV_0001/resource

There is a "to_Partner" entity where you can pass your Z* partner function in "PartnerFunction" and the BP number in "Customer" field.