Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update Partner information in PO

arindam_samanta
Participant
0 Kudos
1,901

Hi Experts,

I want to update the manufacturer number under partner tab in a existing PO. In business, we have maintained the manufacturer numbers for the Vendor.

Now in existing PO, want to update this manufacturer number under Partner tab. If I see the EKPA table, then all the manufacturer number available for the particular PO number.

I want to update one manufacture number for custom manufacture function. The field is EKPA-PARVW.

I am using BAPI_PO_CHANGE. It is throwing an error - "Please enter the partner role'. How to resolve this? Need guide. I debugged. This error is coming from

Is there any standard FM to update the manufacturer number under Partner Tab.

Thanks & Regards,

Arindam.

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Kudos
934

Did you provide the POPARTNER-PARTN_ROLE (PARVW) field in internal format or in external format with language code (Easy solution is "first read with BAPI_PO_GETDETAIL1)

Regards,

Raymond

Read only

0 Kudos
934

Hi Raymond ,

In that structure, I am passing value too the fields -

PARTNERDESC = 'XX'

LANGU = 'E'

BUSPARTNO = new Manufacture Number

With these set of values,

I am getting the error.

Thanks,

Arindam.

Read only

Former Member
0 Kudos
934

Hi Arindam,

As per the BAPI documentation below.

"Partner roles:

You can change all partners except the partner role "vendor" via the

PoPartner table."

Please check your partner role(PARVW) for  the BUSPARTNO you are entering should not be of 'Vendor".

Regards

Pallavi.

Read only

0 Kudos
934

Hi Pallavi,

Thanks for your reply. Its true. Is there any way to update partner number where partner role is 'VENDOR'?

Is there any other standard FM to update this?

Regards,

Arindam Samanta.

Read only

arindam_samanta
Participant
0 Kudos
934

Hi Experts,

As I cant update partner number where partner role is 'VENDOR' through BAPI_PO_CHANGE, is there any other BAPI or standard FM to update the partner number for a PO?

Can anyone help me out from this?

Regards,

Arindam Samanta.