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

error while using bapi BAPI_INCOMINGINVOICE_CREATE to post MIRO

Former Member
0 Likes
525

Hi Friends,

Im using bapi BAPI_INCOMINGINVOICE_CREATE to post MIRO.

im passing data to table GLACCOUNTDATA.

Below are the table fields im paasing

INVOICE_DOC_ITEM " '000001' deafault always

GL_ACCOUNT "Which is constant for all in my case

ITEM_AMOUNT " Total PO net amt + Frieght charges header level

DB_CR_IND " 'S' always default

COMP_CODE " 'RPPL' always default

TAX_CODE " 'V0' deafault always

PROFIT_CTR " for ex 1100180. based on plant

While posting this bapi is trhrowing error as below

'profit centre RPPL/1100180 does not exist for 01.12.2008'

where 01.12.2008 is the MIRO posting date which im passing in header.

We checked dates for profit centres they are correct.

Awaiting the reply ASAP.

Regards,

Venky

1 REPLY 1
Read only

Former Member
0 Likes
361

Hi,

It would be better if you do a recheck on data input for BAPI. If you sure the data are ok but the BAPI still gives error message, then I suggest to post to OSS.

Regards,

Teddy Kurniawan