Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI for credit/debit memo?

Hello,

Does anyone know which BAPI I should take to post a credit or debit memo?

I searched this forum & I saw several solutions:

<b>- BAPI_ACC_DOCUMENT_POST</b>

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?

<b>- BAPI_CRED_MEMO_CREATEFROMDAT2</b>

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,

kind regards

Tags:
Not what you were looking for? View more on this topic or Ask a question