on 12-11-2018 5:02 PM
Hi All,
I am looking for BAPI to post MIRO with simulation (read the data once I pass the PO number).
And post the Invoice. Appreciate if you mention the BAPI if you know and sample code is appreciated.
Thank you
Iver
Hi Iver,
BAPI_INCOMINGINVOICE_CREATE1 should meet your needs. It can Hold, Park, Park as complete, and Post by using the import parameter InvoiceStatus. "Hold" is probably what you are looking for to do a simulation. Here is the BAPI documentation on "Hold"... "The system saves an incomplete invoice document and carries out minimum checks to determine if there is a company code, for example. The purchase order history is not updated, nor is data posted to financial accounting." Read the Function Module Documentation for this BAPI; it is well-documented. Also, if you search this BAPI you can find code examples in the SAP Community.
Respectfully,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.