BAPI for credit/debit memo?
Does anyone know which BAPI I should take to post a credit or debit memo?
I searched this forum & I saw several solutions:
But I'm posting my invoices via the BAPI BAPI_ACC_INVOICE_RECEIPT_POST & BAPI_ACC_BILLING_POST. I use this BAPI_ACC_DOCUMENT_POST for G/L postings. Isn't there a specific credit/debit memo bapi as there is for incoming & outgoing invoices?
This one I did not encounter in my BAPI list, so I don't ...trust this one
<b>- BAPI_INCOMING_INVOICE_CREATE with DOC_TYPE (CREDIT MEMO) field in BAPI_INCINV_CREATE_HEADER</b>
<b>Which one of these solutions works flawless?</b>
And: Could it be as simple as using the BAPI: <i>BAPI_ACC_INVOICE_RECEIPT_POST</i> & change the field OBJ_TYPE? Does SAP really looks at this field to determine which posting (invoice or credit memo) it is?
I can test a BAPI, but I cannot see the result in the BSEG table for example (since no real postings are made). I'm also not an ABAP person, I have to write the technical specification for the ABAP persons. Want to make sure I give them the correct information...
Tanks in advance,