on 07-13-2007 11:40 AM
Hi,
My scenario demands in writing a Java code to handle the queues which is very complex to explain. But please understand that I need to write Java code and in brief to explain, If I get SUPPRESS from the queue then I need to pass some value otherwise I need to pass another value. But I noticed that there two types of SUPPRESS, one is grey and other is flouroscent green coloured. I need to use grey SUPPRESS.
Can you pl. help me?
Right Now I am writing the code as follows:
for (int i=0;i<dd10.length; i++)
{
if( dd10<i>.equals(SUPPRESS))
{
result.addValue(dd10<i>);
}
else
{
if (ddh3[j].equals("true"))
{
result.addValue(dd10<i>);
}
else
{
result.addValue(dd10[1]);
i++;
}
j++;
}
}
Thanks & Regards,
Vijay
Vijay,
Please find the below URL's for reference.
Grey -Suppressed: Actually its not suppresses its context change
http://www.flickr.com/photo_zoom.gne?id=798590221&size=o
Green-Suppressed
http://www.flickr.com/photo_zoom.gne?id=798590229&size=o
Now according to ur requirement, the code must be written as below.
For Grey : example.equals("__cC_");
For Green :example.equals("_sUpPresSeD_");
I hope it helps you!!
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>I noticed that there two types of SUPPRESS, one is grey and other is flouroscent green coloured. I need to use grey SUPPRESS.</b>
Gray SUPRRESS is equal to ResultList.SUPPRESS [Context Change]
flouroscent green coloured SUPRRESS is equal to just empty space " "[Empty Value]
So if you want to put value when context change occues then use the constant ResultList.SUPPRESS otherwise just check that whether it has the value or empty.
I think now it is clearn for you.
Warm Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Vijay,
that is probably because your node is a subnode of another node which also have some supresses in its queue.
In order to avoid having to deal with upper-level supresses, use context UDF type instead of queue UDF type.
Also, the proper object you should point to is <i>ResultList.SUPPRESS</i>.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is you version??
If it is PI7.0 SP10/11 you maybe in trouble ( as I have this error)
You may have to upgrade to SP12.
https://service.sap.com/sap/support/notes/1053706
They are having problems as the correction they provided has not fixed the error for us... I have had an OSS Note for nearly two months about this...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.