‎2006 May 05 10:53 AM
Dear experts,
We want to use an SAP BAPI to interface external invoices & G/L documents (comming from an Access program). The invoices are without purchase order.
We would use for vendor invoices: BAPI_ACC_INVOICE_RECEIPT_POST
Structure: BAPIACHE03 - header information
Structure: BAPIACAP03 - payable line item
Structure: BAPIACGL03 - G/L line item
Strucutre: BAPIACTX01 - tax line item
Structure: BAPIACCR01 - currency/exchange rates
For customer invoices: BAPI_ACC_BILLING_POST
Structure: BAPIACHE01 - header information
Structure: BAPIACAR01 - receivable line item
Structure: BAPIACGL01 - G/L line item
Strucutre: BAPIACTX01 - tax line item
Structure: BAPIACCR01 - currency/exchange rates
For G/L postings: BAPI_ACC_GL_POSTING_POST
Structure: BAPIACHE08 - header information
Structure: BAPIACGL08 - G/L line item
Structure: BAPIACCR08 - currency/exchange rates
Now, my questions on the BAPI's are:
1) How can we test the BAPI to check that it does what it is supposed to do?
I know so far to do that via SE37 + enter BAPI name + press key 'F8' -> enter all the data + click 'execute'
But I got error messages (when I check after running the table 'return'):
- first was OBJ_TYPE & OBJ_SYS on the header structure: searched on the internet & found to enter OBJ_TYPE: BKPFF & OBJ_SYS: RD1CLNTXXX (XXX replaced by the SAP client number). Now that error is gone, but if I solved it correclty, that I don't know. Will it post with those entries?
- "FI/CO interface: Line item entered several times": what does this mean? How can I get more info on an error (clicking on it does not work) + how can I solve this problem?
- Error in document: BKPFF 0058400017CH022006 RD1CLNTXXX keeps popping up, don't know either what this means?
2) If all my errors dissapear, normally the invoice should be posted that I enter in the BAPI test? Anything else I need to know to do a successful test?
3) How can we send a credit memo through those BAPI's? Since there is no indicator for invoice or credit memo(posting key is not a field in the BAPI). There is no BAPI for credit memo's either...
4) The exchange rate is in a separate structure (and not in the header as this is the case for an internal invoice, table BKPF normally): how is it linked (since no document number is kept in the exchange rate structure, only line item number)? Is the exchange rate structure linked to the G/L line item by line item number?
Thank you all in advance
Kind regards
‎2006 Nov 15 7:55 PM
> - "FI/CO interface: Line item entered several times":
> what does this mean? How can I get more info on an
> error (clicking on it does not work) + how can I
> solve this problem?
Does anybody have an answer to the above question?
Thanks!
‎2006 Nov 17 1:43 PM