on 01-29-2015 6:27 AM
Hi ,
i have complex table tree field on a screen and i want to default a value (Rule before Data entry ) in it whenever i come to that particular screen .
Actually the value defaulted should be "None". I tried things as written below :
1. Special value None at the Transaction property for the field.
2. Special Value None for the Field itself.
3. Initial value rule to default none.
Also wanted to know , is there any UI control present (Like default the search value ) under the Complex table tree Pop-up which opens after we click on the button?
Kindly reply .
Amrita
Amrita,
Complex table trees are different in that they have a parent/child relationship, so a special value does not really work there. The tree wouldn't know what children to put under the special value. I believe you need to actually put NONE in your complex table data that you are retrieving in the java, then also set the parent to NONE for any children of this value. Your initial value should then work once the NONE value is in the table. Also, I don't know of any way to default the search value.
Jason Latko - Senior Product Developer at SAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amrita,
Everything looks OK to me. Are you sure the rule is returning the correct data? I would just hard-code the initial value to a "--None--" constant without the lookup. Everything else looks good when I compared it to the Service Manager OOB code. Does the --None-- show up in the tree correctly when you click on it?
Jason Latko - Senior Product Developer at SAP
Hi Jason ,
I have the "None" Entry in the Complex table and when i select it it works perfectly fine as shown in the image.
But i want that "None" to be populated automatically whenever i come to this particular transaction Screen.
That's the issue where i tried Initial Value and Update Rule to Auto-populate the field.
I am also working on Service Manager 4.1 , please let me know if there is a standard example where i can see this.
Thanks and Regards,
Amrita
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.