Sales document No not updating in MIRO
In case of third party scenario, when we are creating the invoice receipt via MIRO with PO reference, It's creating the MIRO document successfully and updating thee sales order no and item at line item level. But when it's created via a Third party by calling the RFC BAPI_INCOMINGINVOICE_CREATE called through a WEB Service/Business connector, It's creating a document, but not updating the Sales order document no and item at line item level in the MIRO document.
Could you please help me solving this.
Even when i am creating the MIRO document throough the BAPI in SE37, it's creating & updating the sales document/Item No . I am not sure, why it's not updating when called via RFC from third party.