BPS variables in IP

Dear experts,
we face the following problem: We want to migrate from BPS to IP, but have trouble with our BPS variables. We have user-defined variables and variables which are centrally maintained (e.g. 2 versions which shall be available for planning). When the user executes an input-ready query, F4-help should be restricted to the centrally maintained values.
I know there are two ways, which are recommended:
.) user-exit variable, which reads information from some table; problem with that, all values, which are read from the table are proposed in the variable screen (shown in the input line); so if you have 10 values, all of them will be preselected; if the user doesn't delete them from the input line all 10 values will be locked on the server; moreover F4-help is not restricted
.) use authorizations; unfortunately we have different authorizations for planning and reporting; e.g. 2 versions for planning, but all for reporting; so in the F4-help we have all values available not just the 2 versions for planning
Does anybody have an idea how to solve this issue?
Best regards
Michael

Hello,
Only way to restrict the values in F4 help in IP is via authorization. However, in BW7.3 we would be able to do so using BAdI.
Regards
Deepti

Similar Messages

  • Multiple BPS variables in Bex web report

    Hi Guys,
    I am trying to have a Bex report use the BPS variables in the web interface. I have managed to do so with 1 variable, but we have a number of variables.
    I have created the code below to get the result. however this doesn't seem to work.
    Can anyone help me with this issue.
    Gert van de Vreede
    <iframe
    id ="Z_WA_BPS_GRSALPR001"
    src="/sap/bw/BEx?cmd=ldoc&TEMPLATE_ID=Z_WA_BPS_GRSALPR001"
    style="width:1200;height:300">>
    </iframe>
    <script language="JavaScript" type="text/javascript">
    function varValueConvert(dispValue){
    /* Expected formatting of variable selector: Text(Key) or Key
    If there are more than one (...) expression the first is taken.
    var keySection = dispValue.match(/\(.*?\)/);
    if (keySection){
    var keyValue = keySection[0].replace(/\(|\)/g,"");
    alert(dispValue + ' : ' + keySection + " : " +keyValue);
    return keyValue;
    } else {
    alert(dispValue);
    return dispValue;
    var frame = document.getElementById( 'Z_WA_BPS_GRSALPR001' );
    var url = '/sap/bw/BEx?cmd=ldoc&TEMPLATE_ID=';
    var queryVar1 = '&VAR_NAME_1=0SALESORG&VAR_VALUE_EXT_1=';
    var queryVar2 = '&VAR_NAME_2=ZZHOUSE&VAR_VALUE_EXT_2=';
    var queryVar3 = '&VAR_NAME_3=ZZBRAND&VAR_VALUE_EXT_3=';
    var queryVar4 = '&VAR_NAME_4=ZZLINE&VAR_VALUE_EXT_4=';
    var queryVar5 = '&VAR_NAME_5=ZCOREC&VAR_VALUE_EXT_5=';
    var queryVar6 = '&VAR_NAME_6=ZSUBCAT&VAR_VALUE_EXT_6=';
    var queryVar7 = '&VAR_NAME_7=ZZMARCAT&VAR_VALUE_EXT_7=';
    var queryVar8 = '&VAR_NAME_8=0VERSION&VAR_VALUE_EXT_8=';
    var appl = 'Z_WA_BPS_GRSALPR001';
    var bpsVarvl1 = '<%=descr(salesorg_var/value)%>';
    var bpsVarvl2 = '<%=descr(House_var/value)%>';
    var bpsVarvl3 = '<%=descr(Brand_var/value)%>';
    var bpsVarvl4 = '<%=descr(Line_var/value)%>';
    var bpsVarvl5 = '<%=descr(Core_cat_var/value)%>';
    var bpsVarvl6 = '<%=descr(Sub_cat_var/value)%>';
    var bpsVarvl7 = '<%=descr(marcat_var/value)%>';
    var bpsVarvl8 = '<%=descr(VarvlSel7/value)%>';
    bpsVarvl1 = varValueConvert(bpsVarvl1);
    bpsVarvl2 = varValueConvert(bpsVarvl2);
    bpsVarvl3 = varValueConvert(bpsVarvl3);
    bpsVarvl4 = varValueConvert(bpsVarvl4);
    bpsVarvl5 = varValueConvert(bpsVarvl5);
    bpsVarvl6 = varValueConvert(bpsVarvl6);
    bpsVarvl7 = varValueConvert(bpsVarvl7);
    bpsVarvl8 = varValueConvert(bpsVarvl8);
    // create URL
    url = url + appl + 0SALESORG + bpsVarvl1 + ZZHOUSE + bpsVarvl2 + ZZBRAND + bpsVarvl3 + ZZLINE + bpsVarvl4 + ZCOREC + bpsVarvl5 + ZSUBCAT + bpsVarvl6 + ZZMARCAT + bpsVarvl7 + 0VERSION + bpsVarvl8;
    // remove possible white spaces
    url = url.replace(/ /,"");
    // alert('Generated URL: ' + url);
    // set source attribute of iframe to new URL
    frame.src = url;
    </script>

    Hi Gert,
    the following line is wrong:
    url = url + appl + 0SALESORG + bpsVarvl1 + ZZHOUSE +
    bpsVarvl2 + ZZBRAND + bpsVarvl3 + ZZLINE +
    bpsVarvl4 + ZCOREC + bpsVarvl5 + ZSUBCAT +
    bpsVarvl6 + ZZMARCAT + bpsVarvl7 + 0VERSION +
    bpsVarvl8;
    Try this:
    url = url + appl + '0SALESORG' + bpsVarvl1 + 'ZZHOUSE' +
    bpsVarvl2 + 'ZZBRAND' + bpsVarvl3 + 'ZZLINE' +
    bpsVarvl4 + 'ZCOREC' + bpsVarvl5 + 'ZSUBCAT' +
    bpsVarvl6 + 'ZZMARCAT' + bpsVarvl7 + '0VERSION' + bpsVarvl8;
    Regards
    Marc
    SAP NetWeaver RIG

  • Issue in BPS Variables....Please anybody reply...this is really urgent(SOS)

    <b>Hi dear friends, This is really a urgent problem and crucial Please anybody can share their ideas or atleast some inputs/ clues to clear the cobwebs in my understanding.</b>
    I am facing problem in BPS Variables.
    I created the variables 1.zqbs- employee responsible --->Userentry/default value.
    2. zconpar-- contact partner----
    > Replacement type is user exit(Function Module)
    3. zconpar-- contact partner----
    > Replacement type is user exit(Function Module)
    ZCONPAR: I am using the zqbs, planing area, characterstic name as a import parameters and i am exporting the output value to 0BP_ACTIVIT through zconpar
    ZCONPER: I am using the zqbs, planing area, characterstic name as a import parameters and i am exporting the output value to 0BP_CONTPER through the zconper.
    These two variable info objects are calling in the planning layout lead column.
    based on contact partner it should display contact persons for the contact persons we are applying the conditions(bp_reltype = bur001,bp_reldir = 2) to filter the contact persons.
    In my case i am getting 3 values for the contact partner like 1000, 2000, 3000.
    i am getting 2 values for the contact persons if i run the variables individual.
    note: if i run BPS0 its going into loop and displaying multiple data means for 1 contact partner its applying all contact persons. at final it showing records like contact persons X contact partners means it showing more unvalid records.
    how to avoid this situation.
    contact partner contact person bp_reltype bp_reldir
    1000 xxxx bur001 2
    2000 yyy bur002 2
    3000 zzz bur001 2
    it should display like this
    1000 xxx
    2000
    3000 yyy
    but it showing
    1000 xxx
    1000 yyy
    1000 zzz
    2000 xxx
    2000 yyy
    2000 zzz
    3000 xxx
    3000 yyy
    3000 zzz
    Please anybody who have even a vague idea of solution can respond to this immediately.----SOS----
    Even your smallest hint is greatly appreciated.
    Yours truly,
    your friend Bharath.

    Thanks for the reply and I would trying these consistency check out again as a background job but I have already done these checks and have not been able to find any inconsistencies in the planning area or the master planning object structure. the problem is this as I have put in the SAP message:
    "We have generated CVCs from a text file using the load work list functionality  Due to some internal formatting issues few erroneous CVC were generated. On going through the concerned notes we have come to the conclusion that we would have to delete the erroneous CVC and recreate new CVC.
    The issue that we are facing is that we are not being able to delete the erroneous CVC from the MPOS as they are not visible in the display mode. On other hand we do see the erroneous CVC in the planning book, which is not at all understandable because if there are no CVC then why are we seeing them in the planning book."
    Please let me know if this is a problem that has been faced by anybody in SCM 5.0
    Thanks

  • How to access BPS variables in ABAP Exit Function

    Hi Experts,
    I am using a Exit Function. My BPS variables contain multiple values. I want to trasfer then (may be directly read) to an internal table from where I can loop over then.
    Could you please suggest me the code for this?
    Points will be awarded.
    Thanks in advance,
    Shiwesh

    Did you try using the FMs API_SEMBPS_VARIABLE_GETDETAIL or Z_VARIABLE_GET_DETAIL for this?

  • BPS variable in BeX

    Hi!
    I have a question.
    May I use BPS variable in BeX?

    Hi,
    You dont have that functionality in BPS.  You can find this functionality in Integrated Planning.
    Regards,
    Ravi Kishore

  • BPS Variable-Cost Element is not displaying Text

    Dear Team,
    We have a peculiar issue one of the BPS Variable defined for Cost Element is not displaying text in one of the Planning Layouts.
    Another variable is displaying text in another layout.
    Surprisingly...when I reused the old variable in the new layout it is also not displaying the text.
    Am I missing something....appreciated your quick support.
    Thanks & Best Regards
    Srinivas

    Have you check the layout Lead-Column setting? Is it set to 'Key/Description'?

  • Clear BPS variables values

    I wrote an ABAP program to clear BPS variables values defined for the user.
          DATA:
          lr_variable TYPE REF TO cl_sem_variable.
    * Get variable instance
          CALL METHOD cl_sem_variable=>get_instance
            EXPORTING
              i_area       = I_AREA
              i_variable   = 'ZPVDEP' "z_v_var
            RECEIVING
              rr_variable  = lr_variable
            EXCEPTIONS
              not_existing = 1
              OTHERS     = 2.
          IF sy-subrc <> 0.
    * do s.th., eg send a message
            EXIT.
          ENDIF.
    * delete the restrictions
          CALL METHOD lr_variable->set_user_restriction
            EXPORTING
              i_user   = sy-uname
              i_delete = 'X'
            EXCEPTIONS
              failed   = 1
              OTHERS   = 2.
    In BPS0:
    1. i restrict the variable with some values
    2. execute planning function to clear the variable values
        But the restriction remains.
    3. When i do /nBPS0 the variable restriction clears
    As far as i understand the problem is in buffer. How can i clear buffered values of the variable in ABAP program?
    i tried to call  method CL_SEM_VARIABLE=>RESET_BUFFER.
    but it doesn't work.
    Thanks

    Also i try such an ABAP code
          SELECT *
          FROM upc_var_cha_sel
          INTO CORRESPONDING FIELDS OF TABLE it_var_cha_sel
          WHERE    area    = I_AREA
               AND var     = ls_exitp-CHAVL
               AND varuser = sy-uname.
          IF sy-subrc = 0.
            DELETE upc_var_cha_sel FROM TABLE it_var_cha_sel.
            CALL FUNCTION 'DB_COMMIT'.
          ENDIF.
          REFRESH it_var_cha_sel.
          SELECT *
          FROM upc_var_cha_act
          INTO CORRESPONDING FIELDS OF TABLE it_var_cha_sel
          WHERE    area    = I_AREA
               AND var     = ls_exitp-CHAVL
               AND varuser = sy-uname.
          IF sy-subrc = 0.
            DELETE upc_var_cha_act FROM TABLE it_var_cha_sel.
            CALL FUNCTION 'DB_COMMIT'.
          ENDIF.
    But the problem is the same
    In BPS0:
    1. i restrict the variable with some values
    2. execute planning function to clear the variable values
    But the restriction remains.
    3. When i do /nBPS0 the variable restriction clears
    Thanks

  • SAP BW SEM-BPS Variables

    Hi All,
    We are upgrading SAP BW SEM-BPS system from 2.0B to 6.O, in this process i need to collect some information as like below from tables,
    like BPS Variables----- UPC_VAR ,
    planning sequence----- UPC_PROFILE_BU
    planning folder(Web)---- BPS_WB
    planning folder(GUI)---UPSPM
    BPS variable exit--UPC_VAR_EXIT
    respectively, but these tables like UPC_VAR,UPC_PROFILE_BU etc are  NOT there in my system ( SAP BW SEM-BPS 2.0B), So can anyone please suggest me alternative table name OR tell me where can I get aobve information like (BPS Variables, Planning Sequence etcc. ).
    Thank you,
    CCC

    Hi,
    I need to collect same information.
    Will you share it.
    Thanks,
    Ajay

  • BPS variables exit F4 help

    Hi,
       I am having a BPS variable exit which is listing all the records from the master data table in the F4 help screen but  i want to see only those values which are populated by my exit .
    Did any one faced the same problum? Do we have a note or patch to fix this.
    Thanks,
    Ramkumar

    Hi Ramkumar,
    Check the ABAP code behind the variable.Make sure that it is fetching the right records based on the logc in the code.Check the select statement in the ABAP.
    Debug the code and find out if its fetchin the right values into the export parameter  ETO_CHARSEL.
    hope this helps.
    regards
    Sai Vishnubhatla.

  • Us Planning Function to Update BPS Variable

    I have read through several 'How To' papers on variables, but did not come across this.  Is it possible to develop a planning function (FOX or User Exit) to prgramatically read and then update a BPS variable?

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    --> You can write an ABAP Exit Variable and populate TO variable as From Variable + 1. You can then use both these variables in a Planning Level and use Normal BPS Copy to copy data from FROM version to TO version. You can include this Function in a Global Planning Sequence and later on include this Sequence in a process chainby creating variant on Standard Program UPC_BUNDLE_EXECUTE.<br><br>
    Let us assume that because of some reasons you don't want to write ABAP Exit. Then you can write a FOX Code to do copy for you. Choose Version as Field to be changed. You can use TMVL operator in FOX to increment your FROM variable and populate your TO variable. You would have to include all of your characteristics in your planning level to be safe. But please note that this is not a recommended way to do copy. You should use standard BPS Copy Function as far as possible.
    <br><br>
    Hope it helps.<br>
    Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
    Please assign Reward Points if I deserve them in your opinion
    </FONT>

  • BPS Variables

    Hi there
    May somebody help me with the following problem: I have two variables in a BPS package and I want the second variable to show only these entries/values which are possible to select according to the combinations which are in the cube or maybe in the reference data. eg. i have the two variables, controlling area and cost center. so when I select a controlling area, I want the cost center variable only to give me these cost centers for selection which are in the selected cost area. as it's possible in BEX.
    Thank's
    Message was edited by:
            Martin Studer

    Hi Ravi
    First thanks.
    If my understanding of the How To BPS Variables of Type Exit is right, then what I'm looking for is descript in chapter 1.4 / 3.6 "One variable restricts the selection of another variable". But therefore in my exemple controlling area had to be a master data attribute of cost center. But my problem is that one costcenter can be in different controlling areas, so i can't define the controlling area as a master data attribute of costcenter. So can i still use this exit variable? May someone is working with the BI-content in this issue and can give me an input from there?
    Thanks again.
    Martin Studer
    Message was edited by:
            Martin Studer

  • How to get BW-BPS variable value into Visual Basic?

    Hello,
    Scenario:
    Time characteristic 0FISCYEAR has a variable ZVFYEAR. In layout this time characteristic is defined as DATA COLUMN. When user changes VFYEAR variable’s value i want to get the value of variable into Visual Basic and to format header for table in the layout.
    How to get BW-BPS variable value into Visual Basic?
    Could you help me?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hi,
    If i understand your requirments correctly ,you need to read the value of the Variable and Put it on the layout. Here is how  i would solve this,
    Read the value of the variable using an ABAP program.The logic for this would be to read the variable value and post it on the layout on a cell.You can do this by calling the ABAP program on opening the layout.this can be done using LB_EXIT_FM  T-code. Now using the  SAP delivered SAPAfterDataPut  macro, read the cell in which you have placed the variable values and assign it to the necessary values you want to on the layout.All this will be done before the layout opens.
    Hope this helps.
    regards
    Sai Vishnubhatla

  • BPS variable F4 help

    Hi,
       I am having a BPS Variable of type exit and if the output records are less ,say 10 iam getting the correct records in F4 help but if the record count is high like 8000 it is returning all values in the F4 help.
    Can any one tell me how to rectify this error.
    Thanks,
    Ramkumar

    Hi Ravi,
            Depending upon the planner my exit will return records. If the manager logs into the system them my exit will return 8000 records where as if a sales rep logs into the system then my exit will return 10 records and assume the records in the master data tables as 15000.
    The problum is that when the output record count is 10 iam getting all the 10 values in the F4 help. if the out put record count is 8000 then i am getting all the values from the master data tables (15000 records ) irrespective of the 8000 record what exactly the exit is populating .
    Even in the secound case also i want to see only the 8000 records in the F4 help not all the 15000 records.
    Is there any note that had to be applied to this issue. or did i missed any thing .
    Thanks,
    Ramkumar

  • BPS variable exit takes more execution time

    Hi,
        I am having a BPS variable of type exit in the planning level and it is taking very long time to execute the layout even though my planning cube is having very little data.
    Can any one tell me how to reduce the excution time of the layout .
    Thanks,
    Ramkumar.

    Hi Ravi,
            I excuted the FM in se37 with a SQL Trace and it was working fine . there are no expensive statements .
    The same FM performs well if the output record count is less say 10, but taking more time when the output record count is more say 8000.
    Is there any way to increase the performance of the BPS layout . or do i need to apply any notes for it.
    if any one faced the same problum kindly let me know how to resolve this . your help is greatly appreciated.
    Thanks
    Ramkumar

  • How To ... BPS Variables of type exit

    Dear All,
    I am reading the How To ... BPS Variables of type exit sap document.
    On chapter 3.3.1 step 10 to 12 it's explain how to populated variable, and check user exit action to display one value in fonction of an other one.
    Unfortunately on step 11, when I click on F4 I got nothing. I can't enter value.
    Would you please let me know if the system should be configured in a particular way ?
    Thanks

    Hi Luminy,
    If you have followed Step 2 with 2002 then you would have got that at f4
    regards
    Happy Tony
    <b>Points == Thanks</b>

Maybe you are looking for

  • Animated Progress Bar issues

    I am working with the animated progress bar from the late Carl Backstrom's demo applicaiton but to my amazement, the bar refuses to animate unless the javascript is triggered from a button press. This is not really acceptable for my purposes as I nee

  • Picking files from FTP server with dynamic Filename.

    Hello Experts, I want to pick some files from a FTP server in a File to Idoc scenario. The files in the Ftp Server are created with the filenames as timestamp of the file when it was created. How do I pick up these files? Thanks, Merrilly

  • Designing for Retina Display without dealing with the retina.js addition

    Is it possible for me, as the designer, to create a website in muse and then have someone more tech saavy apply the retina.js stuff at the end? This work around/fix/addition is discussed here: http://retinajs.com/   and   http://www.muse-themes.com/b

  • LOV problems

    Hello all. JDev 11.1.1.2.0 ADFBC I use input text with LOV based on viewcriteria. 1st : How to change colums size in result table in LOV dialog? 2d: When i use sorting in the reslut table scrolldown with the mouse while dont work correctly. Edited by

  • Issue of Discard/Save Changes popup in MDM WDC application

    Hi All, I am facing an issue in a WDJ application involving usage of MDM WDC Components.After  editing in item details component,we are setting record id as -1 so as to clear the item details and trigger a bpm process.We are protecting the record aft