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

Partner function problem in BAPI_PO_CREATE1

Former Member
0 Likes
3,043

Hi Sap Gurus,

I need small info, While creating Purchase orders using BAPI_PO_CREATE1 it is not allowing me to enter partner function details .I am getting below error.

i.e "Only one partner function per partner role can be generated". and pls let me know the solution .

( In detail, It is not allowing to update partner function details.and iam not getting what excact bapi structure for partner function details.here i found 'BAPIEKKOP' in tables option.but these fields are not matching with ME21N screen partner function fields . I want to update PARTNER FUNTCION, PARTNER NAME, DEFALT PARTNER.in bapi structure BAPIEKKOP there is no DEFAULT PARTNER instead of this there is DELETION INDICATOR.

Pls let me know the exact bapi structure and fields in BAPI ).

3 REPLIES 3
Read only

Former Member
0 Likes
1,491

Please check whether u have specified same vendor as in header as

Please read the document in the BApi_po_create1 in Se 37 .

Thanks

Read only

Former Member
0 Likes
1,491

[ PARVW ] : PARTNER FUNCTION....

this particular field determines weather s1 - sol to party

sh - ship to party

py - payer

bp - bill to party

based on this partner function only u r customer function ( weather it is bill to party or sold to party ........determined] ...i hope u got it now

see the structure BAPIEKKOP is Transfer Structure for Partner Roles in BAPI_PO_CREATE.that is concerned after the partner function determination.

Read only

ankurch
Active Contributor
0 Likes
1,491

Hi There,

I resolved this issue, pls try to pass the values in SY-LANGU, login language, i.e. - VN, GS & PI.

Thanks,

Ankur

Ankur Chauhan