ALV Variant Table and Hiding Variants

Hi
Where can I find the table where all ALV variants are stored?
I tried to run a Trace and it brought back LTCX table but there doesn't seem to be any entries in this table?
Also is there a way I can hide variants based on transaction code?

check this LTDX,TVARV,VARIS and fm RS_VARIANT_CONTENTS
table VARID shows information about variant creation and date
VARIT shows the variant description and the language used

Similar Messages

  • Re: Variant tables usuage for variant configuration.

    Dear All.
                     I have variant configuration and I need variant tables for the dependencies. Can any body guide me how to use the variant tables.

    Hi.
    I have used them mostly as a repository of technical data unknown to sales department (guys who create and configure sales order).
    In a Packaging Industry they used variants for folding cartons and all technical data was maintained by a Techical Area in variant tables. Data was retrieved from configuration using procedures.
    Variant table data is maintained in transaction CU60. This is not a very friendly interface and can't deal with multi-user updation. This is why one year after go-live this company started to use a Z-tables and LINKED them to variant tables (CU62). Using this  you can work with same procedures but with much more easier data maintenance. I recommend to take this in account.
    regards, SL

  • BAPI for creating variant table

    Hi,
    Cu61 and Cu60 are two transactions in SAP (comes under Variant Configuration) to create a variant table and fill its contents respectively.
         Now, I am trying to create a transaction in SAP such that on the screen it takes the name of the variant table to be created and an excel file as input from the user and thus create a variant table and fill its contents in the background. Now, ofcourse I have to do this through ABAP coding. I know how to upload the excel file into the internal table but I am not able to figure out that how should i create the variant table and transfer the contents of that internal table to the variant table? That is, how should i transfer the contents to the variant table?
    I have been able to find out the tables involved in the process viz, CUVTAB, CUVTAB_FLD, CUVTAB_VALC.
    Does there exist any BAPI for doing the same?
    Please Help.

    Hi Reema,
       Thanks for replying but this is not what I am looking for. I do not want to create a cluster table rather I want to create a variant table (it is a table used in variant configuration to store the combinations of a material whose characteristics can take varying values at the time of configuration). A table that we create through the transaction Cu61 and populate its contents through the transaction Cu60.
    However, I still tried your suggestion but it did not result in what I want.
    My problem still exists.

  • Variant Tables

    Hi All,
    Can anyone please explain what are variant tables and why is it used in Variant Configuration? What is the minimum uniqueness set and the naming standard in SAP for variant tables? I'll appreciate if you can explain rather than sending a help link.
    Thanks,
    Consultant

    Variant Tables
    In this step you dan define the following settings for variant tables:
    Possible statuses for tables
    Groups to use as search criteria
    Maintain Statuses
    In this step you can check the statuses for variant tables.
    The standard system provides the following statuses:
    Status Description Effect
    0 In prep. Maintenance of table entries and use in
      dependencies not released
    1 Released Maintenance of table entries and use in
      dependencies released
    2 Locked Maintenance of table entries and use in
      dependencies not released
    Activity
    You can change the effect of the statuses and the description
    Maintain Groups
    In this step, you can define groups for variant tables. You can then use the groups as search criteria to find variant tables.
    You can enter a group for a table on the basic data screen of the table structure.
    Example
    You create group TEST to group together all variant tables that you create for test purposes. You can use the search functions to find all variant tables in group TEST.
    Recommendation
    You can use groups in the productive system to group together all tables that belong to the knowledge base of a configurable material.
    Activities
    Create groups according to your requirements.

  • Reg internal table and  variants

    Hi,
    Can any tel me
    1. how to create internal table dynamically ( i knew its done thru field symbols but i dont know how) ...pls i need a clear example..pls
    2.I have got a requirement where i need to display the fields in ouutput based on the variant i choose/select  at selection screen.. that means the fields should be varying based on the variant chosen at selection screen..
    pls i need a good example for the above 2 queries..plsss
    Thanks in ADVANCE
    Jay

    hi
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb387a358411d1829f0000e829fbfe/content.htm
    Regards
    Anuj

  • How to read the configuration of tree table from the variant of Personalization of the Tree UIBB?

    Hi Experts !
    I have created an application using  Tree UIBB to display the list output along with personalization property. The user can save the settings of the output table such as shuffling of column position and hiding / display of columns in the variant.
    The export to excel button gives the output as per the current variant but I need to develop a custom export to excel button, on action of which I need to read the currently selected variant and the visble columns from the variant.
    I found that CL_FPM_TREE_ASSISTANCE gets the variant and columns from the personalization object, however, I am unable utilize it in my custom code.
    Please help or suggest any class which I can utilize.
    Thanks !

    Aristos Queue wrote:
    Alias name here wrote:
    ..second post telling me the 'propertys' of a control have nothing to do with the value is bizzare - via 'properties' for a LV control is the ONLY way to configure the specific type of a numeric...so via the numeric 'property nodes' should\would be able to query it's configuration.
    I do not see any way to set these things through the properties...
    I think he means by right clicking the control on the front panel and configuring with the properties dialog. The properties are exposed there, but not within the property nodes.
    Edit: You beat me.
    CLA, LabVIEW Versions 2010-2013

  • Key fields in variant tables.

    Hi masters,
    i would like to know the use of "key field" in variant tables.
    according to definition:This indicator shows whether a characteristic is used as a key field for accessing tables. Key fields have the value "X". When the table is accessed, the values assigned to the key fields infer values for the other characteristics.
    please give an example of its usage,
    thanks regards
    Rahul

    Hello Rahul,
    Please view the following link with the explaination and an example.
    http://help.sap.com/saphelp_47x200/helpdata/EN/92/58c5cd417011d189ec0000e81ddfac/frameset.htm
    Thanks
    Amber

  • ALV How to save a variant?

    Hi experts, how can I save a layout variant?
    So I declared a variant, and put into reuse_alv_grid_display, but doesn't work instead of this. What could be the problem with it?
    DATA: g_variant like disvariant.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
      I_CALLBACK_PROGRAM                = ' '
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  = ' '
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
        IS_LAYOUT                         = gs_layout
        IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
        I_SAVE                            = 'A'
        IS_VARIANT                        = g_variant
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = gt_list
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2

    Hi White,
    <b>Just try this code below it will certainly work out.</b>
    Create a field on the selecion screen for the variant selection.
    As : PARAMETERS : P_VAR LIKE DISVARIANT-VARIANT.
    *Then Form for all perform is coded below
    initialization.
    v_repid = sy-repid.
    Display default variant
    PERFORM SUB_VARIANT_INIT.
    AT SELECTION-SCREEN ON P_VAR.
    Once the user has entered variant, check about its existence
    PERFORM SUB_CHECK_PVAR.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VAR.
    Display a list of various variants of the report when the
    user presses F4 key in the variant field
    PERFORM SUB_VARIANT_F4.
    FORM SUB_CHECK_PVAR.
    If the name of the variable is not blank, check about its existence
    if not p_var is initial.
      clear i_variant.
      i_variant-report = sy-repid.
      i_variant-variant = p_var.
      CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  I_SAVE     = 'A'
             CHANGING
                  CS_VARIANT = I_VARIANT.
    If no such variant found , flash error message
         if sy-subrc ne 0 .
          message e398(00) with 'No such variant exists'.
         else.
    If variant exists , use the variant name to populate structure
    I_VARIANT1 which will be used for export parameter : IS_VARIANT
    in the function module : REUSE_ALV_GRID_DISPLAY
           clear i_variant1.
           move p_var to i_variant1-variant.
           move sy-repid to i_variant1-report.
         endif.
    else.
       clear i_variant.
    endif.
    ENDFORM.                    " SUB_CHECK_PVAR
    FORM SUB_CHECK_PVAR.
    If the name of the variable is not blank, check about its existence
    if not p_var is initial.
      clear i_variant.
      i_variant-report = sy-repid.
      i_variant-variant = p_var.
      CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  I_SAVE     = 'A'
             CHANGING
                  CS_VARIANT = I_VARIANT.
    If no such variant found , flash error message
         if sy-subrc ne 0 .
          message e398(00) with 'No such variant exists'.
         else.
    If variant exists , use the variant name to populate structure
    I_VARIANT1 which will be used for export parameter : IS_VARIANT
    in the function module : REUSE_ALV_GRID_DISPLAY
           clear i_variant1.
           move p_var to i_variant1-variant.
           move sy-repid to i_variant1-report.
         endif.
    else.
       clear i_variant.
    endif.
    ENDFORM.                    " SUB_CHECK_PVAR
    form SUB_VARIANT_F4.
    i_variant-report = sy-repid.
    Utilising the name of the report , this function module will
    search for a list of variants and will fetch the selected one into
    the parameter field for variants
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                IS_VARIANT         = I_VARIANT
                I_SAVE             = 'A'
                I_DISPLAY_VIA_GRID = 'X'
           IMPORTING
                ES_VARIANT         = I_VARIANT1
           EXCEPTIONS
                NOT_FOUND          = 1
                PROGRAM_ERROR      = 2
                OTHERS             = 3.
      IF SY-SUBRC = 0.
        P_VAR = I_VARIANT1-VARIANT.
    ENDIF.
    endform.                    " SUB_VARIANT_F4
    then in CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    pass the name of variant field
    <b></b>

  • Help on Dependency using variant table.

    Hi Experts,
    I need your help in solving one dependency issue. I am using general task list (IA06 transaction) for service orders. This task list is general task list and not material specific.
    I have 2 operations. Op 10 is applicable for some materials and Operation 20 is applicable for rest of the materials.(note: I cannot create 2 task lists and I cannot assign materials to them).
    For example: my characteristic name is ZMAT and Material code is XXX
    If I write dependency for op10 as... $root.ZMAT = 'XXX' then for material XXX. system is selecting operation 10. If the material is YYY then system is not selecting this operation.
    Actually I have 4000 materials and I cannot hard code all these materials in the dependency editor. Hence I want to use a variant table. So based on the variant table entry dependency should select either Op10 or Op20.
    How can I rewrite the above selection condition dependency using variant table?
    Regards.

    Hi Experts,
    I need your help in solving one dependency issue. I am using general task list (IA06 transaction) for service orders. This task list is general task list and not material specific.
    I have 2 operations. Op 10 is applicable for some materials and Operation 20 is applicable for rest of the materials.(note: I cannot create 2 task lists and I cannot assign materials to them).
    For example: my characteristic name is ZMAT and Material code is XXX
    If I write dependency for op10 as... $root.ZMAT = 'XXX' then for material XXX. system is selecting operation 10. If the material is YYY then system is not selecting this operation.
    Actually I have 4000 materials and I cannot hard code all these materials in the dependency editor. Hence I want to use a variant table. So based on the variant table entry dependency should select either Op10 or Op20.
    How can I rewrite the above selection condition dependency using variant table?
    Regards.

  • Create transaction and screen variants

    Hello
    I want to create transaction variant for VA01 and MM01 in order to simplify the data entry. I know SAP has SHD0 as a tool and Synactive has GuiXT to make all these changes. But I wonder what are the differences between these 2 tools.
    Please let me know,
    Thanks,
    George

    Dear Mr.George,
    <u><b>Transaction Variant</b></u>
    You can only create transaction variants for dialog transactions and reporting
    transactions.Only "normal" screens, dialog boxes, and subscreens can be
    included in the variant.
    <u><b>Screen Variants</b></u> are automatically created anytime you create a
    transaction variant.
    <u><b>Initial Screen</b></u>
    Enter the name of the transaction and the transaction variant on the initial screen. The system creates a cross-client transaction variant. If you want to create a client-specific transaction variant, choose Goto -> Client-specific transaction variants tp branch to the client-specific transaction variant maintenance transaction.
    Client-specific transaction variants only exist in the client in which they are created. The field contents of the transaction variant must be available in this client. Cross-client transaction variants are available throughout the system, regardless of the client currently being used. The field contents of these transaction variants must be available in all clients.
    Creating the Transaction Variant
    Choose Create to create a variant.
    The system calls the application transaction that you want to create a variant for. Enter the values you want to use in the in the input fields. Each time an action is completed, a Dialog Box, appears listing the fields of the current screen with their current values. The kind of dialog box called depends on the kind of screen currently being processed (see Requirements).
    Here you can determine:
    if you want to save the field values you have inserted on the current screen (the "Adopt field values" checkbox)
    if you want to hide the entire screen (the "Do not display screen" checkbox). This is only possible if settings are copied to your variant ("Adopt field values")
    if field contents are saved (the "With contents" checkbox)
    if the ready for input status of specific fields should be revoked (the "Output only" checkbox)
    if specific fields should be hidden (the "Invisible" checkbox)
    if specific fields should be mandatory the "Mandatory" checkbox)
    You may or may not be able to select each of these checkboxes for every field depending on the field's type (--> Requirements).
    Screen variants are created automatically for each screen where values have been saved (adopted). Enter screen variant names in the "Name of screen variant" field. These names must be unique. If the system is able to find a unique name for a screen variant it is automatically inserted into this field. The convention reads like so: (< name_of_transaction_variant>_(<client>)_<screen_number>).
    Choose the function Continue to proceed. The following pushbuttons are available:
    The Cancel function displays the current application transaction screen again. Here you can make changes to your settings.
    The Menu functions function displays an additional dialog box wher you can deactivate menu functions.
    The GuiXT function allows the user to edit a GuiXT script for the current screen (--> GuiXT).
    The Exit and Save function exits and saves the application transaction. A list appears containing all of the screens in the application transaction that you want to save entries for (that is, all screens for which screen variants will be created).
    Enter a short text for your transaction variant here.
    Display settings can be changed as needed from this list in the future. Settings that require information at application transaction runtime (field values, table control columns) cannot be changed from this list.
    Choose "Save". The system saves your transaction variant and the corresponding screen variants. The Workbench Organizer dialog box is displayed for the transaction variant and for each screen variant. Use it to assign each of these objects to a package.
    You can also branch to this list using the Change values function during the function selection process.
    Deleting Preassigned Values
    You can delete all of the values you assigned to fields of a single screen in a transaction variant by resetting (deselecting) the Adopt field values checkbox. This deletes the screen from your variant, even those entries that were transferred to the variant during previous processing.
    If a screen variant has already been created for this screen, then the system simply deletes the screen variant's transaction variant assignment; the screen variant itself is not actually deleted.
    Individual fields can be deleted from transaction and screen variants by resetting (deselecting) their corresponding checkboxes.
    <b>If useful reward points.</b>
    Regards
    Mangal

  • Change Log For CU60 ( Variant Table )

    Hi All,
    It has been found that if any entry is added/deleted/modified from a Variant Table (Transaction CU60), no
    change log is found through any standard transaction.
    We even tried using Transaction AUT10,Table CDHDR/CDPOS but  requirement not met.
    Kindly advise on the solution.
    Thanks
    Stuti

    Hi Stuti,
    Why dont you try using change number, as i remember when we go to CU60 there is option to key in change number.
    and i hope using change number it will capture history.
    try out and come back.
    Thanks
    Ritesh

  • Retain background jobs and its variants before system refresh activity

    Hello All,
    I am going to perform system refresh activity on quaity system on monday. Customer wants to retain the background jobs and its variants in the quality system. Please guide me and let me know the steps to retain the background jobs and its variants before starting the system refresh activity.
    Regards
    Subbu

    Dear Subbu,
    You have to export the TBT* Tables to retain the jobs. You can do this with R3trans:
    1. Make Export file
    2. Make Import file
    3. Make Export in Q System before Systemcopy
    4. Start Database and not SAP
    5. Make Import in Q after Systemcopy
    6. Start sap
    1. Make Export file /tmp/export_cmd
    export
    file='/tmp/export_Q.dmp'
    client=<your client>
    delete from TBTCA               
    delete from TBTCB               
    delete from TBTCCNTXT           
    delete from TBTCCTXTT           
    delete from TBTCCTXTTP          
    delete from TBTCI               
    delete from TBTCJCNTXT          
    delete from TBTCJSTEP           
    delete from TBTCO               
    delete from TBTCO_V01           
    delete from TBTCP               
    delete from TBTCPV              
    delete from TBTCR               
    delete from TBTCS               
    delete from TBTC_SPOOLID        
    delete from BTCEVTJOB
    select * from TBTCA             
    select * from TBTCB             
    select * from TBTCCNTXT         
    select * from TBTCCTXTT         
    select * from TBTCCTXTTP        
    select * from TBTCI             
    select * from TBTCJCNTXT        
    select * from TBTCJSTEP         
    select * from TBTCO             
    select * from TBTCO_V01         
    select * from TBTCP             
    select * from TBTCPV            
    select * from TBTCR             
    select * from TBTCS             
    select * from TBTC_SPOOLID 
    select * from BTCEVTJOB
    2. Make Import file /tmp/import_cmd
    import
    file='/tmp/export_Q.dmp'
    3. Make Export in Q System before Systemcopy
    R3trans -w /tmp/Q_export.log  /tmp/export_cmd
    4. Start Database and not SAP
    sqlplus "/as sysdba"
    SQL> startup
    or
    startsap
    stopsap r3
    5. Make Import in Q after Systemcopy
    R3trans -w /tmp/Q_import.log  /tmp/import_cmd
    If you want to undo this, start the export script in P system and the Import script in Q system.
    Don't be afraid of the delete statement but without delete it doesn't work!
    6. Start sap
    startsap
    Best regards
    Willi Eimler

  • How to Retrieve data from Variant Table

    Can anyone help me by telling how to retrieve data from variant table which was created by user. I am able to see data of variant table only thru cu60 transaction but not se11. I s there any function module to do this?

    Hello Mohan,
    if u already have data and u want to populate it in F4 help then use below code -
    u Have to make use of FM - 'F4IF_INT_TABLE_VALUE_REQUEST'
    REPORT  ZGILL_VALUE_REQUEST                     .
    data: begin of lt_all occurs 0.
            include structure DYNPREAD.
    data  end of lt_all.
    data: begin of lt_selected occurs 0.
           include structure DDSHRETVAL.
    data: end of lt_selected.
    DATA: BEGIN OF lt_code OCCURS 0,
                code LIKE zgill_main-PERNR,
          END OF lt_code.
    data no_dyn like sy-dynnr.
    Parameters : ECODE like zgill_main-PERNR.
    *parameters: pernr like pa0001-pernr .
    no_dyn =  sy-dynnr.   "give the scren no directly or sy-dynnr in case of report.
    At selection-screen on value-request for ECODE.
    select PERNR into table lt_code from zgill_main.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield               = 'ECODE'
            dynpprog               = sy-repid
           dynpnr                  = no_dyn
          dynprofield              =       'ECODE'
          window_title           = 'Employee Details'
           value_org              = 'S'
          DISPLAY                = 'F'
       TABLES
            value_tab             = lt_code
           RETURN_TAB             = lt_selected.
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
    *if sy-subrc eq '0' .
      write: 'success'.
    *endif.
    read   table lt_selected index sy-tabix.
    move lt_selected-fieldval to ECODE.

  • Updating Variant Tables with Excel

    Hello,
    I'm trying to integrate a very large spreadsheet into a variant table within the configurator.  I can export the table no problem from CU60, but I can't get the "UPDATE AND CLOSE" or "SAVE AND UPDATE" to actually do anything.
    Any ideas?
    Thanks,
    David

    1. You  can try with CU60E.
    2. But this to be used for the first time only, becase late it just overwrites and not appends.
    Kindly check this one.
    Reg
    Dsk

  • Table that shows variants?

    Dear GURUS
    I need to know if there is a table that holds the variants which are used in reports.
    Best Regards
    SP

    > VARID
    > VARIT
    > VARI <- this is the table that holds variant values,
    > but unfortunately they are stored in a cluster and
    > hence not easy to read.
    Could you please open a little bit. about the table VARI / i need to finds variant's values. how to read that table?
    thanks

Maybe you are looking for

  • Error while creating dataservers in MII14.0

    Hello experts, I am new to MII , I am facing issue while creating datasevers in MII 14.0 system. Below are the details. I stalled SAP MII in NW7.31 with SP 10 and i stalled PCO 2.3 in OSIsoft PI System which is run on windows. I created source system

  • Parallel ledger - posting in one ledger only - Open Item managed account

    Hello all, We have a requirement which necessitates posting some entries in one ledger only for the purpose of complying with more than one GAAP. (US GAAP and local GAAP).  However we understand that such postings cannot be made to GL accounts which

  • Display JSP in applet

    Is there anyway to load a JSP from within an applet?

  • IWeb Blog Summary Widget error

    I have seen this problem posted here before, but I'm posting it again. Why? Because it's an incredibly annoying error and I can't believe nobody has found a way around it. The error is on the Blog entry page, the error code is BLOG SUMMARY WIDGET ERR

  • Components not showing up in Flash CS5

    What's the correct way to install components in Flash CS3? first I tried to install the NewGrounds Ad component for AS 3.0 which delivers as an .xmp file. I doubleclicked it and in the Extension Manager it's listed as active under Flash CS5. I restar