Creating Variable in TVARV table via SM30

Hi Gurus,
             I need to create a variable in TVARV to hold the last EXecution TIME and DATe of my program.
I did it earlier in Development , now when i have to create it again in Quality for testing, its not geetting displayed via se11.
                                                                                date         time
          I created the variable form SM30 -- Maintain-- 'ZZZ' --- 20081202_112309 
         Now when i goto se11 and check for contents its displaying my variable.
Can anyone suggest where am i going wrong , or perhaps wats the best practise to create a VArable in TVARV Table.
         Your suggestions are Deeply Valuable to me..
Thanking you,
ZIa

Hi Zia,
Please use transaction code STVARV to maintain TVARV variables.
Regards,
Rahul

Similar Messages

  • How to assign 2 transaction codes to maintain a table via SM30

    Hi all,
    I have created a table with 5 fields. This table must be handled through 2 specific transaction codes (via SM30) in Production system because people from Customs and Packaging departments will directly update it in Production SAP system:
    -     tcode1 for  department1
    -     tcode2 for  department2
    through tcode1, department1 should be able to update fields 1, 2 and 3 only.
    through tcode2, department2 should be able to update fields 1, 4 and 5 only.
    How to handle this?

    hi,
    1. solution could be by authority objects
    2. modification of your dynpro (PBO) dependent on department-
    possible if field USR03-ABTLG is available (select user-data with sy-uname)
    A.

  • Variable on TVARV table

    Hello,
    we have just upgraded to BI 7.0 and we have the following issue:
    when I launch a query and I try to select a variable from TVARV value I don't find this option !
    Is it deleted this option in the new Bi 7?
    Thanks!

    Thanks for your answer,
    but when I run the query, I don't find the option for the Variable to select the TVARV value, is it normal?
    Regards,
    Laura

  • Defining Selection variables for program variant, TVARV table Help - urgent

    Hi All,
    Can anyone tell me, what is the transaction to create new variables in table TVARV to use them in my variant for fiscal year and WIP period fields in selection screen of SAPKKA07 program.I used STVARV and it creates variables in table TVARVC table not in TVARV table and moreover in creating a variant the selection variables are defaulted as variables from TVARVC table as input help but not the variables in TVARV table however I see and understand different from SAP Help. The following is the link
    http://help.sap.com/saphelp_47x200/helpdata/en/25/c966398ae5c13ae10000000a114084/frameset.htm
    for selection variable creation.
    Can anyone help me on this this is very urgent. Your help is highly appreciated
    Thanks in advance
    Kumar

    Thanks Appana,
    I know we can create the variable that way but, that is something hardway to do it. I want to go about it from transaction not meaning to update the table directly and moreover if I update the TVARV table directly as u said I still dont see the variable I created in the list I get on input help for selection variables while creating a program variant.
    I hope u can suggest me better now.
    Thanks
    Kumar

  • Sort the Data Selection in TVARV Table

    hello...i wanted to run a SAP Standard Program and it is have a variant selection for me to select the variable from TVARV table. When this program run, I would like to have a selection of choosing the latest date to run the program based on the variant I save. I created a variables in the TVARV table but I cannot see any selection which can sort the selection based on the latest date. I can only choose to be EQ and etc. Is there any selection that I can make so that the program always choose to be run based on the latest date? thanksss alot!!!

    Look at table VARID.
    Rob

  • Transport request prompted when insert new entries for ADCOMP via SM30?

    When I insert new entries for table ADCOMP via SM30, the system prompts me for a transport request number when I save the entries.  It never asks me the transport no. for any other tables via SM30 edit.  Is it something specific to table ADCOMP?
    The Table Maintenace Generator is delived by SAP with Authorization group assign to VC (SD User Control), will this cause the issue I have here?
    The user is responsible for updating the entries in Production, I had created a Z tcode to run SM30 on this table, at the end, it stills ask for a transport request no. 
    Can someone help me out on this?
    Thanks for your help in advance.

    I had searched OSS notes before I posted my question here.  Note# 726769 mentioned the maintenance view on ADCOMP.  As I mentioned in my last reply, I am NOT going to change anything on ADCOMP, I just create a custom view ZV_ADCOMP on top of it and change the attributes on the custom view.  
    I tried and it seems working.  I can enter data via SM30 on ZV_ADCOMP, it allows me to save the data without a transport request. 
    I think my problem has been solved.  Thanks for Rob and Suhas 's reply.  Points has been rewarded for both.

  • Create variable in TVARC

    Hi all,
    How can we create variable in tvarc table to maintain variant to be used in shipment consolidation simulation
    Thanks.
    Moderator message: please do more research before asking.
    Edited by: Thomas Zloch on Mar 29, 2011 4:18 PM

    Yes.
    DATA lp_data TYPE REF TO DATA.
    FIELD-SYMBOLS: <FS>.
    CONSTANTS c_type TYPE c LENGTH 1 VALUE 'F'.
    CREATE DATA lp_data TYPE (c_type).
    ASSIGN lp_data->* TO <FS>.
    The field symbol is now a floating point variable.  You can have any type, and also construct your own types dynamically, using the RTTS (search for info).
    You can also create internal tables dynamically by building on these techniques.

  • TVARV Table Variable Update

    Hi All,
    We have a requirement to add a new variable to the TVARV Table
    I am able to do it thru SM30.
    This variable is used in a variant in a program that runs periodically.
    the new variant shd be similar to 1001_CURR_MONTH_START_DATE
    now the month and the year shd change based on the fiscal period we are in.
    The option I have found is to write a program to update the TVARV table and run this program before running the actual FI program.
    But there are other variables that seem to be getting updated and I did not find any programs updating them,
    So is there some other way that I can update the date in the variable other than the program approach
    Appreciate your help.
    Thank you
    Lalitha

    Best option is through program update , but one thing you need to do is change the TVARV table technical settings. you need to switch off the buffer i.e. select buffering not allowed. Then write a FM or program to update the entry.
    Ex:
    update tvarv
    set low = value " your value
    where name = name " your variable name
    and type = 'P' " or 'S'
    and numb = 0.
    I am using the same solution ..
    Regards,
    Sunil

  • Create a variable in one table based on a value on another.

    I have two existing tables, say TABLE1 and TABLE2.  I need to create a key variable in TABLE2 and insert values for that  variable from TABLE1 i.e. create an explicit relationship between the tables using a key variable.  There exists a relationship
    between the tables in that for each record in TABLE1 there are 28 records in TABLE2 and the records are arranged in sequential order. So:
    TABLE1 TABLE2
    REQUIREMENT
    RECORD 1 -->
    RECORDS 1 to 28 Copy key variable from RECORD1 in TABLE1 into RECORDS 1 to 28 in TABLE2
    RECORD 2 -->
    RECORDS 29 to 56 Copy key variable from RECORD2 in TABLE1 into RECORDS 29 to 56 in TABLE2
    RECORD 3 -->
    RECORDS 57 to 84 Copy key variable from RECORD3 in TABLE1 into RECORDS 57 to 84 in TABLE2
    RECORD n--> RECORDS (n-1) * 28 + 1 to n * 28
    Copy key variable from RECORD n in TABLE1 into RECORDS (n-1) * 28 + 1 to RECORDS n * 28 in TABLE2
    Please help if you can.  I am prepared to give any additional information when asked.

    TABLE1:
    USE [LFS_APRIL_2015]
    GO
    /****** Object:  Table [dbo].[HOUSING37854]    Script Date: 04/30/2015 15:52:37 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[HOUSING37854](
    [BatchNo] [float] NULL,
    [District] [float] NULL,
    [URBAN_RURAL] [float] NULL,
    [HHNUM] [float] NULL,
    [Cluster] [float] NULL,
    [Final_Result_Code] [float] NULL,
    [zBarcode] [float] NULL,
    [Person_NUMBER] [float] NULL,
    [HH1] [float] NULL,
    [HH2] [float] NULL,
    [HH6] [float] NULL,
    [HH4] [float] NULL,
    [HH3] [float] NULL,
    [HH5] [float] NULL,
    [HH7] [float] NULL,
    [HH8] [float] NULL,
    [HH9a] [float] NULL,
    [HH9b] [float] NULL,
    [HH9c] [float] NULL,
    [HH9d] [float] NULL,
    [HH9e] [float] NULL,
    [HH9f] [float] NULL,
    [HH9g] [float] NULL,
    [HH9h] [float] NULL,
    [HH9i] [float] NULL,
    [HH9j] [float] NULL,
    [HH9k] [float] NULL,
    [HH9l] [float] NULL,
    [HH9m] [float] NULL,
    [HH10a] [varchar](1) NULL,
    [HH10b] [varchar](1) NULL,
    [HH10c] [varchar](1) NULL,
    [ED_Number] [float] NULL
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    TABLE2:
    USE [LFS_APRIL_2015]
    GO
    /****** Object:  Table [dbo].[LISTING37854]    Script Date: 04/30/2015 15:47:15 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[LISTING37854](
    [HL1] [float] NULL,
    [HL3] [float] NULL,
    [HL4] [float] NULL,
    [HL5] [float] NULL,
    [HL6] [float] NULL,
    [HL7] [float] NULL
    ) ON [PRIMARY]
    GO
    Essentially The Housing table, TABLE1, lists households and the Listing table, TABLE2, lists members of the household and there are always 28 lines in the Listings although most of them may be just a number since almost no household will have 28
    members.  The Listings that is jut a number will be deleted,  but to know where the listing for the next household starts I need to create the linking variable in Listings table.  The is absolutely no doubt that the relationship that I specified
    in the first post above is as specified.

  • Create shared variables from a table

    hi!!
    well, what i want to do is to create a shared variable using a table, with variables names and values i want to take them,
    i have a litte example, to see how can i take the name of the shared variables from a table,
    can you help me??
    thanks
    Attachments:
    Shared Variable.vi ‏28 KB

    HI!!
    i have done a program, where i create a sv library, after that i deploy it and finally i want to write something on this sv that i created...
    all runs ok, but i  cant see what i am writting in this sv, for that i choose the NI distributes system manager,
    can someone help me please????
    i think is because the type of data...
    thanks!
    Attachments:
    SV_create_deploy_write.zip ‏34 KB

  • POV-After creating Tcode for a table SM30 I want F4 Help here

    Hi All,
    After creating Tcode for a table, When I am trying to give table entries thro' this Tcode, I want F4 help for those fields. Apart form assigning "Fixed values" in Domain level how can I achieve this.
    Points Assured.
    Regards,
    Suresh

    Hi,
          You need to create search helps based on this table for each filed or one for all the fields with proper import and export paramters. Or else you can give check table entries for each of the table fields for which you need the F4 help. Check table us assigned to a field using the Foriegn key assignment.
    Best Regards,
    Sesh

  • Update TVARV table entries using a Function Module or Program

    Hi Gurus,
    My requirement is that I have a entry in TVARV table which has a 'low'. We would like to change this value whenever we desire. We are unable to do it via sm30 and se16 as table maintenance access is not permitted in Production environment.
    Can you please provide any Function module or program code to do it?
    Requirement - User can enter a value into TVARV table by executing a function module or program
    Thank you all, will award points,
    Priyansh

    Hi Priyansh,
    Please refer to SAP Help for more information on variant maintenance and more specifically variable values in variants. You can use t/code STVARV for maintaining the variant variables in table TVARVC (Client-Specific Variant Variables).
    Note: I suggest to use the TVARVC table instead of TVARV.
    If you are looking for Function Modules in the area of Variant Maintenance, then please have a look at Function Group SVAR (t/code SE80).
    If you are looking for Function Modules in the area of User Variables in Variants, then please have a look at Function Group SVUV (t/code SE80).
    Furthermore, if you are looking for a program to update table TVARVC, please have a look at ABAP: Dynamic Variant Processing with STVARV.
    Best eregards,
    Sander

  • Creating variables in Report Painter

    Hi ...
    I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please advise
    Also, I would like to I have a requirement for a report whereby the format is like this .....
    SALES       CURR MONTH (06/2006)  LAST YEAR          
    - Sales IT
    - Sales 1
    - Sales 2
    COGS
    - cogs 1
    - cogs 2
    - cogs 3
    COS
    - cos 1
    - cos 2
    - cos 3
    GROSS PROFIT
    Whereby, SALES = sales it + sales 1 + sales 2, COGS = cogs 1+cogs 2 + cogs 3, COS = cos 1+ cos 2+ cos 3. also GROSS PROFIT = SALES + COGS + COS
    The abpve report is inclusive of Cost Centre and Profit Centre, how acn I utilize the libraray in Report Pianter to create such report, is this possible in Report Painter whereby including Cost center and Profit Centre in one single report
    Pls assist me
    Nathan

    When you create your variable first enter the variable name. Second enter the reporting "table" to use. Third enter the "field'. Press enter. Next enter a default value for your field. Save you variable. It is now ready to use in your report painter.
    Using the PCA reporting tables gives you the profit center but not the cost center. You can only use one reporting table per report. you will need a cctr report for that.
    First create your own libray from GLPCT. Next create your report using your new library. The report painter can do the calculations that you have shown.
    You create a formula in the row or column to calculate your sub totals.
    pls assign points if helpful as a way to say thanks.

  • TVARV table

    Hi,
    I've a report where there is the field Year.
    If I save a variant the next year system will propose 2011 when that variant will be manually selected.
    I would like the system will update automatically the value of the year.
    I don't know how to do that by TVARV table
    Best regards

    Using TVARV (TVARVC)
    First create a periodic (daily) job (or ask basis to) that executes standard report RVSETDAT, this report will update some values in TVARV (and TVARVC on more recent versions) (*)
    Then in your variant use variable RV_ACTUAL_YEAR  (Read [Using Variables for Date Calculations|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/98039be58611d194cc00a0c94260a5/frameset.htm] in [Variable Values in Variants|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm])
    Other solution
    Fill the field with SY-DATUM(4) in INITIALIZATION block, and in the variant definition, check the box "Save field without values" (Read [Variant Attributes|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/frameset.htm] in [Variable Values in Variants|http://help.sap.com/saphelp_nw04s/helpdata/en/c0/980398e58611d194cc00a0c94260a5/frameset.htm])
    Regards,
    Raymond
    (*) You could also create a copy of the program in your namespace (Zxxx, Yxxx, etc.) and maintain your own variable

  • TVARV table entries

    Hello folks,
    I am just wondering how to code a select statement on a tvarv table with ranges.
    To be clear, I had created a variable with name ZTEST and then I clicked on the YELLOW arrow on the right and entered 10 numbers from 1 to 10.
    Now I have a report with a selection screen field 'p_num' and in that report I am coding the SELECT statement on tvarv in the following way.
    select single *
      from tvarv
      into ls_tvarv
    where name eq 'ZTEST'
       and low  eq p_num.
    Is this correct. p_num can have values anywhere between 1 and 10.
    Will the above code work if p_num is 1 or 2 or 3 up to 10??
    Please let me know.
    Thanks,

    Hi
    Your record in TVAR it should be:
    TVAR-NAME  = 'ZTEST'.
    TVAR-TYPE  =
    TVAR-NUMB  =
    TVAR-SIGN  =
    TVAR-OPTI  =
    TVAR-LOW   = 1
    TVAR-HIGH  = 10.
    In your code:
    DATA: MIN TYPE I, MAX TYPE I.
    SELECT * FROM TVARV WHERE NAME = 'ZTEST'.
    MOVE: TVARV-LOW TO MIN,
          TVARV-HIGH TI MAX.
    EXIT.
    ENDSELECT.
    IF P_NUM < MIN OR P_NUM > MAX.
      ERROR.
    ENDIF.
    Max

Maybe you are looking for

  • My macbook pro will not connect to the internet via wifi or ethernet connection

    Hey guys just a few days ago randomly my 2011 macbook pro stopped connecting to the internet. My girlfriends macbook still connects fine as well as both of our iphones and my tv. Under network in system prefrences wifi is yellow and says self assigne

  • Involves Stack, push and pop

    Hi, I have this exercise which I'm not sure how to approach: Evaluate the following expresion, where '+' menas "push the following letter onto the stack," and '-' means "pop the top of the stack and print it": "+U+n+c---+e+r+t---+a-+i-+n+t+y---+ -+r+

  • BW output into PDF through ADS or The SAP BI Export Library

    Dear fellow gurus, I would like to meet somebody who has any experience with Adobe forms for BI/ BW. My colleagues are struggling with some performance problem on their BW project, where they want the ADS (adobe document services for adobe forms outp

  • Why is the album no longer available?

    John Mayer Trio released on iTunes the single for "Who Did You Think I Was" which included the song "Come When I Call". I know people who have bought this single from iTunes but when I search for it now, I can't find it. Can someone help me find it o

  • Jsp page for mobile in drop down

    How to get the drop down list in the jsp page.for mobile applications and how to connect tha field in that drop down to backend we r using abstactpage to connect backend.