cancel
Showing results for 
Search instead for 
Did you mean: 

BPS layout access control - need flexibility

Former Member
0 Kudos

Hi,

Is there any way to control the access to layouts in the web at a given point in time ? We are using web layouts and we would like one of our users to be able to control if a layout is accessible or not (to all the other users, like by switching them from input to output in the web apllication designer) with a function pushbutton for instance.

Using BW/Portal security or BPS variables to control access is not flexible enough for us.

As anyone developed a flexible way to do that ?

Thanks

David

Accepted Solutions (1)

Accepted Solutions (1)

olaf_fischer
Employee
Employee
0 Kudos

Dear David,

if you need it very flexible I would check out the capabilites of the Web Interface Extension (Examples on how to use them are described in current how to's like How to… Run Planning Sequences on Save and other events (WEB) or How to… Validate Key Figure Values in Manual Planning ).

The idea: step in the method for load, get a handle to the layout you like to tread and set the properties e.g. to display only. As you are in ABAP you could derive the property value from one of you custom customizing table.

Here is coding sample:

lLayout2 ?= CL_UPWB=>GET_COMPONENT('Layout1').

if myCustParam eq 'X'.

lLayout2->SET_READ_ONLY('X').

else.

lLayout2->SET_READ_ONLY('-').

endif.

Regards, Olaf

Former Member
0 Kudos

Olaf,

When you say 'step in the method for load', how can I find the technical name of this method ?

Also, one of the white papers is using method 'PROCESS-INPUT', can this be found in a table somewhere ?

Thanks

David

olaf_fischer
Employee
Employee
0 Kudos

Dear David,

the method for load is defined in the class cl_upwb_bsp_appl that is used for inheriting.

Regards, Olaf

olaf_fischer
Employee
Employee
0 Kudos

Hi,

you can find more details in the recent Webinar (choose Events => Webinar Schedule)about the BPS Web Interface Builder. It e.g. explains the concept of the Web Interface Extension.

Regards, Olaf

Answers (0)