Skip to Content
Mar 25, 2015 at 10:34 PM

How to



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 ?