Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tabstrip - conditional access

Former Member
0 Likes
487

Hi All,

I have a tabstrip on a screen. but i have to give acces to different strips based on authorisation. how do i do this.

Thanks,

Amit

1 ACCEPTED SOLUTION
Read only

0 Likes
404

Hi Amit,

This code could be used to automatically redirect a user to a particular tab according to his authorization:

mytabstrip-activetab = 'mytab'

Assuming your tabstrip-control on your dynpro is named 'mytabstrip' and it contains a tab named 'mytab'.

Best regards,

Georg

Message was edited by: Georg Lang

3 REPLIES 3
Read only

0 Likes
405

Hi Amit,

This code could be used to automatically redirect a user to a particular tab according to his authorization:

mytabstrip-activetab = 'mytab'

Assuming your tabstrip-control on your dynpro is named 'mytabstrip' and it contains a tab named 'mytab'.

Best regards,

Georg

Message was edited by: Georg Lang

Read only

Former Member
0 Likes
404

Hi

Every tab is a pushbutton so in the user-command you can check authorization object.

Max

Read only

Former Member
0 Likes
404

hi Amit.

The tabstrip has a push button and a subscreen area. As per your requirement, you need to give access based on authorization. So you can simply check it in the PBO and activate the stripe tab1, tab2 based on the authorization.

  • Check for authorization for condition 1.

  • activaate tab1

  • Check for authorization for condition 2.

  • activaate tab2

Regards,

Richa