Skip to Content
Former Member
Nov 22, 2017 at 03:05 AM

How to Call a Script Logic (LGF) file from VBA macro?


Good Day,

I would like to know if there is a way to call the script logic (.lgf) file from vba macro?

What I'm trying to achieve is for the user run the data manager package through Excel button by using VBA macro.

I managed to achieved that through this tutorial "How to Call BPC Data Manager Package from Visual Basic", which is very helpful.

However, I realized I will need to execute the script logic, which contains BADI as well.

Therefore, is there a code which I can include into the existing macro provided by the tutorial that will trigger the script logic file too?