How to remove Variable-Values prior to transporting to prod-system?

Hi specialists,
I've got the following problem:
We've got a mixed BEx-client-environment with user using BEx 3.5 as well as BEx 7.x.
So I create workbooks with BEx-Analyzer 3.5 and transport them from the developement-system to the production-system.
The problem: Obviously the variable-selection that I used at last in the developement-system is saved in the workbook. So let's say I tested the query in the dev-system with "DE01" as value for the company_code on the variable screen, then this value is saved in the workbook and transported to the prod-system.
In the production-system the value is not replaced anymore by the users permitted company-code values (the variable is based on the users permissions), but the user has to remove this "DE01" manually and has to enter all his personal company-codes manually - which makes the permission-bases-variable senseless.
Even if I clear all variable-values in the developement system (which is not possible for mandatory variables) prior to saving the workbook, the issue is the same: This time empty fields are presented in the prod-system, but the permission-based-variable isn't set correctly - the field stays empty (=exactly as it was when I saved the workbook in the dev-system).
So, how can I clear the variable-screen-values before I save and transport the workbook to the prod-system? The only way (and it is certainly not the recommended one) i found: If I cancel the query at once after having confirmed the variable-screen and save/transport that query, then the variables seem to be really empty and the permission-based variables in the prod-system work.

So, when user run the report in production, they will have to remove # for mandatory variables and put thier value.
Mh - most of our reports have variables for "company_code","sales_org" (for example).
Normaly this fields are not mandatory but optional.
But: Normaly if the user opens such a variable-screen (for the first time) the company_code and sales_org are preset according to the users permissions for this chars.
If I follow your description, then the variable-screen would open with "#" or "" - but wouldn't be replaced by the user's permitted values anymore :/ - hence the phone rings because the users didn't manage to restrict the variables to their permitted values.
Maybe this is a case for an oss-message for the area BW-BEX-ET-USAB Userability Frontend....

