Skip to Content
author's profile photo Former Member
Former Member

Partner role cannot be processed by BAPI BAPI_PO_CREATE

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

error.jpg (89.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 03, 2013 at 03:06 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2013 at 12:53 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.