Run Variable values out of the "variable values window" in a excel workbook

Dear experts,
I am working on BI 7.10.
Our workbooks are made of several data providers based on the same query and require many different variable values, which give us a long and unconvenient (for the users) "select values for variables" window (ex : we have a Profit and Loss report to run on different consolidation versions, fiscal years etc...)
So I wonder if there is another way to enter these values, out of this window...(macro?)
Many thanks for your help.
Armelle

my variables are global for all data providers since I use the same query for my data providers.
It's just the values (some of them : ex: conso version) that differ from one data provider to another.
ex : here for 2 diff Data providers based on the same query i need to enter the following values for mandatory variables
Different versions / different years but same conso group / data entry year/ posting period.
i would like to have the possibility to enter these values out of the "select values for variable" window (not convenient when we have 7 or 8 DP...), but directly in the workbook.
But maybe this is not possible...
In DP1                 
conso version = A_PL                         
conso group = FR01
data entry year = 9999
fiscal year = 2010
Posting period = 12
In DP2
Conso version = P4_MAG
Conso group = FR01
Data entry year = 9999
fiscal year =2011
Posting period = 12

Similar Messages

  • Variable being overwritten in the Variable Substitution (File Adapter)

    In the File adapter Receiver Communication Channel, I am using variable substitution.
    The problem is that the first variable I use (userid) is being overwritten by the second variable (filenumber). How can I fix this problem?
    File Name Scheme: %userid%_%filenumber%.xls
    Target XML:
    ============
    <?xml version="1.0" encoding="UTF-8"?>
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
    <Worksheet ss:Name="FileName">
    <Table x:FullColumns="1" x:FullRows="1">
      <Row>
        <Cell><Data ss:Type="String">0209519</Data></Cell>
        <Cell><Data ss:Type="String">32226v2 v1.1</Data></Cell>
      </Row>
    Variable Substitution:
    =======================
    userid          payload:Workbook,1,Worksheet,1,Table,1,Row,1,Cell,1,Data,1
    filenumber    payload:Workbook,1,Worksheet,1,Table,1,Row,1,Cell,2,Data,1
    Expected Output:
    ==============
    0209519_32226v2 v1.1
    Actual Output:
    ============
    32226v2 v1.1_32226v2 v1.1
    Thanks for your help.

    Thank you for all your suggestions. I decided to modify my target XML and concantinate all the fields into one string so I don't have to worry about the variables being overwritten in the variable substitution.
    Target XML:
    ============
    <?xml version="1.0" encoding="UTF-8"?>
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
    <Worksheet ss:Name="FileName">
    <Table x:FullColumns="1" x:FullRows="1">
    <Row>
    <Cell><Data ss:Type="String">0209519_32226v2 v1.1</Data></Cell>
    </Row>
    Variable Substitution:
    =======================
    filename payload:Workbook,1,Worksheet,1,Table,1,Row,1,Cell,1,Data,1
    Expected Output:
    ==============
    0209519_32226v2 v1.1
    Actual Output:
    ============
    0209519_32226v2 v1.1

  • My lov results into the return value instead of the display value in APEX

    Hi,
    For 1 of the columns I'm representing in APEX, I choose 'Display as text, based on a lov'. I'm using:
    select aan.id||', '||r.naam||', '||a.woonplaats d, aan.id r
    from wmo_aanvragen aan
    , wmo_dossiers d
    , wmo_relaties r
    , wmo_adressen a
    where d.avg_1_id = aan.id
    and d.rel_nummer = r.nummer
    and a.rel_nummer = r.nummer
    and a.id = (select min(e.id) from wmo_adressen e where e.REL_NUMMER = r.nummer
    and e.EIND_DATUM is null)
    and d.id = (select min(f.id) from wmo_dossiers f where f.AVG_1_ID = aan.id)
    But somehow it displays the 'aan.id' value instead of the display value. Does anyone know howcome?? In TOAD it works fine
    Niels
    Edited by: user6394263 on 10-apr-2009 1:22

    Hello Niels,
    Your LOV Displays your concatenated value, but returns the "aan.id" (into the Form field), just as expected. If you want to show the description on your Form, use a PopUp LOV - Displays Description Return Key value
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • What values  to pass the import values of FM -KAUF_AUFNR_CHANGE.

    Hi,
    what values  to pass the import values of FM -KAUF_AUFNR_CHANGE.., Since the fields in FM are different from the values of database table fields.

    Hi,
    the import parameters in the FM are type of structures. it basically acts as a work area.
    when you execute the FM, and click on the icon in front of the field, for example, I_AFKO, and then you can enter the values you want to.
    Hope it helps,
    Preet

  • Invoice created with value highier than the PO value

    Hello,
    I would like to know what should happen if an Invoice is created in the R/3 backend with a value higher than the PO value.
    Regards,
    Lina

    Hi
    <u>"If you do not define any tolerances, this means that it is not possible to enter a delivery/incoming invoice in EBP where quantity or value has been exceeded" So, this works different in SRM, that we do in R/3.</u>
    <b>Please go through the following links / SAP OSS Notes -></b>
    Note 835073 Enhancement of the tolerance checks
    Note 496901 Tolerance check - back-end service PO with/without limit
    Re: GR tolerance problem
    Tolerance Check for Price Variance is not working
    Re: Tolerance in SRM and ECC (BE R/3)
    Re: Tolerance Groups
    SRM: many confirmation for PO
    Re: MM-SUS Scenario---Error in R/3 IDOC when i change the Quantity in SUS
    TOG parameter and tolerance checks better understanding
    <b>Hope this will definitely help.</b>
    Do let me know, incase you need any other details.
    Regards
    - Atul

  • Preprocessor command, assigned the variable and then compare the variable to int. How can I get around this?

    #define ON 1
    #define OFF 0
    in seperate code
    int variable = ON;
    variable is globally define for that module.
    in seperate code
    if (variable == ON)
    the complier errors off on the if (variable==ON)
    My guess variable is variable in of type int and ON is a preprocessor command. Therefore it is a mismatch and complier doesn't like it. How can I get around this.
    thank
    Mahen

    Mahen
    What is the exact message of the compiler?
    I think the error is, that the compiler does not find the definition of ON
    and OFF. Is it in the same source file?
    If not, try to put it into an .h file and include it where you need it.
    Stephan
    "Mahen" schrieb im Newsbeitrag
    news:[email protected]..
    > Preprocessor command, assigned the variable and then compare the
    > variable to int.
    >
    > How can I get around this?
    >
    > #define ON 1
    > #define OFF 0
    > in seperate code
    >
    > int variable = ON;
    > variable is globally define for that module.
    > in seperate code
    > if (variable == ON)
    > {
    >
    >
    > }
    >
    > the complier errors off on the if (variable==ON)
    > My guess variable is variable in of type int and ON is a preprocessor
    > c
    ommand. Therefore it is a mismatch and complier doesn't like it. How
    > can I get around this.
    > thank
    > Mahen

  • How to run the variable exit without calling the variable selection screen?

    Hi all
    I have a query with 2 variables 0P_PRQUA (Previous Calendar Quarter (SAP Exit)) and ZCCDAT02.
    ZCCDAT02 is a Key Date variable that is derived based on the last day of the quarter that is entered in 0P_PRQUA. The exit code works correctly when calling up the variable screen and ZCCDAT02 is derived properly.
    The problem is that 0P_PRQUA is set to "Can be changed in query navigation". So if the user changes the value of the quarter the exit is not triggered and the value of ZCCDAT02 does not change.
    Is it possible to trigger the exit or is there another way to do it? Ideas would be appreciated. I am trying to create a Web Template with a Dropbox box for the Quarter.
    Query is written in BW 3.X.
    Regards
    Chami

    Hi guys
    Just to restate the requirement. I want the user to be able to change the value of the variable, WITHOUT calling the variable selection screen.
    I want the user to be able to change the value of the quarter by using a dropdown box from within the web template. Once that is selected I want the value of ZCCDAT02 to be derived from the new value of the quarter.
    Regards
    Chami

  • When we run query how it gets the characteristic values and attributes.

    Hi,
    When we load transaction data it chacks characteristic values then SIDs then DIM IDs then insert  DIM IDs into fact table but when we run the query how it checks and gets the characteristic values and attributes.
    Bye
    GK

    when we run the query how it checks and gets the characteristic values and attributes.
    Just the opposite way you have described. It gets from the corresponding masterdata tables, with the connected SID.

  • ESB - Global Variables? access of the variables outside the transformation

    I am working on one of the ESB services for my project(not looking for BPEL).
    1. Database adapter polls the data table (Say X and Column C1, C2, C3....Cn,CountofRecordsof Other table Y)
    2. Routing Service calls other database adapter for pulling the data from other table(Say Y) in another schema based on the C1,C2,C3 from X.
    3. After getting the count(i only need the count of records based on the C1, C2 and C3 conditions from Y table), I have to update the table X which corresponds to the row C1.
    The trouble what I have is
    1. How do I update the records which is for the C1 as the return of the value (which is the count) from the second adapter gives only the record count but it doesn't store the identifier from the first table.
    2.Is there anything called global variable concept in the ESB?
    3.How to access the varilable which are outside the schema in the current transformation. i.e, consider I have two schemas, Schema A and Schema B,where I am mapping the variables in the transformation, and considering I need a variable which is the schema which was populated with values during runtime in Schema C.
    Let me know if needs more clarification!
    thanks,
    Prashanth

    Hi,
    >>
    1. Database adapter polls the data table (Say X and Column C1, C2, C3....Cn,CountofRecordsof Other table Y)
    2. Routing Service calls other database adapter for pulling the data from other table(Say Y) in another schema based on the C1,C2,C3 from X.
    3. After getting the count(i only need the count of records based on the C1, C2 and C3 conditions from Y table), I have to update the table X which corresponds to the row C1.
    >>
    I suppose your RS at step 2 gives C1, C2, C3 as input and you invoke DB adapter to get count and forward response to other service.
    >>
    The trouble what I have is
    1. How do I update the records which is for the C1 as the return of the value (which is the count) from the second adapter gives only the record count but it doesn't store the identifier from the first table.
    >>
    If I understand your task correctly, try to use ESBREQUEST to accomplish your task.
    >>
    2.Is there anything called global variable concept in the ESB?
    >>
    No, there are no global variables in ESB, such in BPEL.
    I think, this should be known when you first starting a design your ESB processes.
    You can accomplish your task in next way:
    add global variable to your XML payload.
    For example, your XML payload looks like:
    <payload><some content/></payload>
    You can extend your XML schema to include global variable, so you payload may looks like:
    <payload><some content/><global_var>value</global_var></payload> (I think this's the best way, if you really need something that can be accessed in many parts of your ESB process)
    >>
    3.How to access the varilable which are outside the schema in the current transformation. i.e, consider I have two schemas, Schema A and Schema B,where I am mapping the variables in the transformation, and considering I need a variable which is the schema which was populated with values during runtime in Schema C.
    >>
    Sorry, I didn't understand. What schema do you mean? XML schema or DB schema?

  • How to Control Cheque value not exceed the PO Value

    Dear All,
    My client requirement of the how to control cheque make above the PO Value. My client make the PO before MIRO puchase dept. make the Advance payment request and send to Accounts Dept., Accounts dept. make the payment against the Down payment request. After that MIRO has been done full value open item show in vendor line itme. Account people clear the payment against the invoice. They run the APP & clear all payment.  But after that Purchase dept. make the advance payment request against same PO and send to accounts dept., Accounts dept again make the payment against down payment request. This is request to how to control that.
    Thanks in Advance
    (CSB)

    hi,
    here in this case you should change the Business Process to have better control over the system.
    Make the PO then make the Down Payment Request and make the payment.
    check is there any user exit available while making the down payment request which should not be made more than the po value.

  • Can someone explain how the -C value drops to the -CL value?

    Hi all,
    sorry if this question is rather silly but Im trying to understand how the system knows when to change the cache from the -C value to the -CL value in Sybase 12.
    The official documentation explains this as
    -C = "Sets the initial memory reserved for caching database pages and other database server information".
    -CL = "Sets a minimum cache size as a lower limit to dynamic cache resizing".
    It also states "This option sets a lower limit to the cache. If -c is specified, and -cl is not specified, then the minimum cache size is set to the initial cache size (the -c setting)".
    My question is WHEN and HOW does the system know to drop the amount of Cache from the -C to the -CL values?
    Example:
    -C 6G -CL 2G
    Thanks
    David

    Hi David,
    Two common scenarios where this could happen:
    If there is a lack of physical memory available on the host machine, SQL Anywhere will lower it's cache size in response. The processes private working set is checked periodically to make sure the cache is backed by physical memory.
    If the sum of all images (dbspaces + temp files + internal overhead) is less the the initial cache size, the database server will run with a cache size sufficient to store this information. In your example of -c 6G -cl 2G, this means that if the sum of all possible data that could be in cache was 1GB, the current cache size would be 2GB (even at startup).
    Setting an initial cache size close to the value you expect the cache to be is a good idea, internal structures are initialized at startup based on this value.
    Mikel

  • I created an Execute SQL Task in ssis package to get the counts and store it in the variable and I use the variable in the control flow

    I always get the count as 0 for the variable. I am not sure what I am doing wrong. Please let me know if any of you know the fix.
    Thanks

    Here is the query I used now. Still same result
    SELECT (select  count(*) from usr_all_mbrs where PREMIER_YN = 'Y') AS count1
    SELECT
    (select 
    count(*)
    from usr_all_mbrs
    where PREMIER_YN
    =
    'Y')
    AS count1

  • Need Help, retrieving a combo boxes actual/print/visible value instead of the export value.

    Hello,
    I need help, retrieving a combo boxes actual value, not the export value.
    I have a combo box with multiple options to select from.
    each of those selections has a separate export value, which is in the form of a number, which I use to calculate dates in a separate field.
    However, I have another field that i want to retrieve the, users selected value, which is text, from the combo box instead of the export value.
    Is there an easy way to do this.
    This is what I am currently using. But like I said the results are that I retrieve the export value and not the selected text value.
    event.value = this.getField("_Arugula").valueAsString;
    Thanks

    First get the currentValueIndices property of the combo box and use it with the getItemAt field method to return (what I call) the display value. Something like:
    var f = getField("combo1");
    var display_value = f.getItemAt(f.currentValueIndices, false);
    See the documentation for more information

  • GR value is higher the po value

    Dear SAP GURU
    We have a problem with GR value.
    PO Quantity Order for item 10 is: 100.800 KG
    Net Order Price for item 10: 3.287,30 USD (Price Unit 1 TO)
    Conversion order qty: 1000 KG to 1 TO
    The GR value, in Purchase order quantity, should be:
    u201CQuantity Orderu201D x u201CNet Order Priceu201D / u201CConversion order qtyu201D
    We have posted two GR:
    1 u2013 gr qty is 50.400 KG, the gr value in foreign exchange is 165.679,92 USD, that is right!
    2 u2013 gr qty is 50.400 KG, the gr value in foreign exchange is  496.707,74 USD (net price is 9.855,31
    USD), that is wrong.
    No change in the PO items or header!
    We are not able to understand why we have this different valuation.
    Just for your information the IV has been posted before the first GR.
    Please let me know what I have to check in order to solve the problem?
    best regards
    marco

    Okay thanks to everybody for the support, following all the information in order to understand the matter
    PO curency: USD - American Dollar
    PO quantity: 100.800 KG
    PO Net price: 3.287,30
    Price Unit: 1
    Order Price Unit (Purchasing): TO u2013 Tonne
    Denominator for Conv. of Order Price Unit into Order Unit: 1000KG = 1 TO
    PO Exchange Rate: 0,64210 USD/EUR
    PO history data:
    1 u2013 IV
    Posting date: 09.10.2008
    IV Quantity: 100,8 KG
    Purchase Order Unit of Measure: KG
    Quantity in Purchase Order Price Unit: 0,101 TO
    IV Exchange date: 0,72830 USD/EUR
    Amount in document currency: 331.359,84 USD (3.287,30 usd x 100,8 kg)
    Amount in local currency: 241.329,37 EUR (331.359,84 USD x 0,72830)
    2 u2013 GR
    Posting Date: 06.02.2009
    GR Quantity: 50.400 KG
    Quantity in Purchase Order Price Unit: 50,400 TO
    GR Exchange Rate: 0,77950 USD/EUR
    Amount in document currency: 496.707,74 USD (this is what I am not able to reconcile)
    3 Posting Date: 16.02.2009
    GR Quantity: 50.400 KG
    Quantity in Purchase Order Price Unit: 50,400 TO
    GR Exchange Rate: 0,77980
    Amount in document currency: 165.679,92 USD (50.400 KG x 3.287,30 / 1000 ) this is correct.
    Maybe there is some problem with the order unity of measure, but what is strange is about the 1GR: 496.707,74 USD / 50400,00 KG * 1000 = 9855,31 this should be the net price, isntu2019it? But the PO net price is 3.287,30 usd could you please help to understand how the system works?
    Regards
    marco

  • Store an encrypted numeric value and make the unencrypted value visible to just some users in Apex

    I'm looking for a way to store an encypted numeric value in one field in a table (so that it appears encrypted even to a DBA) and to display the unencypted value in Apex forms and interactive reports for some users but not others.
    Any suggestions as to how I could achieve this?
    Thanks in advance.
    Martin

    Try these documents:
    Using Column Masking to Display Sensitive Columns as NULL Values
    Using VPD in an APEX Application
    Securing Stored Data Using Transparent Data Encryption
    The features you request are Database Features.
    You could use DBMS_CRYPTO for data encryption instead of TDE, but you will have to create a package for your insert,update, deletes along with a view that allows decryption based on v('APP_USER').
    Also, you won't be able to search on that column if you use DBMS_CRYPTO.

Maybe you are looking for