Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2740

Re: Radio buttons and drop-down

$
0
0

Hi Diana,

 

if you have your dropdown configured like this:

ssp3.0_dropdown_properties.png

it should be a simple script like this:

 

 

var transaction = session.findById("wnd[0]/usr/cmbPersonas_1453131673643").key;          //this is the reference to your dropdown

 

 

switch (transaction) {

  case "1":

  session.callTransaction("MM01"); break;

  case "2":

  session.callTransaction("MM02"); break;

  case "3":

  session.callTransaction("MM03"); break;

  default:

  session.utils.log("No transaction chosen");

}

 

Didn't evaluate it by now due to system maintenance but it should work like this.

 

@Edit: Did a short check, works fine for me. Just enter your transaction codes and the reference to your dropdown box.

 

 

Regards,

Christoph


Viewing all articles
Browse latest Browse all 2740

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>