Variable values of  dynamic variants

Hello all,
For dynamic variants we use variable like  RV_ACTUAL_PERIOD ,  RV_ACTUAL_YEAR etc .  They all are part of TVARVC table .
But how we set values for these variables ?
Is there any SAP Program which updates their value periodically , some Macro or what , I am really confused .
Please help me out .
Thanks.

Go to SE11 and do a where-used on table TVARVC. This will list all the programs that update TVARVC. If you don't find a program for the variables you are interested in, then you'll need to write one.
matt

Similar Messages

  • 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

  • Dynamically population of variables with use of variants in I Broadcasting

    Hi all,
    In broadcasting I have to include few reports.
    Suppose one report is having variable screen where 5 mandatory variable are there. Here one variable is 0calday suppose which has to be filled dynamically.
    Is it possible by using variant.
    If yes please send step by step process and if not what could be the other method?
    Am using BW 3.5.
    Thanks,
    Uday.

    Hi Uday,
    To achieve this,you can create one more variant with the specific variable values (which ever you want) and pass it during broadcasting.
    The step by step process for Broadcasting with variant is...
    With 7.x Tools:
    1.Open a report(workbook) in a tool(Eg:BEx Analyzer) and invoke Broadcaster(Tools->BEx Broadcaster...)
    2.Click "Create New Setting"
    3.Distribution Type "Broadacast to Email" and Output Format as "MS Excel Workbook" (This depends on your own need)
    4.Update the "Recipient" and "Text" tab details
    5.Click "Workbook Precalculation" tab and Select the variant for the Variable Assignment
    6.Select the Precalculcation Server
    7.Save the Setting and Click "Execute"
    This will send a report mail to the mentioned receipient based on the selected variant through Precalculation Server
    Rgds,
    Murali

  • Variants, Dynamic Value, Dynamic Variants

    How do I create a dynamic variant in ECC 6.0. I'm aware of the steps in 3.X and 4.X environments. Any help will be highly appriciated. Thanks in advance.

    Please find below procedure to define the dynamic variant in ECC6.0
    Step 1:  Go to SE38, Enter the program u2013 RBDAPP01 (Program to process inbound IDocs) and click on execute button.
    Step2: Enter message type u201CMATMASu201D and Click on the save button
    Step 3: To create dynamic value for Created on field, Click on Selection variable for u201CCreated Onu2019 Filed
    The F4 for the selection variable shows the following options.
    T u2013 Table Variable for TVARVC
    D u2013 Dynamic data calculation.
    Select D u2013 Dynamic data calculation.
    Step 4 : Click on u201CName of the Variable (Input only Using F4) column row for the u201CCreated onu201D field.
    F4 option for the u201CName of Variable u201Cprompts to select I/E, Option & Variable Name.
    Choose the variable name as u201CCurrent data u2013xxx,Current data + YYYu201D and click on ok button.
    Following screen prompts to enter the value. Enter u201C7u201D for the u201Ca values for xxxu201D and 0 for u201Ca value for yyyu201D. As shown in below screen.
    Save the variant.
    Go back to report selection screen and select variant name as created above.

  • Using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    Thanks for your swift response.
    That sounds like a good solution, but the code I have on frame 2 is this
    timer = 0;
    countup = function(){
    timer++;
    countupInterval = setInterval(countup,100);
    If I added the same actionscript to frame 3 which has a dynamic textbox with a variable timer attached wouldn't it just put the timer back to 0? What I want is the last known value that was given when it was in frame 2.
    I am thinking of temple run here, I am trying to caculate the total distance(set in the timer variable) from the previous try.
    Hope this makes sense.
    Chazwick

  • Variable values in Variant

    Hi Gurus,
    I want to create one variant for transaction 'FPB3' so that i can pass different 'Identification' and 'filename' each time under the same variant to a background job.
    Is there any possible way to pass the variable values of fields in an variant of FPB3 transaction.
    Your help is appreciated.
    Thanks 'n Regards,
    Ashwani

    Ashwani,
    You can create an entry TVARV table with that variant   When u create a variant variable(in the tcode STVARV) of type select option and chose different selections(Include single values, Include range, exclude single values, exclude range) through multiple selections button, then a separate entry will be created in the database table TVARVC(with a different NUMB value) for each selection made in multiple selections dialog box .You can access this table in your program while executing the in background.
    Hope this helps
    Veera

  • Company code and  Ship-To Party: variable values should be dynamic

    Hi,
    We have queries where we have  Company code & Ship-To Party as Variable parameters.
    While executing the report the user has to give the Variable values for both company code and ship to party.
    But when they give the company code.....in the next parameter ship to party, it has to offer values which belongs to that company code only. But here it is offering all values form ship to party., where user don't want to see the value from other company code as they have lot of values there which is causing inconvenience to the user.
    Kindly suggest me how to restrict the values at variable level.
    Thanks & Regards,
    Anand

    Hi,
    You can do that using BADI BW_BADI_F4 .
    You can use this BAdI to restrict input help for entry variables in the BI variable screen.
    Create a separate implementation for each required InfoObject.
    The BAdI is designed for multiple use.
    Restricting input help without using hierarchies
    To restrict input help for flat object lists without using hierarchies, use method Get_Restriction_Flat.
    Method GET_RESTRICTION_FLAT
    I_VNAM Variable
    I_IOBJNM InfoObject
    I_T_VAR_RANGE Table of entries on the variable screen
    I_T_COMPID Table of participating queries
    C_T_RANGE Range table with other restrictions
    C_INFOPROV InfoProvider
    C_F4_Mode F4 mode
    Entry parameters I_VNAM and I_IOBJNM return the names of the variables and the InfoObject that F4 helpwill be affected for. I_T_VAR_RANGE returns additional values from the variable screen entered beforethe call. These are returned in a range table that does not, however, return any information about variables that cannot be entered. I_T_COMPID is a list of participating BI queries.
    If there is a single InfoProvider, entry and return parameter C_INFOPROV contains the InfoProvider forthe participating queries, and can be overwritten in the implementation. Especially when you have justone MultiProvider, this allows you to restrict the input help to one of the physical InfoProviders ifyou also set the F4 mode to u201CDu201D (input help from dimension tables). The mode can onlybe set to u201CDu201D in conjunction with physical InfoProviders, as dimension values are otherwisenot available. If you reference to a VirtualProvider that is based on a data transfer process, you always need to set mode u201CMu201D (input help from master data)
    Return table C_T_RANGE is a range table of additional restrictions that can be used in the implementation.These restrictions are identical to restrictions that the system makes in the standard setting. It is therefore not possible to add to the list.
    The following restrictions are permitted in C_T_RANGE:
    u2022Restrictions for InfoObject I_IOBJNM itself (for example using a specified range)
    u2022Restrictions to groups of InfoObjects (for example restriction of the fiscal year variant for fiscal years)
    u2022Restrictions by the InfoObjectu2019s navigation attributes.
    For technical reasons, pure display attributes cannot be used.
    You can also make a restriction to physical InfoProviders. In this case, the input help is restrictedto the specified physical InfoProviders. Field IOBJNM in table C_T_RANGE then has to be set to 0INFOPROV.In the case of a MultiProvider using physical InfoProviders with mode u201CDu201D (input help from dimension tables), the input help is built from all participating physical InfoProviders.
    Entry and return parameter C_F4_MODE describes the retrieval method for the F4 help:
    u2022In mode u201CMu201D, the input help is built from the master data.
    u2022In mode u201CDu201D, the input help is built from the dimension tables of physical InfoProviders.
    The choice of method is therefore always dependent on the choice of InfoProvider.
    Restricting input help using hierarchies
    To restrict input help for flat object lists using hierarchies, use method Get_Restriction_Node.
    Method GET_RESTRICTION_NODE
    I_VNAM Variable
    I_IOBJNM InfoObject
    I_T_VAR_RANGAE Table of entries on the variable screen
    I_T_COMPID Table of participating queries
    C_T_HIERARCHY Table of possible hierarchies
    C_T_NODE Table with node restrictions
    C_INFOPROV InfoProvider
    C_F4_Mode F4 mode
    On the whole, this method is the same as method GET_RESTRICTION_FLAT. Instead of a C_T_RANGE, the additional node restrictions can be submitted using table C_T_NODE.
    C_T_HIERARCHY contains the hierarchies that can be used based on the existing query restrictions. Ifthis table contains multiple entries, the system uses the first hierarchy in the standard setting. In a BAdI implementation, specific entries can be removed in order to select the required hierarchy.
    Table C_T_NODE can be filled with individual nodes in order to restrict the hierarchy to the corresponding subtrees.
    All other parameters are the same for Get_Restriction_Node as described above for method Get_Restriction_Flat.
    For more information about implementing BAdIs for the enhancement concept, see the SAP Library for SAP NetWeaver, under BAdIs u2013 Embedding in the Enhancement Framework..
    Regards,
    Durgesh.

  • Dynamic variant real execution value

    Hi, Experts!
    I would like to know if there is any parameter that fixes the values attributed to a dynamic variant during the execution of a job.
    Just to make it clearer, I´ll explain the real situation we face here: We have a job XXX that uses a variant YYY.  In this variant there´s a period of dates that is calculated dynamicaly (current date - 5 and current date + 2).  The problem is that when I look at SM37 in a given day, the values I see there are calculated based on the current date, not the date the job ran the last time.
    Thanks in advance!
    Aylton

    Hello
    As far i know, in dynamic variant config, it will always show the current date when you try to view the old dated job tooo.
    The reason is that the variant will get updated with the latest job run.
    Hope it hepls....reward points.

  • How to replace variable value of a sql query dynamically

    Hi all,
    Trying to execute sql queries present in Oracle table and the query it self contains the ODI variable #EMP_NO.
    At the run time we thought of passing the variable values.
    table contains query like
    update table <table name> set <column name>= 5000 where emp_no = #EMP_NO
    We need to execute the sql query using a ODI procedure, to pick the sql query from table we use another variable #varSQLID and in the command on source tab wrote like
    select sql_query varSQL from emp_sql where query_id=#varSQLID
    Command on target
    #varSQL
    when ever I tried to execute I am getting error please let me know what changes are required .
    The question is whether it's possible to replace the variable value present in the above sql ?
    regards,
    Palash Chatterjee

    Thanks Siddhartha,
    Actually we have been doing the same, means half of the query has been kept in the table and rest is being added in the " command on source " tab of the procedure .
    But the problem is , the "where" condition is not same for all SQL queries,
    to provide 27 different sqls queries for 27 packages we have to create 27 procedures (as "where" condition may take other column values along with "EMPNO" for the JOIN condition ) .
    Any suggestion of keeing SQL along with the variable and storing it in the table may resolve our problem and work of 27 procedures can be performed by a single procedure .
    regards,
    Palash Chatterjee

  • Dynamic variant create for select option High value

    Hi ,
    I would like to set a dynamic variant for Date filed in selection screen as lower limit as 01/01/2009 and Last day of previous month as hiher limit. For examplae: Lower limit = 01/01/2009 and higher limit as 02/28/2011.
    Please help me in creating dynamic variant as mentiond above.
    Thanks & Regards,
    Venkat N.

    Hi,
    Thank you for your reply and could you please provide if you have any code.
    Thanks & Regards,
    Venkat N.

  • Dynamic text in Web Report (lookup on Variable Value)

    Hi
    If a user specifies a variable value to run a report (say company code), is it possible to have logic which looks up some attribute of company code (let's say country for example) and then displays this as part of some header text above the query results table?
    E.G. Report:
    These results are for country <value>.
    .... col1 col2
    row1 200 300
    row2 100 400
    I've had a look at the Text Element Object, but I couldn't determine if it can be used for this - ?
    I'm not sure I could use a Customer Exit Variable to look up the Country, as what could it be attached to if Country is not in the query/Infocube - ?
    (I have the added complexity of having multiple queries in one Web Report)
    Many thanks in advance,

    Hi,
    I see 2 possibilities:
    - Use a <b>text</b> variable with processing type customer exit in the query title and read the masterdata table in your customer exit depending on the variable value for company code.
    - Create another query (query on masterdata table) with the same variable. This will result in one row returning the (in the query definition) defined attributes.
    Heike

  • Dynamic Variant for Date Range

    Making the Variant for Date or Date Range Dynamic in the Selection Screen of any Program.
    There are actually many ways you can make the Variant for Dateu2019s Dynamic.
    1.     Providing he Values in the Variant Variables.
    2.     By creating the variables in the table TVARVC
    3.     By Initializing the values in the program itself.
    I saw many posts with respect to these and found that everyone has their own way of dealing. Even I wrote code in the program initialization to get this done.
    Here in this post I am showing you the easiest option which is available in the Variant creation.
    EX : If you want to execute the batch job based on a date range.
         SY-DATE u2013 60 days , that means always your program should execute the batch job based on System Date. And the variant should change accordingly.
    Following are the step by stop to do that.
    1. Select your program and select the Variant Radio button and then Click on Display.
    2. It will pop up a screen with variant option below the program name.
    3. Enter the Variant name and click on Create
    4. You will see a screen, with the Attributes button.
    5. Once you click on the Attributes button, it will take you a screen with selection option.
    6. In my scenario my input is based on Calender Day, so select the Selection Variable for Calender Day: You will find 2 options T & D.
    7. Select D: Dynamic date Calculation, then select the Name of Variable (input using f4). You can find many options.
    8. Scroll down the Variant Attributes and select current date u2013 xxx, current date + yyy
    9.Though it seems to be inactive, just double click on the row to provide the date range.
    10. Just enter the value for xxx and yyy to get you dynamic range based on number of days
    11. In my scenario I have to consider System Date u2013 60 days. 0 means current day.
    12. Click on OK to check the range has been reflected or not. Then save the Variant and check the value by executing the program with saved Variant.
    You can check the same in blog with all the screen shots attached but this thing is so easy you don't require screen shots.
    Regards
    Shankar Chintada

    Hi Shankar,
    It would be great if you can put this information in Wiki .
    Pravender

  • Dynamic variant date range

    Hi experts,
    i need to create dynamic variant for date range (so_date-low, so_date-high): sy-datum-1.
    that will bring the data in the report for yesterday.
    How can i do this?
    i know how can i make variant for so_date-low
    i dont know how can i do that on so_date-high.
    thanks,
    Michal.

    1. Execute the report and you will get your selection screen then press save
    2. system will take u to variant screen , select the line of your date select-options field from the list and scroll right
    3. double clik on "selection variable " column and select "D"
    4. double clik on "Name of variable" last column and select "Current date - xxx,current date + yyy" system will provide you popup with "Enter a value xxx" and "Enter a value for yyy" and enter value 1 in xxx and 0 in yyy
    and save the variant . now your S_DATE_LOW will be system date - 1 ie yesterdays date

  • Dynamic variant

    hi all,
      i created a report and that report has to be execute in back ground daily with variant,but my report contains some date field, so i need to change the date value in that varient,how can i do it.How can i create dynamic variant,could you please help me.
    regards,
    Bujji.

    Hi Murali,
    You can do this in the variant itself.
    Please follow these steps
    1. Enter the values in the selection screen
    2. Save the variant using the SAVE button
    3. In the next screen for the date variable select the 'Selection variable' checkbox (L) and click on the button 'Selection variable' in the toolbar.
    4. Now you will see this variable in the next screen with 3 types of buttons. Click on the middle button (ie. D - Dynamic date calculation).
    5. Click on the down arrow button and select the option 'Current Date'.
    6. Save the variant.
    Kindly assign points if this is helpful.
    Cheers
    Vinod
    Message was edited by: Vinod C

  • Dynamic Variant for Report

    Hi,
    How to put current date in report output through variants.
    I should not use events, when user selects variants then i should place the current date in my selection-screen.
    help full information will be appreciated.

    Hi Rams,
    U have to create a dynamic variant for this.
    Fallow these steps.
    1. Fill all the selection screen values including date(Current date).
    2. Save it as variant(ctrl+S), give variant name and description.
    3. In the same screen u can see some check boxes corrosponding to each selection screen parameter.
    Now for the date field select the check box under
    L Selection variable and then press the push button selection variables in the tool bar.
    4. Now u will get the date range in the next screen.
    5. Here press the yellow light under D, it will become green colour.
    5. Next press drop down(Small arrow pointing down at the end of date)
    6. Now u will get a list of options for calculations.
    7. Here select current date.
    8. Now save the variant.
    This completes setting up of dynamic variant.
    Now when ever u select this variant it will populate the selection screen with current date and remaining fields with the data u save while creating the variant.
    Hope this will solve ur problem.
    Thanks,
    Vinod.

Maybe you are looking for

  • Licence Error

    Hi     After importing Licence in SAPB1 Pl10 new version , i am getting following error messages     module < professional user> expired on 20100305>     module < s.p addons expired on 20100305>     u are not licenced to open form [ 60215] data owner

  • Address book self-deletes contacts

    Big problem: Lion´s Addressbook deletes my newly added contacts within minutes. This happened to my three or four times now. Newly added or modified contacts dissapear. They are not even in my Time-Machine-Backup though I´ve forced that app to write

  • What camera/microphone will work with the new Yosemite telephone

    I have a older mac and am going to buy a camera/mic to install so when the new Yosemite x comes out I will be able to answer my phone from the computer. Does anyone have any suggestions as to which camera/mic to purchase for this?

  • Append onto one line

    Hi, I have a table called prods. THe table has some accounts which have two products, and some that only have one. I want to build a temp table, or query which can list these prods all on a single row. I can't really do a select t1.prod1, t2.prod2 fr

  • Mailboxes not transferred after Mountain Lion upgrade

    I upgraded from Snow Leopard to Mountain Lion and my mailboxes in Apple Mail did not transfer. I was able to locate them in Time Machine and copy them to the Mail Library, but the messages did not show up. When I look into the contents of each mailbo