2014 Mar 11 11:56 AM
Hi all,
We are using F-65 to park FI documents .This tcode is used in entering various travel expenses into SAP.
I have read that using BAPI_INCOMINGINVOICE_PARK, one can achieve this functionality.
HEADERDATA:
INVOICE_IND = 'X'.
DOC_DATE = '11.03.2014'
PSTNG_DATE '11.03.2014'.
COMP_CODE = 'CSPL'.
GROSS_AMOUNT = 100.
ITEM_TEXT = 'TEST VOUCHER CLAIM'...... and also the G/L acct data and acct data i have entered.
My issue is that the BAPI is returning errors that PO NUMBER, PO_ITEM, INVOICE_DOC_ITEM is to be entered into ITEMDATA
and also MATERIAL,DB_CR_IND,VAL_AREA and TAX_CODE is to be entered into MATERIAL.
Can anyone tell me why do i need to enter all this? I have read all such related posts,but everywhere PO no is entered.
While creating in F-65 manually ,we do not enter PO no and these data,since for voucher claims, no PO is generated. Still the document gets parked.
Then why are these field mandatory in the BAPI? Is there any other BAPI to achieve this funtionality?
2014 Mar 11 12:40 PM
This BAPI is expecting MM invoice relative to actual PO, the corresponding transaction is MIRO and not F-65.
Better look for a FI BAPI using search tool with keywords PARK and BAPI_ACC_DOCUMENT_POST as this question is now a FAQ. But if your system is too up-to-date, read first (or ask someone allowed to service) .1951302 - Document parking through BAPI_ACC_DOCUMENT_POST .
Regards,
Raymond
Hi all,
We are using F-65 to park FI documents .This tcode is used in entering various travel expenses into SAP.
I have read that using BAPI_INCOMINGINVOICE_PARK, one can achieve this functionality.
HEADERDATA:
INVOICE_IND = 'X'.
DOC_DATE = '11.03.2014'
PSTNG_DATE '11.03.2014'.
COMP_CODE = 'CSPL'.
GROSS_AMOUNT = 100.
ITEM_TEXT = 'TEST VOUCHER CLAIM'...... and also the G/L acct data and acct data i have entered.
My issue is that the BAPI is returning errors that PO NUMBER, PO_ITEM, INVOICE_DOC_ITEM is to be entered into ITEMDATA
and also MATERIAL,DB_CR_IND,VAL_AREA and TAX_CODE is to be entered into MATERIAL.
Can anyone tell me why do i need to enter all this? I have read all such related posts,but everywhere PO no is entered.
While creating in F-65 manually ,we do not enter PO no and these data,since for voucher claims, no PO is generated. Still the document gets parked.
Then why are these field mandatory in the BAPI? Is there any other BAPI to achieve this funtionality?
2014 Mar 11 12:40 PM
This BAPI is expecting MM invoice relative to actual PO, the corresponding transaction is MIRO and not F-65.
Better look for a FI BAPI using search tool with keywords PARK and BAPI_ACC_DOCUMENT_POST as this question is now a FAQ. But if your system is too up-to-date, read first (or ask someone allowed to service) .1951302 - Document parking through BAPI_ACC_DOCUMENT_POST .
Regards,
Raymond
2014 Mar 12 11:52 AM