Similar Messages

  • How do remove commitment value in the PO ? any SAP note avl?

    Hi,
    Project (WBS)releated service PO (Account assignment category P and Item category D), in which SES,GR,IR have been completed for entire Project services for the year 2005,PO history also updatd for SES, GR,IR in the 2005 only.But Now system is showing still commitment value in the PO for the year 2009?.
    Henece how do remove the inconsistency of the  commitment value in the PO for the year 2009?. (i.e value is comming from COOI table entry).Is there any SAP NOTEs are available for this case?
    Note:
    But this case no PR has been refered in the PO. PO has been directly created, and PO  QTY,Value changes have not been done after SES,GR,IR completion.
    But still system  commitment value is showing in the PO for the year 2009, so HOW do remove the value?
    i am looking suitable answers.
    Regards,
    kumar

    Hi,
    Pre-requisites for a commitment update are:                                                                               
    o  In transaction OKKP, the commitment management indicator must be              
           active for the given controlling area in the current fiscal year.                                                                               
    The controlling area is the highest organizational unit in Controlling,              
    however this area is missing from the accounting data of the PO.                                                                               
    o  The accounting objects must be active for commitments:                                                                               
    -  Work orders: The commitment management indicator must be set               
              in transaction KOT2 for the given order type.                                                                               
    -  Cost centers: In transaction KS02, in register "Control", the              
              commitment update indicator must NOT be set.                                                                               
    -  Projects: see note 47992                                                                               
    o  In transaction CUNI, the unit of measurements used at item level              
           must be set to value based commitment.                                                                               
    Please check the following notes 152571, 634298, 459509 and            
    772206 carefully and also 165823. 
    Please check also if the "delivery complete" indicator is set in the PO item (see note 735404).
    Usually for service POs the "Delivery completed" indicator will be   
    hidden and this indicator is fully controlled by the "final entry    
    sheet" indicator in ML81N. You must allow to set this indicator trough a field selection customizing for your PO item.
    Regards,
    Edit

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • How to set variables values via VBA.

    Anybody please help.
    How to set variables values via VBA in workbook. SAP Netweaver 2004s.

    Pass variable values with VBA and BI 7.0 funtions to Query
    At first a remark u2013 Iu2019ve read a lot of threads saying that passing values to a query can be done by using VBA code only. Iu2019ve tested it but Iu2019m not sufficient with the new BEX 7.0 API and therefore I use a mixture of BEX 7.0 funtionality and VBA. I create a BEX 7.0 design item button passing the values to a query u2013 I hide this button somewhere on the sheet or on a hidden sheet and I then raise the event to click the button from VBA code. Works fine and the maintenance is easier if something changes in the API in the future again.
    How to start:
    Switch to design mode in BEX Analyzer:
    Implement a BEX 7.0 design item u201Cbuttonu201D
    Click on the button to implement the properties
    Make the input for the commands
    data_provider = dataprovider_1
    cmd = process_variables
    subcmd = var_submit
    No comes the part with the variables u2013 Letu2019s assume a query has 4 variables but you only want to change 1 with the button u2013 an organizational unit for instance.
    Make a range somewhere in the excel with the following structure:
    Name    Index   Value
    VAR_NAME_1      1       Variablename
    VAR_VALUE_EXT_1 1       variablevalue
    Value should contain the name of your variable of course and u201Cvalueu201D the value of your variable
    Set a name for this range with EXCEL functionality but without the header:
    Back to the properties of the button: Insert the name of the range with the variables in the field Command Range:
    If you have more variables to process you can of course enhance your Filterrange!
    In the left upper Corner you have a name for your button:
    Now you can raise the button-click in vba like this:
    Application.Run "'" & ThisWorkbook.Name & "'!Sheet2.BUTTON_35_Click"
    regards, Lars

  • How to change variable values ?

    Dear friends,
    How to change variable values when we are broadcasting the Queires ?
    Do we need to change them everytime ?
    Thanks,
    N

    Hi,
    Please go through it.
    /people/ramkumar.ghattamaneni/blog/2008/02/25/using-variables-while-broadcasting-queries-to-the-portal-in-bi-7
    Regards,
    Ramkumar.

  • How to copy NCLOB value(Contains Word Document) into file system

    How to copy NCLOB value(Contains Word Document) into file system or display in sqlplus

    The UTL_FILE package will write it only to text file not(NCLOB Value[containts images as well as text])

  • How to set variable value in an XML array

    Hi,
    Please let me know how to set the value for a xml array element using assign activity inside a for-each block in BPEL 11g
    I tried to set the variable value for result element using the below condition but i encountered selection failure message
    $outputVariable.payload/ns1:Student['i']/ns1:result or
    $outputVariable.payload/ns1:Student[$i]/ns1:result
    And the xsd used is as below
    <xsd:complexType name="StudentCollection">
    <xsd:sequence>
    <xsd:element name="Student" type="Student" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Student">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="location" type="xsd:string"/>
    <xsd:element name="mark" type="xsd:string"/>
    <xsd:element name="result" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    Thanks,
    Dhana

    Hi,
    At the back of button specify the following parameter:-
    CMD    1        Execute_planning_function
    Planning_function_name  1   xyz
    Var_name     1    variable_name
    var_value      1    blank
    Can also refer to link below:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a89464-f697-2910-2ba6-9877e3088954?quicklink=index&overridelayout=true(can refer to page 20)
    http://www.sdn.sap.com/ddc5564a-337d-4cf9-a34e-2dab64df09be/finaldownload/downloadid-a61a6724ba8e7b7fbd9c5df9590ab50d/ddc5564a-337d-4cf9-a34e-2dab64df09be/irj/scn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be?quicklink=index&overridelayout=true
    Hope it may help

  • How to remove a value from a vector of vectors

    How can I remove a value from a vector inside another vector, say;
    Vector myvector= new Vector();
    Vector data= new Vector();
    myvector.addElement(rs.getString(1));
    myvector.addElement(rs.getString(2));
    myvector.addElement(rs.getString(3));
    data.addElement(myvector);
    I want to get an element in the Vector "myvector" at index 2.

    import java.util.*;
    public class Test {
      public static void main(String args[]) {
        Vector myvector= new Vector();
        Vector data= new Vector();
        myvector.addElement("Zero");
        myvector.addElement("One");
        myvector.addElement("Two");
        data.addElement(myvector);
        System.out.println("main vector initially contains:" + data);
        myvector.remove(1);
        System.out.println("main vector now contains:" + data);
    }Output:
    main vector initially contains:[[Zero, One, Two]]
    main vector now contains:[[Zero, Two]]
    Just to be sure I was correct in the first place. Perhaps you should have done likewise before continuing stick to your guns.

  • How to get variable value in BI 7.0 Workbook (Excel 2007)

    Dear experts,
      We are creating workbooks with BI 7.0 BEx Analyzer Addon 7.10 (Excel 2007).
    And we'd like to get the variable value (that are passed to the backend using the variable screen) so that we can reuse it as an input value for planning function execution later.
      Any idea on how we can achieve this is high appreciated.
    Thanks in advance,
    Shady

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • How to put Variable value into Labeltext of a subcomponent WIB

    Hello
    In our Web Based Planning tool we uses Tabstrib_control component and the Label-Text is filled like 'Plan 2008'. (Our BPS = 3.5 and Web interface builder)
    I am looking for a way,how to put a variable into the Label field of the component.  I am not sure if there is a possibility to enhance the labelfield with variable values.
    Thanks a lof for any good idea.
    Best regards
    Christian
    Our BPS = 3.5 and Web interface builder

    Hello Christian,
    Maybe I have a solution for your problem.
    1. Create subcomponent "Selector variable" with your variable.
    2. Hide this new subcomponent
    3. Write in the Label-Text: <%=descr("Name of new subcomponent"/value)%>
    If the variable will be selected by the user in the web interface, put the name of this selector in the field "Update upon Change of" in the properties of the new created subcomponent.
    Hope this helps.
    Friedrich

  • How to remove the a report from Transport

    Hi Have CR in transport and the CR contains many reports.
    a) If  i want to remove one report from that, plese tell wht are the steps do i need to follow.
    b)  if i want to remove entire transport request,Plese tell how to remove  the transport
    c) also give me steps if i want to remove the entire CR  from the transport.
    thanks in advance
    d) also please give me steps to release it to Quality.
    Thanks in advance.
    kp

    Hello KP,
    a) If i want to remove one report from that, plese tell wht are the steps do i need to follow.
    Go to SE09
    Find out the TR where u have added the report.
    Select the report and click delete button. A Popup will apprear for confirmation.Press YES.
    b) if i want to remove entire transport request,Plese tell how to remove the transport
    Then remove all objects from the TR and Delete the TR.
    Please reward points if it helps.
    Vasanth

  • How to change variable values dynamicly  in broadcasting

    Dear Friends i am scheduling workbooks using broadcasting feature.
    i want to know how can i change the variable values of report in broadcasting dynamically.
    becuase i dont want to schedule report again and again after changing the variable values.
    Regards
    Malik

    i did the same but its not working.
    i create one variant for the query ABC  using RSRT now if i look into table RSRVARIANT we can see that variant
    entry in this table. Now i create variant by bex on this query with the same name.
    now i schedule it using broadcasting but its not takeing the values of RSRVARIANT table.
    Its taking the value of variant which i save in bex.
    By default variant which is save in bex not appear in RSRVARIANT table.
    But i f you make a variant in RSRT you can see those entries in Table RSRVARIANT.
    But RSRT variant is not showing in Broadcast scheduling. Only Bex variant are showing.
    Where should create the variant in Workbook, in Bex web analyzer, or in RSRT.
    Regards
    Malik
    Edited by: Malik Naeem on Jun 9, 2010 2:05 PM

  • How to remove Variables Personalization in the BEx Analyzer?

    Hi All, Help us. Say please:
    1. How to remove personal Variables Personalization for query/user in the BEx Analyzer with standart tools?
    2. How to disable personalization button on varible screen?
    Our users very often click this "bad" button and after that can't to find required criteria on selection criteria screen. We've studied BW Guides and Forum materials (may be not very thoroughly), but search usefull information only for Web Reporting. We've search corresponding table /BI0/APERS_VAR00 but fear to edit it directly.
    Best regards, Igor

    Hi All,
    I think that best way to remove personalization of any var or infoobject could be done through the next logic.
    we have ODS <b>0PERS_VAR</b>.
    we need to remove line from this ODS with specific parameters like USERNAME and VAR_NAME or IOBJ_NAME.
    <b>Step by step instruction</b>:
    1. Create <b>update rule</b> from ODS 0PERS_VAR to the same ODS.
    2. Write <b>'Start routing'</b> to update ODS with the next ABAP-code
      LOOP AT DATA_PACKAGE.
        DELETE FROM /bi0/apers_var00
          WHERE tctusernm = DATA_PACKAGE-tctusernm AND
              ( tctvarnm = DATA_PACKAGE-tctvarnm OR
                tctiobjnm = DATA_PACKAGE-tctiobjnm ).
        DELETE DATA_PACKAGE.
      ENDLOOP.
    3. Activate update rule.
    4. Update ODS Data in Data Target with <b>'full update'</b> !
    5. At the selection screen of info-package <b>specify fields</b>
              < 'TCTUSERNM' - username  > AND
              < 'TCTVARNM' - var name > OR < 'TCTIOBJNM' - infoobject name >
    PS:\ As result <b>personalisation will be reseted selectively</b>.
    if it help you, it is a chance to donate some points to me
    best regards

  • How to pass Variable value to SWF file in Eclipse development

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

  • How to pass variable value to field of standard sap transaction.

    Hi Experts,
       i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
    thanks in advance.

    You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
    Jonathan

Maybe you are looking for

  • Calendars won't sync.... tried everything!

    Hi all, New to posting so forgive me if this has been posted, but I've had a good look and can't find an answer! The problem is syncing my iPhone with my Calendars - it just won't happen. Tried Resetting Sync History, Removing Computers from .Mac and

  • Windows 7 Upgrade fulfillment discussion

    All, Since Oct 22, when the Window 7 upgrades began shipping, we've received a lot of feedback and provided a number of updates to our customers.   Upgrades for Think Products have been shipping since the 22nd, but there is a backlog we are working t

  • Imac G4 Home Folder

    How do I rename or delete a home folder from an imac G4?

  • Crystal report license query

    1)      Do Company A (which is a group of companies consisting of Company 1 u2026.. Company N), require the Developer License only, and distribution to its group company  is free? 2)      If u2018Company 1..Company Nu2019 are sub-companies of Company

  • Addressbook.app Missing

    I went to update my contacts that I have stored in AddressBook today and discovered that the actual address book application is missing. It seems that the data (contacts show up in spotlight) and the plist files are still there. I don't recall deleti