cancel
Showing results for 
Search instead for 
Did you mean: 

Hide tabstrip in Shoping cart

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Pradeep,

I want to hide netprice column in source of supply depend on the user roles.

Thanks and regards

Harikrishna

Edited by: Hari Krishna madugula on Oct 17, 2011 3:14 PM

Former Member
0 Kudos

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

Former Member
0 Kudos

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