on 03-13-2009 2:18 AM
Hi Guys,
I'm trying to implement a simple interactive form which is embeded in a abap webdynpro program.
I've set the interactive form properties as following:
displayType: native
enabled: X
onSubmit: CLICK
and there has been a action "CLICK" with event handler and corresponding method implemented.
For the interactive form i have drag and drop a submit button for webdynproAciveX group, and doens't change anything for this button. I check the "*click" of this button and it is run at Client.
When I run this webdynpro program, the button is there, if i move my mouse onto this button, the mouse will change to hand shape. But if i click this button, it doesn't look like it has been really pushed down and up, I also tried the external debug of the OnClick method, I cannot get into the debug either.
Do you have any idea what might be the problem?
Thanks in advance,
Mao
I tried to add something into the script of the click of the button:
this.presence = "hidden";
// DO NOT MODIFY THE CODE BEYOND THIS POINT - SubmitToSAP.xfo
app.eval("event.target.SAPSubmit();");
this.presence = "visable";
{/code}
the button is disappeared after I click it, but still it doesn't get into the debug mode.
so i guess there's something wrong when execute
app.eval("event.target.SAPSubmit();");
Any suggestion?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
I found there's no WebDynproNative group in my adobe lifecycle designer and then I upgrade it from 7.1 to 8.0. After that I found this group, and the script generated is
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
{/code}
But still when I click the button it cannot triger the breakpoint i've set in the event handler ONACTIONCLICK.
BTW, i've already set the "CLICK" to the onSubmit event on webdynpro view screen.
Do you have any other suggestion?
Thanks,
YiNing
Hi,
When you are in the transaction SFP , then in the SAP tool bar you'll find the "Utilities" Menu bar, there you will be able to find the "Insert WebDynpro Script", when you click on this you'll in the Form in Heirarchy Pallete under the Variables you can see a script Object named "ContainerFoundation_JS" is being inserted. And Other Important thing is in the Properties tab of the SFP Transaction there select the Layout type as "ZCI Layout".
And when you insert the Submit button from the Library Pallete under "WebDynpro Native", then you'll find the below code in the Script Editor
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
Regards
Pradeep Goli
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.