2023 Mar 30 2:34 PM
Hi,
As per our Business process we have 2 step process for Vendor invoice posting.
step 1: create Vendor invoice using BAPI_INCOMINGINVOICE_SAVE OR BAPI_INCOMINGINVOICE_CREATE1.
Step 2 : Executing standard invoice process program(RMBABG00) to POST the parked invoice.
I have a requirement to create a Credit note for "without purchase Order " and "with Purchase order" cases.
For " without Purchase order case " i am able to park the invoice with some error message(provided some dummy delivery note) without posting using BAPI_INCOMINGINVOCE_SAVE---it is OK for the Business.
whereas for "With Purchase order case" i am calling BAPI_INCOMINGINVOICE_CREATE1 with INVOICE_IND = SPACE and status = 'A' (Park) but credit memo is not created. it throwing an error message "EDI: Error in customizing for differential invoicing".
my requirement is to create a CREDIT MEMO for "with purcahse order" using BAPI and it should always be in PARK status and it should not post even after program RMBABG00(Invoice Posting) executes. Business person verifies it and they post manually once it is OK.
Someone please provide me the solution. Thanks
2023 Mar 31 9:11 AM
Hi,
I cleared it myself. In HEADER structure i am passing INV_TRAN = '2'. hence it is not creating any document for credit note. i cleared this and working fine.
2023 Mar 31 9:11 AM
Hi,
I cleared it myself. In HEADER structure i am passing INV_TRAN = '2'. hence it is not creating any document for credit note. i cleared this and working fine.