on 12-13-2011 1:37 PM
Hi,
i want the approval process overview to open with an expanded tree to see all steps without clicking the little arrow.
Many users don´t see the little arrow in sequence column to expand the tree.
Any ideas how to do it?
Best regards,
Ben
Hi,
one year is gone and i still have the request to expand the tree initially.
When i open the tab "approval process overview" in a shopping cart, i want that the tree is expanded initially. At the moment i have to click on every arrow to expand it.
I try to set the context attribute ITM_STATUS-EXPANDED with wddoinit, but it didn´t works.
Any ideas?
Best regards,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try creating a post exit for
Class /SAPSRM/CL_CH_WD_DOM_APV_IT
Method /SAPSRM/IF_CLL_DOM_APV_EXT~CONVRT_PROC_INFO_FOR_UI
Loop over table lt_cll_apv_itm and set EXPANDED as abap_true when leaf = abap_false.
After this, bind the table to node mon_cll_set_facade.
* Bind the approval preview data to the context node
mon_cll_set_facade->bind_data_table(
new_items = lt_cll_apv_itm
).
This may not work if SRM standard uses lazy loading but i dont think its the case.
Hi,
now i get it runnin. I solved it with a post-exit in WDDOMODIFYVIEW
data: context_node type ref to if_wd_context_node,
lr_element TYPE REF TO if_wd_context_element,
lr_elements type wdr_context_element_set.
context_node = wd_context->get_child_node( 'ITM_STATUS' ).
lr_element = context_node->get_element( ).
lr_elements = context_node->get_elements( ).
loop at lr_elements into lr_element.
lr_element->set_attribute(
EXPORTING
value = abap_true
name = 'EXPANDED' ).
endloop.
Best regards,
Ben
Doing this change in WDDOMODIFYVIEW may introduce other problems like following:
1. User sees the expanded view of the tree but then suppose he wants collapse one of the nodes. If he collapses the node and wddomodifyview is called, then it will get expanded again due to your code.
you may check this scenario once.
HI,
Are you talking about the approval preview in the portal?
Regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.