cancel
Showing results for 
Search instead for 
Did you mean: 

Value Help Not Triggering Round Trip (Initially)

bjorn-henrik_zink
Active Participant
0 Kudos

Hi,

I have a strange issue that I would like you to help me with.

I am implemeting HCM P&F on ECC6 EhP3. The browser is IE6 and Adobe Reader 9.1.0. I have added a Value Help to my form and it works fine to open it and update the relevant field, i.e. "MYFIELDNAME" in the example below. The problem is that I want the Value Help to trigger a round trip and start "MYEVENT". The first time I open the Value Help it does not trigger a round trip. However, all following times it works as it should. I cannot figure out what causes this - help!

Below you find the script of the Value Help.

Thanks.

----- data.Page.valueHelp::exit: - (JavaScript, client) ---------------------

xfa.record.CONTROL_PARAM.ISR_EVENT.value = "MYEVENT";
xfa.record.GENERAL_DATA.HEADER.EXT_REF_NUMBER.value = "VALUE_HELP";

----- data.Page.valueHelp::click: - (JavaScript, client) --------------------

// Provide the field name of the corresponding text edit field.
// You will find the field name on the tab "object", sub tab "data", input field "name"
// The field name should be enclosed by quotation marks, the line should end with a semicolon - as shown  in the next line
					                    
var fieldName = "MYFIELDNAME";

 // DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20080513120641.469612.410443 - ValueHelp.xfo

// 'this' means relative to this node, instead of relative to form node
var theNodeName = this.resolveNode("parent." + fieldName).somExpression; 
ContainerFoundation_JS.SendMessageToContainer(event.target,
      "valueSelect", 
     xfa.resolveNode(theNodeName).dataNode.somExpression.replace(/(xfa.*?\.)(datasets.*?\.)(data.*?\.)/, ""), 
     xfa.resolveNode(theNodeName).rawValue, 
     event.target.mouseX,
     event.target.mouseY);
// END OF DO NOT MODIFY

Accepted Solutions (0)

Answers (1)

Answers (1)

chintan_virani
Active Contributor
0 Kudos

Adobe 9.1 is NOT supported currently and may be you can try downgrading your Reader and see if you face same issue.

Chintan

bjorn-henrik_zink
Active Participant
0 Kudos

Hi Chintan,

thanks for your reply, I will close the thread as it is not supported. However, a funny thing is that it works if I do something else on the form first, for example change a date field or simply mouse click into an input field

chintan_virani
Active Contributor
0 Kudos

SAP and FUN go hand in hand in fact that's motto of Chris Solomon as well.

Chintan