on 01-09-2006 8:44 AM
Hi
When I am tring to display EVS text value in attached input field I am getting following error.
I am dynamically fetching the evs values from model and in the calculated field I am fetching the text value of selected key . but it is not working ....
error is :
java.lang.StackOverflowError: JVMXE018: Insufficient Java stack size .
Any idea.
Regards
Kousik
Value Node Name :Buffer
calculated Attribute name: MyAttibute
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue is solved but this link realy did not help me. I went through this link before. But Armin given me the proper solution of my recurssion problem.
Regards
Kousik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kousik,
Did the link help you & is this issue solved ?
<b>- Chintan.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That solution I aready implemented before but user needs the description in the input field.
Regards
Kousik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kousik,
As stated earlier by me please visit the third link. In case you are having problems giving you the direct link as below:-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/ye... another evs valuehelp - showing display texts for keys.article
The article contains the exact thing you want to implement. So check the "Showing Display Texts Inside an EVS Input Field (EVS++)" section in above link.
<b>- Chintan</b>
But if I attach the InputField with the new TEXT calulated attribute then how EVS will be available with my input field?
Regards
Kousik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please let me know how to solve the issue...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
String attributeName = IMYView.IViewBufferElement.MyAttibute;
IWDAttributeInfo attributeInfo = element.node().getNodeInfo().getAttribute(attributeName);
ISimpleType simpleType = attributeInfo.getSimpleType();
ISimpleValueSet valueset = simpleType.getSVServices().getValues();
Object key = element.getAttributeValue(attributeName);
try {
simpleType.checkValid(key);
return valueset.getText(key);
} catch (DdCheckException e) {
return "";
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The stpes which I am following is ....
1. I have a value node which I am popuating dynamically at runtime with the key,value pare getting from model.
2. now at the calculated getter method I am writting code for getting the text of the key.
Regards
Kousik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you post the complete code for the calculated field?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I wrote the same code .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kousik,
The third link gives the code snippet to implement the EVS.
Is the following code in place after the code statement u wrote?:-
try {
simpleType.checkValid(key);
return valueset.getText(key);
} catch (DdCheckException e) {
return "";
- Chintan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no problem in EVS . The error is coming at the time of displaying text from key and to be more specific the error is coming in the following line at calculated get method when I am tring to retreive the text of the key
Object key = element.getAttributeValue(attributeName);
Regards
Kousik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kousik,
I did not get ur problem but try this tutorial and check if the same u are trying to implement:-
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/26/34884778b7ef468ea6b3995e6784e3/frameset.htm">Including an Extended Value Selector</a>
Alternatively you can go thru the following url's:-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
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.