on 05-17-2007 4:36 PM
Hi expert guys
in a page portal with 2 iview (bsp iview and visual composer iview) i want send a string value from a Bsp application to a visual composer signal in:
<b>BSP APPLICATION:</b>
<HTML>
<%= runtime->session_manager->header_script( ) %>
<HEAD>
<SCRIPT src="/sap/bw/Mime/BEx/javascript/epcfproxy.js"></SCRIPT>
<body>
.......abap code.......
a href="#" onClick="epcmproxy.raiseEvent( "urn:com.sap.vc:epcm", "signalname", "value", null );">
COMUNICATION TEST </a>
</BODY></HTML>
in a bsp application I have activated "support portal event"
<b>VISUAL COMPOSER</b>
input signal (name: signalname; EPCMevent: com.sap.vc:epcm; input
field: strsignal; type text ) mapping to a form view.
<b>RESULT:</b>
when i click link in BSP, in a VC application the event is captured but strsignal variable is "undefinited"
<b>
HELP ME!!!</b>
tanks.
ok, is a map problem in a bsp application , but i tested also this..
<script language="JavaScript">
........
var variable = {name : strsignal, value : "kjdsfkjdsff" }
var variable2 = {name : "strsignal", value : "kjdsfkjdsff" }
........
</script>
........
a href="#" onClick="epcmproxy.raiseEvent("urn:com.sap.vc:epcm","signalname",variable,null)">
a href="#" onClick="epcmproxy.raiseEvent("urn:com.sap.vc:epcm","signalname",variable2,null)">
a href="#" onClick="epcmproxy.raiseEvent("urn:com.sap.vc:epcm","signalname",variable.value,null)">
but the result is same..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont have understanding about BSP application.. Just an observation..
Are you defining strsignal somewhere in your BSP application? I jsut saw a signal name in raiseevent and in VC, can see an input field name as strsignal...
How does it map if same variable names are not used?
Regards,
Sooraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.