2007 Oct 23 8:52 AM
Hi,
When an incoming vendor invoice is HOLD (using HOLD button in MIRO, the invoice would be an G/L invoice, and at that time, the user is not sure about cost center or account, etc, so they just HOLD the invoice) in SAP. We can use BAPI_INCOMINGINVOICE_GETDETAIL to get what has been entered in that vendor invoice.
But after read the invoice data out, are there any BAPI I can use, to make some changes to the existing HOLD invoice (i.e. change the line cost center, account ), and POST that?
I am using a 4.7 system. BAPI_INCOMINGINVOICE_CHANGE does not exist.
Thanks in advance.
Hi Chenyu,
Check the fm given by Antonio.Use that fm and make your own rfc and get the details. Check this and post if need any help.
Regards,
Madhu.
2007 Oct 23 9:02 AM
BAPI-step by step procedure
http://www.sapgenie.com/abap/bapi/example.htm
list of all BAPI's
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Rewards if useful.........
Minal
2011 Sep 01 8:32 PM
Hi Chenyu,
to modify an held or parked invoice, you have mainly two options, depending on which release of SAP you are working on:
- BAPI_INCOMINGINVOICE_CHANGE, released on 24.05.2005 and available on ECC 6.0
- MRM_INVOICE_CHANGE, belonging to function group MR1M, which is not properly a BAPI, but a function at a lower level used by standard transactions such as MIRO and MIR4.
You can then post a parked invoice using fm MRM_PARKED_INVOICE_POST. An example of the code for doing this can ben found in method PreliminaryPost of Business Object BUS2081.
Best Regards,
Antonio
2011 Sep 02 2:31 AM
Hi Chenyu,
Check the fm given by Antonio.Use that fm and make your own rfc and get the details. Check this and post if need any help.
Regards,
Madhu.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |