on 10-17-2014 10:11 AM
Hi there,
Explaining the requirement again,
I've created a popup in CRM Webui and the popup fires for material type P1 with ok and cancel buttons and is working fine after I click on cancel or ok and open popup to fire for material type P2 the popup is fired the text details of P1 instead of P2.
The popup text data of previous popup is getting picked up. I would like to clear the popup text data on close of every popup. Can you please suggest me how to achieve the task.
Regards,
Krishna
Hi Krishna Dev,
Do u still have problems?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Set initial value to the entity in the wd_create_context method of the view that you open in the popup. So whenever the view loads as a popup, it will have the initial entries i.e. empty.
Refer the below code:
METHOD wd_create_context.
CALL METHOD super->wd_create_context.
DATA: ls_stru TYPE zmo_facilty_mas, ""structure by which context node was made
lr_entity TYPE REF TO cl_bsp_wd_value_node.
lr_entity ?= me->typed_context->zfacility->collection_wrapper->get_current( ).
IF lr_entity IS BOUND.
lr_entity->set_properties( is_attributes = ls_stru ).
ENDIF.
Endmethod.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Thats a standard pop up view which we generally use and i doubt if you can change that. Maybe you can use a different popup view or call a custom view with different text element.
If possible please elaborate your requirement with screenshot.
Regards,
Saurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
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.