on 03-14-2008 3:26 PM
Hi Gurus,
I have a requirement where in which drop down field has six values (which is populated from R/3 using adaptive RFC).
Now user wants to block the last three fields (not hide) so that User can see the fields in the drop down but they cannot amend the field as their choice .
Now I have noted the index value of the subjected codes which needs to be in display state.
Indexes are 3,4,5
So I have written the code as
index = wdContext.currentT505NElement().node().getLeadSelection();
if (index =3 || index = 4 || index =5){
wdComponentAPI.getMessageManager().reportException("You cannot amend this code",true);
}
It Raises the error message but still it allows the user to proceed further ? but it shouldn't allow the user to proceed further if they amend the above said codes(3,4,5)
Can you guys please provide the code for the above requirement.
I will surely award higher points for the valuable inputs
Thanks in Advance,
Dharani
Hi Dharani,
I think you posted in the wrong forum. To get better and quick attention of Experts, think you need to post it in ABAP development.
Shaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.