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

problems with BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Likes
784

Hi there , I posted another 3ad but I discovered some mistakes in the report I am reparing, seems in fact that the documents create with this bapi are uncomplete, so they can't be cleared using the F13E transaction,

the only table filled are the header data and the positions with these fields filled :

header :

INVOICE_IND X

DOC_TYPE NO

DOC_DATE 20060630

PSTNG_DATE 20061223

REF_DOC_NO 10100

COMP_CODE GE02

DIFF_INV 114670

CURRENCY EUR

CURRENCY_ISO EUR

GROSS_AMOUNT 403.200

CALC_TAX_IND X

PMNTTRMS 1

items :

INVOICE_DOC_ITEM 1

PO_NUMBER 3200012907

PO_ITEM 10

REF_DOC 5300066589

REF_DOC_YEAR 2006

REF_DOC_IT 1

TAX_CODE 20

ITEM_AMOUNT 336.000

QUANTITY 40.000

PO_UNIT ST

PO_PR_UOM ST

ITEM_TEXT VIGORSOL MENTA LIQ X20

GRIR_CLEAR_SRV X

does someone notes some missing fields that can cause the not processing in clearing ?

3 REPLIES 3
Read only

Former Member
0 Likes
642

you can try to check which fields need to be input in Online t-code screen, maybe MIRO.

And please also aware some data will be automatically appear in online screen, also need you to manipulate in BAPI mode.

Read only

Former Member
0 Likes
642

See the Thread

Read only

Former Member
0 Likes
642

Hi there , thank you all for your answer but :

The document are created by BAPI with the same fields of MIRO transaction, seems that I got no problem in creating... but when I try to clear them something does not works...