cancel
Showing results for 
Search instead for 
Did you mean: 

adobe form/reader error

Former Member
0 Kudos

Hi

We are working on PCR forms in MSS and having some issues with certain forms.

I am UNABLE to select any option in the PCR Adobe form's DROPDOWN LIST

BOX and any Adobe form which has a dropdown list comes up with an error

message "message limit exceeded. Remaining n errors not reported" when 'n' could be any number.

We are on EP 7, ECC6.0 (NW2004s) and Adobe Reader 7.0.8

I tried this with and without the xACF component, still having the same issue.

Any recommendations on how to solve this?

Thanks

Regards

Michael

Accepted Solutions (0)

Answers (2)

Answers (2)

krishanu_biswas
Active Participant
0 Kudos

Hello Michael,

All the PCR forms are ZCI ased forms. Hence, working with or without ACF does not make a difference. Most probably, you are missing the dynamic mapping for the DDLs. Please open the form in the designer and select the DDL. Under the "Object" > "Binding" tab, click on the "Specify Item Values" link. This will popup a "Dynamic Properties" window. Could you please tell me what do you see there ? If you have not changed this dynamic property you will see the following entry: "$record.sap-vhlist.<b>REPLACE_THIS</b>.item[*]". You need to replace the "REPLACE_THIS" portion with the appropriate context structure here for the DDL under consideration. For example, if you have a context structure as follows:

[code]Context

DDLData (dataSource node)

ValueHelpDDL (attribute of type String mapped to DDL)[/code]

Your SOM expression should look like:

[code]$record.sap-vhlist.ValueHelpDDL.item[*][/code]

Now, let us take a more complex context structure:

[code]

Context

DDLData (dataSource node)

MyDDLData (internal node)

DDLDataItems (one more internal node)

ValueHelpDDL(attribute of type String mapped to DDL)

[/code]

In the above case your dynamic binding should be as follows:

[code]

$record.sap-vhlist.MyDDLData\.DDLDataItems\.ValueHelpDDL.item[*]

[/code]

Notice how the "<b>\.</b>"s are inserted in between to separate the context structure. Make sure that the node names are correct. When the changes are done, please redeploy the application and try again.

Note: Please do not change anything inside the "DO NOT MODIFY" section. If you think that there is a bug or a problem with the code, please report it to SAP immediately. That way we can avoid any potential conflict.

Best Regards,

Krish

Former Member
0 Kudos

Krishnanu,

I am trying to map the list of countries using the SAP provided value help. I entered "$record.sap-vhlist.LAND1.item[*]" in the dynamic properties. The webdynpro context was mapped to the form interface context.

I dont see the values in the DDL. What else do I need to have?

Thank you,

Fred.

Former Member
0 Kudos

Hi Michael,

I got the same error, and solved it by changing the javascript associated to the dropdown object, in the form.

Try replacing the code for this one:

// DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20060123211327.269554.269544 - Enumerated_Drop-down_list_No_S.xfo.p3

// if the flag complete = 0 then call back to the server for a value selection

if (this.bind.ref != "") {

var DataBinding = this.bind.ref;

// the data binding may contain "$data.<root data name>" instead of $record

DataBinding = DataBinding.replace("$data."+xfa.record.name,"$record");

DataBinding = DataBinding.replace("$record.", "");

var existenceNode = xfa.form.resolveNode("xfa.datasets.data."xfa.record.name".sap-vhlist."DataBinding.replace(/(\.)/g,"
.").replace(/(\[\*\])/g,"")
".complete");

if (existenceNode != null && existenceNode.value == "0") {

var processingF4HelpOpen = ContainerFoundation_JS.getGlobalValue("processingF4HelpOpen");

if(processingF4HelpOpen == false) {

ContainerFoundation_JS.setGlobalValue("processingF4HelpOpen", true);

ContainerFoundation_JS.SendMessageToContainer(event.target,

"f4HelpOpen",

this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),

this.rawValue,

event.target.mouseX,

event.target.mouseY);

}

}

}

// END OF DO NOT MODIFY

*----


*

Also, check that you have Adobe Designer 7.1 version, since with 7.0 you cannot control properly the link to your parameter.

Hope this help,

Marta

krishanu_biswas
Active Participant
0 Kudos

Hello Marta,

This is wrong. You should not change the code inside the "DO NOT MODIFY" section. Should you face any problem with such scripts, please report it to SAP.

Best Regards,

Krish