on 11-10-2004 2:51 PM
Hi everyone,
Does annyone knows if there is an indicator that indicate you the current tab where the user is working in?
I want my BSP to do different action depending on wich tab the user is in.
I'm working in the BSP CRMD_BUS2000126 for the activities.
Thanks!
No,
i don't have access to the event.
the problem is that i have to do some validation in a BADI and depending on wich tab the user is when he it the save buton, i have to do a specific action.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will move over my posting from the ABAP forum as well in case it is a help to anyone:
This is probably a question better suited to the BSP forum. I also noticed that your application name starts with CRM. I'm not familiar with CRM and its particular take on BSP, but I can tell you how I do this in my BSP applications:
First I use the phtmlb:containerTabStrip to create my tabstrip. I use an application class attribute to store my selectedIndex (the current selected Tab).
<phtmlb:containerTabStrip id = "TabStrip15"
collapsed = "FALSE"
collapsible = "FALSE"
firstVisibleItemIndex = "1"
hasContentConnector = "TRUE"
maxVisibleItems = "5"
onCollapse = "myCollapse"
scrollableItems = "TRUE"
selectedIndex = "<%= application->SELECTED_date2 %>" >
Now I use MVC, so in my DO_HANDLE_EVENT method of my controller class I trap the tabstrip event and query for the selected tab:
data: event_id type string.
event_id = event.
if htmlb_event is not initial.
event_id = htmlb_event->id.
endif.
data: model type ref to zcl_bsp_m_eqi_selection.
data: appl type ref to zcl_eq_bsp_eqi.
****Get a pointer to the Model Object.
model ?= get_model( 'MS' ).
****Get a Pointer to the application Object
appl ?= application.
if event_id cs 'tabstrip15'.
data: event1 type ref to if_htmlb_data.
event1 = cl_htmlb_manager=>get_event_ex( request ).
if event1->event_type eq cl_phtmlb_containertabstrip=>co_phtmlb_event_tab_selected.
appl->selected_date2 = event1->event_server_name.
endif.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have access to the event handler for processing? If so just read the tabStrip object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.