I have a requirement to create an invoice with reference to Delivery note. i am using BAPI_INCOMINGINVOICE_CREATE1 but invoice number is generated without delivery note in it and i don't see any option to pass Delivery note data. I can not use BAPI_INCOMINGINVOICE_SAVE as it posts the invoice if data is correct after executing program RMBABG00. My requirement is invoice should create with Delivery note and with PARKED status only. Invoice is created but delivery number is missing.
Some body provide me the answer to which structure or Field i need to pass the delivery note with BAPI_INCOMINGINVOICE_CREATE1. Screenshot is attached for referencedeliverynote.jpg