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

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

  • 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 create Text Variables in BEx Query Designer

    How  can i create Text Variables in Bex Q.D.
    I am able to create characteristic variables
    but i can't find option to create text variables.
    What's the requirement to create Text variables in Bex Q.D.
    When i try to create Text variable for 0calDay.. the variable type is characteristic by Default and disabled.
    How can i create text variables related to 0CalDay with which i need to work in Customer Exit.

    Hi,
    You have to create characteristic variable processing by Customer Exit by considering 0CalDay as a Reference Characteristic
    After creation of the above variable, you restrict your KF with the above created variable.
    Now you can create a Text variable for the description of your KF. This way it works...........
    Regards,
    Suman

  • How to create a variable in BEx 7.0

    Hi,
    Can anyone please tell me how to create a variable in BEx 7.0
    In 3.5, when we right click on a characteristic, we used to get an option for restrict.
    I cant find any such option in 7.0

    Hi,
    Right click on the characteristic 0CALMONTH in the default values or drag it to char. restriction section and say restrict.Pull the drop down menu in that to select variables. There u will get a create icon.Click on that...then in details tab u can specify whether mandatory,interval and all..
    Regards,
    Rathy

  • Calendar prompt for Date variable from bex

    Hi All,
    I have a Bex query where I have a variable on 0CALDAY
    - Customer exit (i_step = 1 to populate with current date)
    - Single value
    - Mandatory
    I created universe on this query and in webI selection screen i do see the variable prompt.
    I am not able to see the current date populated automatically since exit values are not populated to WebI at runtime.
    My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
    where user can enter the values directly.
    I am currently on BO XI 3.1 SP3.
    Is there any specific setting in Universe or bex query which is required to get this Calendar prompt instead of list of values for dates?
    Note: When we were on SP1 the universe created then had same variable from bex and it still shows us Calendar prompt but ever since we upgraded to SP3 for the query splitter functionality we not able to get the calendar prompt for date variable in new universe we create
    Thanks
    Ritesh

    Yep.
    Now tell me how you want to show that Prompt @ WebI report level.
    My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
    where user can enter the values directly. Exactly, i didn't get this??
    @Prompt:
    You have flexibility to show options like:
    Mono/Multi: User can select Single value or Multiple.
    BW Variable: Same we have (Single/Multiple)
    Free/Constrained: User can Enter his/her value directly or No change option.
    BW Variable: By defalut you will get this, once you made it to Optional input.
    Persistent/Not_Persistent: Refreshed report has to show last selected value means use Persistent otherwise Not_P.
    By seeing the Prompt syntax , I can say your Variable is after Customer Exit, Correct??
    Workaround for your Problem is:
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A','Date\LovDate (Previous Day)Base',mono,primary_key)"/></CONDITION></FILTER>
    You have to remove that Date class and objects from prompt syntax. Because of that it showing up LOV's not calendar.
    Like:
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A',',mono,primary_key)"/></CONDITION></FILTER>
    Why, It should be blank??
    Because Date needs no class\object to show up, by default you will get Calendar on the fly.
    Hope you got my point.
    Thank You!!

  • 'Text' of a variable in Bex selection screen

    Hello,
    We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
    In Bex selection screen i am not getting text of default/entered months.
    for example: if default value is 2 to 4,then text would be FEB to APR.
    what could be the reason?how to get teaxts of entered values?
    (we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
    In web it is working fine.
    Rakesh

    Hi,
    Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it  helps.
    Regs,
    Vachan

  • How to create variables in Bex query

    Hi all,
    can anyone please explain how to create the variables and how many types of variables in Bex Query.
    Thanks in advance
    James

    Hi James,
    You can create variables in the BEx Query by right clicking on your characteristic and then selecting Restrict. A pop up window will appear. On the left side of the pop-up window, right click on a white space and then select New Variable. The Variable Wizard will then appear - you can now create your variable acording to your specifications. For more info on variables, please click on the link below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/61/579b3c494d8e15e10000000a114084/content.htm
    Hope this helps,
    Juice

  • 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

  • Is it possible to create a variable in bex with the last work day?

    Hi Gurus
    Is it possible to create a variable in bex with the last work day?
    Actually end-user every day open queries,
        - Put in selection date day - 1 or
        - put last Friday if the day is Monday or
        - put last Thursday if the day is Monday and Friday is holiday (in a calendar for example 25 the December).
    Please do the needful. It is urgent
    Thanks in advance
    Raj

    Try this logic in a customer exit:
    DATA:  l_s_range TYPE rsr_s_rangesid.
    DATA:  X_PERIOD LIKE T009B-POPER,
               X_YEAR   LIKE T009B-BDATJ.
      CASE I_VNAM.
      WHEN 'ZPREVWORKDAY'.
        DATA: l_DayOfWeek(1) TYPE C,
              l_act_date     TYPE d,
              l_prev_date    TYPE d.
        l_act_date = sy-datum.
        CALL FUNCTION  'DATE_COMPUTE_DAY'
             EXPORTING DATE = l_act_date
             IMPORTING DAY  = l_DayOfWeek.
        CASE l_DayOfWeek.
          WHEN '1'.
            l_prev_date = l_act_date - 3.
          WHEN '2'.
            l_prev_date = l_act_date - 1.
          WHEN '3'.
            l_prev_date = l_act_date - 1.
          WHEN '4'.
            l_prev_date = l_act_date - 1.
          WHEN '5'.
            l_prev_date = l_act_date - 1.
          WHEN '6'.
            l_prev_date = l_act_date - 1.
          WHEN '7'.
            l_prev_date = l_act_date - 2.
        ENDCASE.
        l_s_range-low  = l_prev_date.
        APPEND l_s_range TO e_t_range.
    ENDCASE.
    Edited by: Tyler Blouse on Feb 13, 2008 8:28 PM

  • Not able to access the Date variable in Bex report after SP upgrade

    Hell Experts,
    We have upgraded the support pack to 27 and after that we are not able to access date variable in Bex report.
    We are not able to restrict the Posting date on variable, we are getting the message "Operation failed! No detailed error information from backend available".
    Thanks
    Chetan

    Hi,
    carry out basic checks like RSRV for the field,query ,Infoprovider on which this query is based..
    Check whether there is any in consistent value in the posting date..
    check whether objects are active correctly..
    else serach for SAP note or raise OSS to SAP..
    Thanks and regards
    Kiran

  • How to edit the properties for existing variables in BEX query, so that I can get multiple input selections

    Dear fellow developers,
    I'm trying to edit an existing variable using BEX query, so that it can allow multiple input selections.
    As you can see in the screenshot attached, the option is selectable during creation.
    However, during editing of an existing field, this field (Details -> Basic Settings -> Variable Represents) is not selectable.
    Does anyone knows why, and how to remedy this?

    Yes you can do it at the table level.
    Go to SE11 enter table name as RSZGLOBV.
    Enter the technical name of variable in VNAM field..You need to change the value in VPARSEL column.
    Please make sure to get the where used list of this variable so that you can know the impact,if something goes wrong.
    Also change it in DEV and then transport across the landscape.
    PS:Same thing has been described in this blog as well
    Changing BI variable parameters
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • 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?

  • How to Write a CUstomer Exit for a variable in BEx

    Hi,
    How to write a customer exit variable in bex Query designer
    Do i need developers key for this (If so what type of key do i need so that i can ask basis tean to generate)
    Info Object: ZEXP_DTE (Expiry Date)
    Variable on ZEXP_DTE :
    ZEDTE
    Type: Customer Exit
    Can any one please tell me how to write a code in CMOD from this (Step-by Step)
    Expiry Date > Current Cal Day
    As arun said
    'l_s_range-low = SY-DATUM.
    l_s_range-opt = 'I'.
    l_s_range-sign = 'GT'.
    APPEND l_s_range TO e_t_range.'
    I want to insert the above code for the above customer exit but as i am new to BW as  ABAP please explain me what are the steps involved in CMOD
    Thanks

    Hi,
    To write customer exit for a variable, you require Access key.
    Contact your BASIS to get that.
    Access Key,BASIS?
    To write Customer exit,
    User Exits
    User Exit for Variable
    /thread/809285 [original link is broken]
    Hope these helps u...
    Regards,
    KK.

  • Rectrict list of possible values for variable in Bex

    Hello folks!
    I need to give a user possibility to choose only few value for variable in Bex report. Number of entries in master data is huge. I need to show only 7 possible values in the window with variables.

    Amy,
    You have a tricky requirement but I can only think of one thing but it would require user training. Try the following.
    You can setup a new variable with default values and define it as type multiple single values.
    The user could in the variable screen would then need to take out the ones that are not needed.
    Hope this helps.
    -Sid

Maybe you are looking for

  • [SOLVED] Cannot boot custom ZEN-kernel (misconfigured .config)

    Last week I tried to build a custom ZEN kernel for my computer, using GCC 4.5 and Intel Atom optimization (setting CONFIG_MATOM=y) and as few kernel modules and options as possible. I based my settings on the Gentoo Wiki for Asus Eee Box B202 and the

  • Ap ageing

    what is vendor ageing analysis how we calucate them just tell me the functionality?

  • Creating file in remote system - Urgent

    Hi all We have a requirment like creating a file in remote sytem 'c:\' drive through abap program. Pls give valuable suggestion as soon as possible.

  • Receiver determination for ALEAUD??

    Hi,     I have configured my ALEAUD for a (B2B partner) R3 -> PI (B2b) - > PI (local) - >  R3 (local) scenario... I have requested the partner PI system to map their systems to my business systems in their Receiver determination step - header mapping

  • Recovery partition is missing boot file!

    My operating system was missing and my hard drive was formatted I tried using the windows installation disc but it didn't help. Then I installed Windows 8 its seems a little too confusing but I miss my Windows 7 features. Is there any way to boot fro