on 01-31-2012 9:13 AM
Hi expert,
How to make search view' field non editable in CRM WEB UI.
Is there any solutions?
Thanks,
Vishal.
Hi experts,
My problem is still not solved.
regards,
Vishal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leon,
How can I implement method inside method,as you have written?
Regards,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
In that method, you can call the GET_I_ method you have created for the corresponding field.
CALL METHOD LR_SEARCH->GET_I_FIELDNAME
EXPORTING
ITERATOR =
RECEIVING
RV_DISABLED = lv_bool.
If your parameter field, is a dropdown, then you can restrict even without disabling edit. In that case, you just need
to filter the values, and put only the default value in the dropdown,That way user doesn't have the provision to
select any other value.
Regards
Leon
Hi Vishal,
we can make search view field as non-editable. in GET_I method use rv_disabled = "TRUE" in between TRY and ENDTRY instead of rv_disabled = "FALSE".
Regards
Prameela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for reply,
I did changes in GET_I_<attrname> method but it is search view (i.e. I have created empty view and made it as search view) here it is not reflecting.And my requirement is field should contains default value ( that i did with ADD_SELECTION_PARAM method ) and this field should be non-editable.Is it possible?
Thanks ,
Vishal.
Hi Vishal,
Redefine DO_INIT_CONTEXT and try the following code.
DATA: LR_ENTITY TYPE REF TO CL_BSP_WD_VALUE_NODE.
LR_ENTITY ?= ME->TYPED_CONTEXT->PARTNER->COLLECTION_WRAPPER->GET_CURRENT( ).
IF LR_ENTITY IS BOUND.
CALL METHOD LR_ENTITY->IF_BOL_BO_PROPERTY_ACCESS~SET_PROPERTY
EXPORTING
IV_ATTR_NAME = 'PARTNER' (attribute name)
IV_VALUE = '1000'.
ENDIF.
Regards
Prameela
Hi Vishal,
What is the point in making the parameter non-editable?
Instead you can remove it from the configuration,right?
Regards
Leon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.