Skip to Content
avatar image
Former Member

Error in BAPI_PO_CREATE1 imputing WBS Element

hi,

I'm trying to create a service purchase order (ME21N) tied to a purchase requisition using BAPI_PO_CREATE1. The purchase requisition is imputed to Project (WBS Element). I have not been able to create, the BAPI generates an error KI235 "Account & requires an assignment to a CO object" The account 123456 is not set in OKB9 table. However, when I create a service purchase order using the same bapi with this account but charged to cost center, works perfectly. However, I need to create it imputing WBS element.

I filled the following relevant fields to the BAPI:

POITEM-PO_ITEM : 00010

POITEM-SHORT_TEXT : Texto

POITEM-PLANT : 'CENTRO'

POITEM-MATL_GROUP : 'GRUP'

POITEM-QUANTITY : 1

POITEM-PO_UNIT : 'ACT'

POITEM-NET_PRICE : 10

POITEM-ITEM_CAT : '9'

POITEM-ACCTASSCAT : 'P'

POITEM-PREQ_NO : 2000001500

POITEM-PREQ_ITEM : 00010

POITEM-PREQ_NAME : 0000012000

POITEM-PCKG_NO : 0000000100

POACCOUNT-PO_ITEM : 00010

POACCOUNT-SERIAL_NO : '01'

POACCOUNT-GL_ACCOUNT : '123456'

POACCOUNT-WBS_ELEMENT: 'PEP_ELEMET'

POACCOUNT-CO_AREA : 'SCOS'

POACCOUNT-PROFIT_CTR : 'CTRBENEF'

POACCOUNT-FUND : 'FUND'

POACCOUNT-CMMT_ITEM : '0000123456'

Best Regards,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 20, 2014 at 12:21 AM

    After a long investigating process, implementing the following note solved the problem: 1977169.


    Best regards.





    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Rafael,

      we are also facing same issue. we implemented the above note ,but it is not working.Could you please suggest the solution which will solve this.the above describes the CHNAGE Bapi.we are facing the issue when PO Creating.