on 02-20-2010 10:37 AM
Hi Experts,
I am new to adobe forms and facing a very strange problem. I have 2 buttons on my interactive form "SUBMIT" & "APPROVE" , now the problem is whenever i load my application(Webdynpro ABAP) for the first time and click any of the 2 buttons the event
ONSUBMIT of the ui element Interactive form is not caught(control doesnt reach the event) , but when i click any of these buttons from the second time the control reaches the breakpoint successfully.
I donot understand where i am going wrong , is there some java script that needs to be written in the initialise event of the buttons to make them trigger the event from the first click itself.
Thanks In Advance,
Chaitanya.
May be you are missing the Web Dynpro script which needs to be added in the form application. Do a little bit of Search on SCN and you will find it out.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan,
Thanks for your replies, there wasnt any specific reason for using check field buttons was just experimenting with the component.
Script in the Click event for button 1:
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 802.20071213024549.437972.422152 - SubmitToSAP.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
Script in the Click event for button 2:(i am setting a flag when it is clicked)
var ref3 = xfa.resolveNode("xfa.record.APPROVE");
var ref2 = xfa.resolveNode("xfa.record.APPROVE").value;
ref3.value = "X";
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 802.20071213024549.437972.422152 - CheckFields.xfo
ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
// END OF DO NOT MODIFY
Version of ALD : 8.1
Adobe Reader : 8.
Should there be some code written in the initialize event of the button ?
Thank you for your help so far,
Chaitanya.
Well in the click event of button two you can just write ref3.rawValue = "X" and bind this to a WD context. Now you can easily check the context in WD and apply an if else condition to know which button was clicked.
Coming to main question, you are using Designer 8.1 but can you check with BASIS if you are on Ehp1 or Ehp2 for SAP NW 7.0 as it is a requisite as mentioned in Note 1176858
Reason and Prerequisites
Adobe LiveCycle Designer 8.1 can be used with the following ADS Versions and higher:
SAP EhP 1 for SAP NetWeaver 7.0
SAP EhP 2 for SAP NetWeaver 7.0
SAP EhP 1 for SAP NetWeaver 7.1
So just uninstall Designer 8.1 and downgrade it to 7.1 or 8 and see if it helps.
Chintan
Hi Experts,
Could some please help me out with this issue...
Thanks In Advance,
Chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.