cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Execution of Planning Functions question

Former Member
0 Kudos

It's been a few months since I used the "Automatic Execution of Planning Functions" setting in the manual planning layout.

I'm trying to run a currency translation function automatically when a user enters or changes layouts.

Does this setting only work for BPS0 or Planning Folders, and not on the web?

For some reason I can't get the currency translation to work on my web templates.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member195980
Active Participant
0 Kudos

In the Web Interface Builder, there is a parameter for the layout item where you can define a function to autamatically execute after data chances.

Regards,

Beat Stoller

Former Member
0 Kudos

Hi Beat,

Thanks for your reply. I am aware of the WIB paramter, but it is not what I am looking for. I only want the function to run automatically upon entering or navigating away from the layout, not every time that data is entered.

GFV
Active Contributor
0 Kudos

Hi Frank,

if I understood well a possible solution could be this, to execute the automatic Planing Function in the WIB:

1 - create a Button "not visible" and link the PF you need

2 - change the Layout element so that the "Function After Data Change" is the Button just created

As per my knowledge the automatic PF execution works differently in WIB.

Hope it helps ...

GFV

Answers (2)

Answers (2)

Former Member
0 Kudos

Automatic Execution of Planning Function that you have in Planning Folders does not work for Web layouts. If you have a planning function defined as Execute Befroe layout Display in Planning Folder then that function will be brought over as a PushButton in WIB. This is clearly stated in help section.

Hope this helps

Thanks

B

Former Member
0 Kudos

Hey Frank. Kory Squire here. I had a similar situation with layouts for entering Management Cockpit data. I have FOX formulas that validate data entry and an error message is raised if data is incorrect. I bundled these into a local planning sequence, then added this to the planning folder with the properties 'Execute Function before Layout Change.' I created the Web layout based on this planning folder. When a user enters data in the web layout, each time they press enter, click the check/save buttons, the sequence is triggered. So in our case, the settings in the planning folder seem to have carried over into the web layout.

Take care

Kory

Former Member
0 Kudos

Thanks Kory. I believe this should work on the web also. It helps party, but I also want the function to run automatically when the user clicks on another layout tab, not just save/refresh.

Thans again.

Former Member
0 Kudos

Hi Frank,

See if this function module helps, for Automatic execution of Planning Function

UPC_PLANFUNCTION_EXECUTE

Hope it helps.

Cheers

Anurag