cancel
Showing results for 
Search instead for 
Did you mean: 

BPS WEB Interface - how to clean old variables selections of users ?

Former Member
0 Kudos

Hello everybody,

I have a problem with selection variables in BPS_WB and I need your help.

at each time my user open the web interface, the selection variables are filled by his previous selections. I would like to have a web interface always cleaned at each session because selection variables are built by "exit" and the old values could be not available.

Have you a simple solution to clear old selections in my BPS web interface ?

thanks in advance.

Best Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Christopher,

I had a similar issue, but I am not using a web interface. I am using

the GUI interface of BPS.

The variable values gets locked with that username, once he performs an operation and clicks on save.

In my case, I was using variables for retraction. Once I successfully execute the retraction, if I click on Save button, the entered variable values gets locked for that user, and when he again executes reraction with the same username, the application(retraction) executes with the old values. If the user doesn't click on the save button, after he performs the operation, he will get a new popup screen for variables, all the times.

In order to remove the locked variable values, go to BPS0. In the planning area, navigate to the variables screen. Double click on the variable to find the usernames under which the variable is locked. Select the username and click on delete. Similarly do it for all the variables. Now, you will be prompted to enter new set of values when u execute your application.

Hope this helps you.

Regards,

srinivas kamireddy.

Former Member
0 Kudos

thanks Srinivas,

sorry for this delay,

your answer is helpful.

I continue to use my solution which work correctly.

Thanks for your replies.

Best regards,

Christophe

Answers (2)

Answers (2)

Former Member
0 Kudos

Deletion in table upc_var_char_atc with connected user and planning is a good solution

Former Member
0 Kudos

Hi,

You need to clear the browser cache, delete all cookies and history.

Regards,

Deepti

Former Member
0 Kudos

Hello Deepti,

I'm sorry for this late answer.

In fact, the cleaning of browser cache and history was my first solution but it does not work.

After some research, I find a SAP table which keep data selected for BPS : UPC_VAR_CHA_ACT (Variables - Restricted Values)

this table could be cleaned manually for user, planning area, variable and caracteristic.

It works but do you know if it exist a function which could be used to make this work more properly ?

thanks

Former Member
0 Kudos

Hi,

You can write a program like this

__________________________________________________________

REPORT ZDEL_UPC_VAR_CHA_ACT.

TABLES : UPC_VAR_CHA_ACT.

delete from UPC_VAR_CHA_ACT where

AREA = <your planning area name> and

VAR = '<variable name>' and

VARUSER = <User for which variable needs to be cleared>.

COMMIT WORK.

__________________________________________________________

You can put additional conditions in where clause.

You can even define selection screen for this program where user can put the details like Planning Area,Variable Name, User etc.. to make this program dynamic.

Regards,

Deepti

Former Member
0 Kudos

Thanks Deepty,

I had written an identical procedure to clean this table but I have directly integrated the coding in LOAD method of my inherited interface class ZCL_UPWB_BSP_APPL. It works perfectly.

In my previous question, I thought of the existence of a SAP standard function.

If it does not exist, this is the good solution

thanks again,

Christophe