cancel
Showing results for 
Search instead for 
Did you mean: 

Partner role cannot be processed by BAPI BAPI_PO_CREATE

Former Member
0 Kudos

Hi,

I am trying to create Purchase Order through inbound IDoc with the message type PORDCR and idoc type PORDCR04. I am facing a weird error

Partne role cannot be processed by BAPI BAPI_PO_CREATE

Message no. W5150

Diagnosis

Only the following roles are possible for BAPI BAPI_PO_CREATE:

  • IP - invoicing party
  • GS - goods supplier

I maintained all the required data to create the PO. The system shows that the vendor master is not valid, but I was able to create the PO with the same data using BAPI_PO_CREATE.

Please let me know how to resolve this.

Regards,

Dileep

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Jurgen,

Thanks for the reply. We are Processing with ALE Service . Do I need to have any additional setup in BD64?? I think im missing some configuration thing here.

Dileep

JL23
Active Contributor
0 Kudos

cant you use BAPI_PO_CREATE1 instead of BAPI_PO_CREATE?

there are no limitations for BAPI_PO_CREATE1 in regard of the partner roles

BAPI_PO_CREATE can really only those 2 partner roles that are mentioned in the error.

Former Member
0 Kudos

By default i think the system is taking BAPI_PO_CREATE. How can i use/select BAPI_PO_CREATE1 instead ??

JL23
Active Contributor
0 Kudos

Is't it in the partner profile transaction WE20  where you enter the message type that is used

Answers (1)

Answers (1)

Former Member
0 Kudos

Use the idoc type PORDCR01 instead of PORDCR04, which uses the BAPI_PO_CREATE1.