Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI for the Transaction MIRO

Former Member
0 Likes
5,647

We would like to do an automatic invoice verification of all delivery costs for items which have been delivered and for which invoices for delivery costs have not been posted

The Miro transaction needs to be run automatically. The user will give vendor ( could be multiple ) and Plants ( Multiple) and perhaps tax codes the system should select all the items for which delivery costs are pending and Goods receipt has been done. It should take one vendor at a time and post invoice for all Pos wih delivery costs for that vendor. Total amount of the vendor along with tax to be derived either by entering enter so the system gives the cost and this should be entered in the invoice amount and the document posted. ( Derivation of profit centres also as per system logic may need to be considered).

what BAPI, i can use for this posting ?

[Friendly reminder to check forum topics before posting...also use the search as you may already find your answer]

Message was edited by: Marilyn Pratt

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
2,630

Hi!

There are some BAPIs for MIRO functions. If invoice is OK, then BAPI_INCOMINGINVOICE_CREATE can be used.

If some open questions exists, then BAPI_INCOMINGINVOICE_PARK will be better. Afterwards BAPI_INCOMINGINVOICE_CHANGE and BAPI_INCOMINGINVOICE_POST can be used to finish the document.

Something to the 'please search yourself' comments: maybe we see already the disadvantage of BPX: apparently it's not so easy to know business and design process AND know the technical ways...

At least I'm glad if I could help,

regards,

Christian

We would like to do an automatic invoice verification of all delivery costs for items which have been delivered and for which invoices for delivery costs have not been posted

The Miro transaction needs to be run automatically. The user will give vendor ( could be multiple ) and Plants ( Multiple) and perhaps tax codes the system should select all the items for which delivery costs are pending and Goods receipt has been done. It should take one vendor at a time and post invoice for all Pos wih delivery costs for that vendor. Total amount of the vendor along with tax to be derived either by entering enter so the system gives the cost and this should be entered in the invoice amount and the document posted. ( Derivation of profit centres also as per system logic may need to be considered).

what BAPI, i can use for this posting ?

[Friendly reminder to check forum topics before posting...also use the search as you may already find your answer]

Message was edited by: Marilyn Pratt

2 REPLIES 2
Read only

Former Member
0 Likes
2,630

and <a href="https://forums.sdn.sap.com/search!execute.jspa?dateRange=last90days&forumID=50&objID=f50&q=miro">searching the forum</a> is so simple, I don't know why people don't use it often before posting a question.

Read only

christian_wohlfahrt
Active Contributor
0 Likes
2,631

Hi!

There are some BAPIs for MIRO functions. If invoice is OK, then BAPI_INCOMINGINVOICE_CREATE can be used.

If some open questions exists, then BAPI_INCOMINGINVOICE_PARK will be better. Afterwards BAPI_INCOMINGINVOICE_CHANGE and BAPI_INCOMINGINVOICE_POST can be used to finish the document.

Something to the 'please search yourself' comments: maybe we see already the disadvantage of BPX: apparently it's not so easy to know business and design process AND know the technical ways...

At least I'm glad if I could help,

regards,

Christian