With this API method, you can execute a planning sequence. Planning sequences are maintained in the Components tab in the design panel.
To call the method, use Application.Run and specify the following input parameters:
Enter the formula alias of the planning sequence. You can set the alias when configuring the planning sequence on the Components tab in the design panel.
Dim lResult As Long
lResult= Application.Run("SAPExecutePlanningSequence","PS_1")
If you select this command, planning sequence PS_1 is executed.