Variable on Workbooks

Hi guys,
I've a simple Balance Sheet query. I changed the look (colours, fonts, etc) and saved it as Workbook. It looks nice now but the variables for selection are not displayed anymore. The workbook take the variables that were saved from the query.
Is there any way to get my own layout for an excel report and also have the variables to select ?
Thanks in advance

Hi Pablo,
If the other answers solve your problem, ignore this note.
I think what you want is to be able to see the variables that were used on last refresh to display in your workbook.  The way to do this is:
1.  refresh the query
2.  on Business Explorer toolbar, select Layout >> Display text elements >> Variables.
You can CUT and paste ( or drag and drop, but DO NOT copy and paste) these cells another location is you do not like where BW put them initially.
You only need to do this one time.  After that, BW will maintain the values for you each time you refresh the query.
Hope this helps.
- Pete

Similar Messages

  • Variables from workbook are not visible in the Planning function

    Hi,
    We're using a workbook with a bunch of queries in it. Every query has a lot of variables declared that are calculated based on two input ready variable that users are required to fill the first time.
    Everything works as expected until the save data function is called, which in turn calls the planning function.
    Here, the user exit variable try to be recalculated again. Unfortunately, this planning function loses track of the two input ready variables that were on the workbook, so the user exit variables have no values.
    Can you please suggest a method so that:
    a) The user exit processing in the planning function "sees" the two input ready variables
    b) The user exit processing is not triggered in the planning function and it's taking the already calculated values
    Let me know if you require further information.
    Best regards,
    George

    Hi,
    the variables in the filter of the query lives in one variable container and the variables of the filter of the planning sequence live in another variable container. They do not know each other. You need to establish a relationship between them. Usually this is done via variable binding for regular variables. For exit variables the variable binding can be done as written above.
    If as in your case you have variables in the filter of the query and you want to use their values in the variable of the planning sequence than you need to store the values somewhere where you can retrieve them in the exit. This can be in a e.g. in shared memory or in the session memory. To do this you need to spend an extra exit variable in the filter of the query. The exit variable reads the real values and stores it somewhere (e.g. shared memory, global parameter of a function group, a class member or something similar). Now as the variable value is stored it can be read in the implemenation of the exit variable in the filter of the planning sequence.
    In total we have 3 variables:
    Variable 1 contains the value which the user keys in and exists in the filter of the query.
    Variable 2 reads variable 1 and stores the value. It needs to be defined in the filter of the query as well.
    Variable 3 reads the stored value and needs to be defined in the filter of the planning sequence.
    Regards Matthias Nutt
    SAP Consulting Switzerland

  • Condition variables in workbook

    Hi Gurus,
    How to display condition variables in the navigational area of the WORKBOOK.
    Thanks
    Liza

    Hi Praveen,
    Could give me some more deials ? I would appreciate it.
    You said design mode, is it query or workbook  design mode ?
    In tools , I did not see any insert condition option.
    Could you  give step step process ?. I would assign you all the points.
    Thanks
    Liza

  • Bex Exit variable with workbook

    Hi experts,
    I've defined a query that uses an exit variable which select a specific range of customers.
    When I execute the query the variable is populated with correct values.
    Then I saved this query as workbook; but when I execute the workbook, the selection is not taken into account; it's as the exit is ignored.
    When executing the workbook I 've got an information message as follow:
    "The Can be changed in query navigation property has been set for variable VACLCONSID, characteristic 0BILLTOPRTY. However, the variable is used in the query in such a way, that the system is unable to apply this change-option"
    But in my query definition for VACLCONSID, flag "can be changed in query navigation" is't checked.
    Moreover I can't debug exit ZXRSRU01 with a workbook.
    Any ideas
    Thanks in advance
    Thierry

    Hi Radha,
    thanks for your reply.
    My exit variable depends on a customer variable which is filled during variables screen processing
    User selects a period, and exit defines customers selection with this information
    I use i_step= 2 in exit ZXRSRU01
    No other parameters are filled in the workbook by user
    Regards
    Thierry

  • Command buttons to Assign Query / Query view with variables on Workbooks

    Hi experts,
    We want to have a workbook with buttons that will change the Query/Query view displayed in the unique grid we have.
    We've included command buttons on a workbook, as "<b>Data Provider Specific Command</b>" and chose the Queries, selecting the "<b>Assign Query / Query View</b>" option.
    When using queries without variables or just SAP exit variables it works perfectly, clicking the buttons change the table displayed accordingly. But when using queries that have at least one variable, in our test to select time interval, it doesn't work anymore.
    In our test, we're using just 2 queries and they have the same input variable (to select months interval); but when clicking the button no change/error occurs.
    Any ideas?
    Thanks in advance.

    Hi,
    Here is one approach - Keep three analysis items in the WT. Assign three different data providers to all three analysis items. If you do not want to show any query when the WT first loads, don't assign any query to the data providers. When a button is pushed, you can use the command SET_DATA_PROVIDER_PARAMATERS to assign a query to a DP so that that query will show up.
    Other commands that will help you would be SET_ITEM_PARAMETERS using which you can hide analysis items and also, you can use the command BACK_TO_INITIAL_DP_STATE on data providers so that they do not show up if they were blank at the start.
    Another way to hide a query is to assign the analysis item to a data provider which is blank.
    For your requirements, you will have to put multiple commands behind each button - you can decide which of the above commands suit you best.

  • Variable Assignment : Workbook broadcast

    Hi gurus,
    We have been broadcasting 31 Inventory workbooks on a weekly basis for the past couple of months. The workbook is based on 1 inventory query which has a Cal Month and Store Location as mandatory variables. Obviously, while broadcasting the same, we should be able to set these variables in the Variable Assignment of the Workbook Precalculation Tab.
    Earlier I was able to see them in the variable assignment assignment for this workbook. We havn't changed the query, no changes in the system, No changes at all. But now I am not able to see a single variable in the variable assignment except for this variable that says Tech.Cont.: Time Frame for which Data is Selected.
    I am not sure where can I see the variants for this workbook. Anyways, we havn't mentioned any variants in the workbook precalculation tab. Please help me with this issue.
    I executed the query and tried broadcasting the corresponding query, Here I am able to see the variable assignment. But not for the corresponding workbook. Creating all the settings right from the scratch for changing from workbook broadcast to query result broadcast would be a very tedious task which I don't want to undertake right now.
    Can anyone please help me with this problem.
    Thanks & rgds,
    Sree

    Hi Murali,
    Thanks for your answer and sorry wasn't able to respond early.
    As I had mentioned, this problem didn't exist earlier. However, all of a sudden, we have started to face this issue. Global variants were never created because we are not using the option of VARIANTS, instead we use Variable Assignments. This has been the practice for the past many months, but all of sudden since last month, we started having this strange issue where we could'nt determine the variable assignment.
    When know I click on the variable assignment create link, there is only one variable that appears in the screen "Tech.Cont.: Time Frame for which Data is Selected", I donot see any other variables. Earlier though, i was able to see all the other variables (Plant, division, etc).
    Please let me know if you have any answer for this issue.
    Thnks & rgds,
    Sree

  • Variable Assignment-Workbook Precalculation

    Hai Guys,
    I have a problem while executing.please,go through it
    Start---BEx Analyzer--
    Create new work book.While executing the work book,it is asking me to enter variable values.Once the variables are given and when start executing it, i am getting the ouput correctly and when i  broadcast the same through email,in work precalculation tab, again it is asking me to enter variable values.I have done that and  executed.  But I am  not able to receive any email.Infact,after taking 3 mnts it showing Timed out error.Kindly,suggest me with a solution to this. Where should I exactly enter variables?
    Kindly,give me a solution for this.
    Thanks,
    Mohan Chand Reddy A

    Hai Shakir,
                    First i thank q for ur reply to my question.But is it correct that we should assign Variables only in the Workbook Precalculation tab?Some one are suggesting like variables can be given both in foreground calculation i.e., while creating a workbook and also we should give the same variables in the workbook  precalculation tab.But in one document, i found there is no variable assignment tab in the Broadcasting settings.It means they might have given variables in the workbook creation itself.
          Please,reply me.It's very urgent.
    Thanks,
    Mohan Chand Reddy A

  • Hierarchy node variable in workbook

    Hi all,
    I am scheduling a workbook in precal,
    The work has nine queries with same hierarchy node variable in all teh query selection.
    The work book is taking long time in opening even when auto refresh is off.
    the precalculation takes 30000 sec and running...
    any thought on what can be done to reduce the calculation.
    regards,
    Rakesh.

    Hi,
    As precalculation just automates the process of opening, refreshing and applying the variant on a workbook I would suggest trying to find improvements there. Perhaps the notes below can help.
    1289127
    1160093
    1179647
    1260213                         
    also use the latest precalc server support pack "BW 7.x precalculation service SP1200 - GUI 7.10" (note 1387291).
    Thanks,
    Michael

  • Bex variable not calculating when using on a workbook

    Hello!
    I've created a variable on 0date.
    The default value is the current month.
    The code is in ZXRSRU01 with i_step = 1.
    When calling this variable using the query the value is correctly shown :
    For exemple we are in march, the variable default value is 03.2011.
    But the workbook based on this query don't update the variable default value:
    The workbook shows all the time "02.2011" even if we are in March.
    In fact, this workbook was saved in February, he seems to remember that value.
    How to make dynamic variable in workbook ?
    regards,

    Not sure if you have tried this, if not give it a try.
    In workbook properties, there is a setting 'Process variable on refresh' - if this is checked the workbook uses the saved variable.
    from [http://help.sap.com/SAPhelp_nw70/helpdata/en/54/a493f7256b43698191a2623e5a0532/content.htm]
    Process Variables on Refresh
    If any query in your workbook contains variables, any current values set for the variables are part of the query view definition and are therefore stored in the workbook.
    Set this indicator if the values saved in the workbook are to be used automatically.
    You should have this unchecked.

  • Error while opening an workbook

    Hi
      I have done some changes to a query and transported Query as well as Work book to production. When i open the work book I get the below error and gets disconnected form BW
    <internal Error > Receiving from theBW server failed
    BW server raised exception :SYSTEM FAILURE
    I GET THIS ERROR ONLY WHEN I OPEN THE WORK BOOK , BUT WHEN I OPEN THE QUERY IT WORKS FINE
    ps: All other workbooks are working fine
    Thanks
    Sheetal

    Hi
      I have a condition on the base query. The requirement was the user wanted a Selection option range on Key figure, so i had to create a condition with two variable (To and from). And also if I enter some value in the variables my workbook opens fine if i leave the condition variables empty i get the error and disconnects from the server. Please advice how to overcome this error
    PS: recently the system is upgraded from 3.5 to BI7.
    Thanks
    Sheetal

  • How to re-assign the query to a workbook after changes.

    Hi Experts,
    I have  added new variables to the selection screen of a Query.
    This query is also being used in some workbook.
    How can i reflect this change in Selection variables to Workbook also.
    When i re-assign the data-provider to the report, it restores the default layout of query.
    The changes of workbook are lost.
    How can the changes in query be reflected in Workbook, without having to create the workbook again.
    Any pointers on this would be helpful.
    Thanks in advance.
    Ashmita

    Delegation is also a standard workflow administration functionality; it is not specific to MDG. There is a "substitution" button in the workflow inbox that a user can setup. When people leave on vacation, they should set it up. When they leave the company, I would this delegation will be one of the last things on their minds. That's where Workflow Admin delegation is needed: transaction RMPS_SET_SUBSTITUTE.
    As far as escalation, there is a "reminder" that you can set in the rule-based BRF+ decision table. However, it is very limited and only goes to the responsible person him-/herself. For real escalation to a manager or another support group, you will need to build a completely new custom workflow template that includes your escalation rules or at least a "sub-workflow" template that you can call from within the standard rule-based workflow template.

  • BEx Layout Issue

    Hi everyone,
                           I have a BEx Query which has Quantity Keyfigure and the user does not want to see the Keyfigure together with Unit of MEasure in the same Column. So , I used NODIM function in the Report and Added 0BASE_UOM as a seperate Characteristic in the Report.
    But the thing is by default all the Keyfigures are displayed to the Right Corner of the Report  and hence the  Unit of measure comes up along with the characteristics and Quantity as Keyfigures in the right.
    But My User wants to change the Layout to  Quantity follwed by unit of measure in the Next Column. I tried  to change the layout and save it as a workbook.
    But as it is, the Workbook when refreshed or  when we change the Variable Values , it goes back to the Query Format  Layout.
    I hope i am  clear.Please suggest .
    Regards,
    Samir

    Thanks Manikandan.
    I was waiting for this Reply. SO, Once if I follow your Steps, then My Workbook Format will be saved permanently. I haven't worked much with WOrkbooks . SO , I am new to this.
    Can you please provider me the ExactSteps. Or else let me try this on Monday and I will get back to you.
    Also, i hope, when the workbook is refeshed or when the user changes the variable, the Workbook Format is retained and only the data changes.
    Because right now, the workbook which I created when refreshed shows the Query Output. SO , I was just thinking how Workbooks are useful then if the Format changes once the user refreshes.
    Regards,
    Samir

  • Work book and query

    hi every one,
    i like to know whts the diffbetween query and workbook
    thanks in advance,
    kumar

    As the guys told you, the different is that you can include more than one query in a workbook and you can apply format( change font, color, use a template, etc).
    It's commun to use when you have more than one query that are connect , for example:
    If you have 3 differents querys about Sales, you can create a workbook and include theses querys all together, doing this the user only executed 1 workbook and can see all the reports togheter.
    And keep in mind, if your query uses the same variable the workbook only ask you one time the values and its gonna apply to all the querys in the workbook
    Regards.

  • BI analysis authorization - Same info provider- diffrent access ?

    Hi Gurus,
    Designation of roles:
    1. User is having two PFCG roles (A1 & B1) assigned.
    2. Role A1 contains query name ZQRYA1 & Role B1 contains query name ZQRYB1
    3. Role A1 is linked to analysis authrozation role AR1 and Role B1 is linked to analysis auth. role BR1 (thorugh S_RS_AUTH)
    4. AR1 is having access to Company code 1000 & info proivder is ZIC_COPA
    5. BR1 is having access to Company code 2000 & info provider is same ZIC_COPA.
    Requirement :
    When user is executing ZQRYA1, he should see only 1000 company code.
    Result:
    With above design user is able to see 1000 & 2000 company code data for ZQRYA1.
    My analysis:
    1. We should use Customer exit in the Query. (SAP note referred  668520).
      2. As per SAP note 1000004 (Merging and optimizing analysis authorizations), I understand that if same info provider is there then BI analysis auth. will merge the values.
    Please correct me if I understand something wrong. Also suggest how can implement role so that values will not merge.

    Hi experts,
    I am getting confused now.
    As pe rmy practical experience for same info-proivder BI AA will merge the values. Even i got same response in SDN forums.
    But when I raised this issue to SAP (OSS message), SAP says this issue should resolve by applying SAP notes through SNOTE..
    1138708     Unauthorized data is displayed: "Not assigned" (#)     
    1158432     Too many values authorized for hierarchy with intervals     
    1234334     Authorization error for query on InfoSet     
    1229602     Error when using hierarchies: Authorization error     
    1226163     Authorization variables in workbook     
    1000004      Merging and optimizing analysis authorizations
    1150754     Authorizations for InfoSet chars. ignored in input help     
    1235049     F4 help: Unauthorized data for referencing characteristic     
    I have gone through notes but did not find relevant, but still SAP replied it should resolve the issues.
    Please suggest.

  • Automatic publish to ERP

    Hi,
    I am using SAP sourcing7. We have a requirement where we need to automatically publlsh master agreements to ERP. For this, we have created a custom variable through workbook and used below document lifecycle script. However, I get error saying "Typed variable declaration : Class: ExporterIfc not found in namespace"
    I have checked the SAP integration jar and the classes ExporterIfc, SmartExporter all seem to be same and belonging to right packages.  Can you please help.
    import java.util.HashMap;
    import com.frictionless.sap.integration.exporter.ExporterIfc;
    import com.frictionless.sap.integration.exporter.SmartExporter;
    PROP_DATACONV_ENABLED = "data.conversion.enable";
    PROP_SET = "custom";
    // Get logger
    logMsg =Logger.createLogMessage(session);
    void publishOA(){
    Logger.info(logMsg.setLogMessage("*********Starting publishOA**********"));
    HashMap map = new HashMap();
    map.put("mode", "export");
    ExporterIfc exporter = new SmartExporter(doc,map);
    exporter.process();
    //*********** Main Method **********
    Logger.info(logMsg.setLogMessage("*********STARTING AUTOMATIC PUBLISH TO ERP**********"));
    dcInProg =IapiSystemUtilities.getSystemProperty(session,PROP_SET,PROP_DATACONV_ENABLED,"false");
    Logger.info(logMsg.setLogMessage("*********dcInProg**********" + dcInProg));
    if(Boolean.valueOf(dcInProg)){
    publishOA();
    Regards
    Moumita

    Hi Bram,
    What is the exact issue you are facnig? Is it in autopublish script or you are getting validation errors when trying to publish to ERP.
    In case, it is in autopublish in SAP sourcing 7.0, you should use below script in collection validation with class as Agreement/Master Agreement and target as Collection Validation.
    Please let me know if you want more information.
    import java.util.HashMap;
    import com.sap.eso.sapintegration.exporter.ExporterIfc;
    import com.sap.eso.sapintegration.exporter.SmartExporter;
    PROP_DATACONV_ENABLED = "data.conversion.enable";
    PROP_SET = "custom";
    // Get logger
    logMsg =Logger.createLogMessage(session);
    void publishOA(){
    Logger.info(logMsg.setLogMessage("*********Starting Publish to ERP**********"));
    HashMap map = new HashMap();
    map.put("mode", "export");
    ExporterIfc exporter = new SmartExporter(doc,map);
    doc.getExtensionField("Z_MIGRATION_VAR").set(true);
    Logger.info(logMsg.setLogMessage("*********Setting migration flag to**********" + Z_MIGRATION_VAR));
    exporter.process();
    Logger.info(logMsg.setLogMessage("*********Ended Publish to ERP**********"));
    //*********** Main Method **********
    dcInProg =IapiSystemUtilities.getSystemProperty(session,PROP_SET,PROP_DATACONV_ENABLED,"false");
    Logger.info(logMsg.setLogMessage("*********Migration is enabled**********" + dcInProg));
    lineItemsCollection = doc.getLineItems();
    isExported=doc.getExtensionField("Z_MIGRATION_VAR").get();
    Logger.info(logMsg.setLogMessage("******isExported******" + isExported));
    collectionsize = lineItemsCollection.size();
    // If there are lineitems, then only publish to ERP
    if (collectionsize>0) {
         Logger.info(logMsg.setLogMessage("******Number of Lineitems******" + collectionsize));
         if(Boolean.valueOf(dcInProg)){
              if(!isExported) {
                   publishOA();
    Regards
    Moumita

Maybe you are looking for