on 10-14-2011 6:46 AM
Hi
I want to hide one tab strip in shopping cart in SRM portal thru enhancement implementation for specific conditions .
I am not able to find the way to do it .
Please help me its very urgent.
Thanks and regards
Harikrishna
Hi Hari Krishna ,
Which tab strip you want hide in Shopping cart , what condition it should be invisible .
can you explain brief .
Thanks & Regards
Pradeep Kumar Dondeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harikrishna ,
go this webdynpro component : /SAPSRM/WDC_DODC_SC_I_SOS
view : V_DODC_SC_I_SOS
create the enhancement for this and add this code .
TYPE-POOLS ustyp.
DATA : it_roles TYPE ustyp_t_agr,
wa_roles TYPE ustyp_agr,
lv_access TYPE c VALUE abap_false.
read the price attribute from context
based on the role set the visibility .
*-- Fetching the User Attributes
CALL FUNCTION 'SUSR_USER_AGR_ACTIVITYGR_GET'
EXPORTING
user_name = sy-uname
with_text = ' '
TABLES
user_activitygroups = it_roles
EXCEPTIONS
user_name_not_exist = 1
OTHERS = 2.
LOOP AT it_roles INTO wa_roles WHERE agr_name = 'Z_IXYZ'.
lv_access = abap_true.
ENDLOOP.
IF lv_column = abap_false.
cv_visibility = '01'.
ENDIF.
ENDIF.
Hope this answer will be useful for you .
Thanks & Regards
Pradeep Kumar Dondeti
Hi Pradeep,
Thanks for your reply.
I have done the coding in this method WDDOMODIFYVIEW in WD - /SAPSRM/WDC_DODC_SC_I_SOS.
But as it should be hide initially but its displaying in the shopping cart tab and when iam clicking the particular column then its getting hide.
Do u know the reason.
Thanks and regards
Harikrishna
User | Count |
---|---|
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.