Hi Folks
We are using BAPI_POEC_CREATE to create a purchase order in SRM 7 with standalone scenario.
When the PO is created its going to saved mode with error
050 Partner of type Supplier is not authorized for this document; check entry
I found that the BAPI is generating partner function 00019 at item level as well along with Header due to which we are getting this error.
We are basically passing three partners to the BAPI i.e. goods recipient, requestor and supplier.
Can anyone help me resolve this issue and pass the right data to table partners while creating the PO through BAPI.
My assumption is somewhere there is a differentiator we need to pass so that the bapi identifies that partner function 00019 should be generated only at header level and not at item level.
Regards
Ushir