Application Development 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: 

BAPI_PO_CREATE1 problem with partners (popartner)

Former Member
0 Kudos

Hello everyone!

I'm trying to create Purchase Order with BAPI_PO_CREATE1 and having the error message ME(354) "Please enter a partner role

".

The table POPARTNER:

AP |EN |0000042399

POHEADER:

PO_NUMBER C 10

COMP_CODE C 4 SNNG

DOC_TYPE C 4 NG01

DELETE_IND C 1

STATUS C 1

CREAT_DATE D 8 20100623

CREATED_BY C 12

ITEM_INTVL N 5 00010

VENDOR C 10 0000044142

LANGU C 1 R

LANGU_ISO C 2

PMNTTRMS C 4 0030

DSCNT1_TO P 2 0

DSCNT2_TO P 2 0

DSCNT3_TO P 2 0

DSCT_PCT1 P 3 0.000

DSCT_PCT2 P 3 0.000

PURCH_ORG C 4 2008

PUR_GROUP C 3 522

CURRENCY C 5 RUN

CURRENCY_ISO C 3

EXCH_RATE P 5 0.00000

EX_RATE_FX C 1

DOC_DATE D 8 20100427

VPER_START D 8 20100514

VPER_END D 8 00000000

WARRANTY D 8 00000000

QUOTATION C 10

QUOT_DATE D 8 00000000

REF_1 C 12

SALES_PERS C 30

TELEPHONE C 16

SUPPL_VEND C 10

CUSTOMER C 10

AGREEMENT C 10

GR_MESSAGE C 1

SUPPL_PLNT C 4

INCOTERMS1 C 3

INCOTERMS2 C 28

COLLECT_NO C 10

DIFF_INV C 10

OUR_REF C 12 51

LOGSYSTEM C 10

SUBITEMINT N 5 00000

PO_REL_IND C 1

REL_STATUS C 8

VAT_CNTRY C 3

VAT_CNTRY_ISO C 2

REASON_CANCEL N 2 00

Partner 0000042399 has data for EKORG 2008

2 REPLIES 2

martin_voros
Active Contributor
0 Kudos

Hi,

you can put break point inside FM MM_PARTNER_CHECK which returns that message. You should see what the problem is.

Cheers

Thx for advice

The problem was the absence of record in the table TPAUM.

(IMG>Materials Management>Purchasing>Partner Determination>Partner Roles>Maintain Language-Dep. Key Reassignment for Partner Roles)