Showing results for 
Search instead for 
Did you mean: 

How to

Active Contributor
0 Kudos


I have  page2 called from a default page1 and want to pass the value from java script to abap event. to do this i created a hidden variable in bsp page and in java script i mapped the hidden value. Now the question is how can i explicitly trigger an event without clicking any button as i do not have any?

below is the snapshot of my code:

page 2



    <script language=javascript>

      function getURLParam()


         var url_imp = this.location.href;

         var url_exp = document.getElementById("url_hdn");

         url_exp.value = url_imp;



        function raiseAlert(msg)







    <htmlb:page onLoad="getURLParam()" >

      <htmlb:inputField id      = "url_hdn"

                        visible = "FALSE" />




Please can anyone help on how to trigger a event which would help me to read the data in "url_hdn". This helps me to read a config table to create a table view for 'n' rows and cols. any inputs ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Active Contributor
0 Kudos

used onload event

0 Kudos