Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Itu00B4s possible use a bapi inside a macro?

Hello APO experts!!

We need to create a macro that will have to get the values of the independent demand of some sku´s and check the capacity of the productive resources...if the demand is less than the capacity, more demand (independent necessities) will have to be created to fullfill it.

There will be a lot of calculations besides the use of a bapi.

It´s possible to use a bapi inside a macro?

If you have any suggestions, please tell me.

Thanks a lot!!

Regards

Angela

Former Member replied

yes, you would do it via an ABAP macro.

be careful with how this interacts with default macro logic in the sense that a BAPI reads data that is in the database (LC) so you may end needing to hit the save key after the macro call if you want to re-run the macro.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question