Skip to Content
0
Oct 03, 2018 at 02:53 PM

Execute a planning sequence after prompt

2589 Views

Dear all,

I need to execute a planning sequence once the user has filled the required values in the prompt.

This can be achieved in an easy way by using the following sentence in the Workbook_SAP_Initialize() section,

lResult = Application.Run("SAPExecutePlanningSequence", "PS_1")

Unfortunately only will work the time the template is opened the fist time, not once the prompt is executed with the template opened.

The callback "AfterRedisplay" does not allow the execution of sequences and functions to avoid endless loop, so not too much options.

Does anybody achieve something similar?

Much appreciated.

Carlos.