on 04-02-2012 6:27 PM
Hello Experts,
My client requirement is - Based on user selection on a certain field of type 'checkbox', a popup window should come where user can key in free text.
We can complete it easily in regular R/3 development. But I am not sure whether it is doable or not in CRM UI.
Please provide your view/suggestions or It would be fine if you can refer some standard SAP component where similar requirement has been taken care.
Really appreciate your time and suggestions.
Thanks.
Hi,
the standard component for this is: GS_TEXT. You can use this as a component usage in your component.
If you do so, you have to customize the text-id you want.
br
Jürgen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you have to include this component as a "component usage".
Have a look at component BT115H_SLSO for example.
In component controller CL_BT115H_S_BSPWDCOMPONEN_IMPL->WD_USAGE_INITIALIZE
when 'CUGSText'.
call method lv_usage->bind_context_node
exporting
iv_controller_type = cl_bsp_wd_controller=>co_type_custom
iv_node_2_bind = 'TEXT'
iv_name = 'CUGSText'
iv_target_node_name = 'BTTEXT'.
you can see how it works.
br
Jürgen
You can call pop using the code below example.
lr_popup = me->comp_controller->window_manager->create_popup( iv_interface_view_name = 'GSURLPOPUP/MainWindow'
iv_usage_name = 'CUGSURLPopup'
iv_title = lv_title ).
lr_cn = lr_popup->get_context_node( 'PARAMS' ).
lr_obj = lr_cn->collection_wrapper->get_current( ).
lr_obj->set_property( iv_attr_name = 'URL'
iv_value = iv_url ).
lr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_plain ).
lr_popup->set_window_width( 700 ).
lr_popup->set_window_height( 700 ).
lr_popup->open( ).
User | Count |
---|---|
8 | |
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.