Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_PO_CREATE

I AM CREATING PURCHASE ORDER (ME21N) FROM BAPI ,

BAPI_PO_CREATE AND I AM GETTING FOLLOWING ERROR/

I have put 'U' in account assignment thats why it is showing 1st error and due to 1st error 2nd error is coming ..

when i am creating po manually then it is accepting 'U' but thru bapi it is throwing below error , plz help.

1	E	ME069	Unknown account assignment not defined for use here
2	E	06010	Document contains no items

Thanks

Tags:
Former Member
replied

You may need to assign these fields only:*

Fill bapiekko
  ekko_b-doc_date   = i_bedat.
  ekko_b-doc_type   = i_bsart.
  ekko_b-co_code    = i_bukrs.
  ekko_b-pur_group  = i_ekgrp.
  ekko_b-purch_org  = i_ekorg.
  ekko_b-agreement  = i_konnr.
  ekko_b-vendor     = i_lifnr.
  ekko_b-suppl_plnt = i_reswk.

Account assignment would be pick from material master automatically.

Edited by: Ámit Güjärgoüd on Sep 29, 2008 10:13 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question