cancel
Showing results for 
Search instead for 
Did you mean: 

how we used JavaScript in Rule Entry Point Window

mohit_tyagi
Participant
0 Kudos

Hi Experts

How we can use JavaScript functions in  Rule EntryPoint window.please share if you have any example code. also how we can display an alert and prompt using JavaScript from update rule.

Regards

Mohit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can see how to use Javascript in a rule at Please see SAP note 1945053.  Then you change it for when you need.

I don't believe you can use javascript to do a pop-up.  There are Action Step messages for that.

Stephen

mohit_tyagi
Participant
0 Kudos

Thanks Stephen

but actually I want to show a alert and than call a Action using JavaScript in a rule.So can you provide me any solution?

Mohit

Former Member
0 Kudos

You can't use a Javascript popup.

Subactions can call different actions based on a rule. but this actions can't be called from withing the javascript function of the rule.