Creating  a view cluster

Hi ,
I created  a view cluster which contains a hierachy of 3 tables .
In trasaction sm34 when I give the entries for 1st table and choose the 2nd table, the entries that i have given already in 1st table is not coming automatically for the 2nd table .. what will be the reason.

Hi Gincy,
A view cluster is the set of objects, such as views, reports or tables which belong to one business function. The data can be arranged either hierarchically or non-hierarchically in view clusters.
A view-cluster transaction edits the complex cross-table data in a view cluster. The transaction navigation box shows the complex business object with its components or subobjects.
Some useful links are given below.
http://fuller.mit.edu/tech/view_clusters.pdf
View from a Cluster Table
creating Z transaction from view cluster
http://help.sap.com/saphelp_nw04/helpdata/en/7e/c81d9052c511d182c50000e829fbfe/frameset.htm
Hope this helps.
kindly reward if found helpful.
cheers,
Hema.

Similar Messages

  • Error while creating a View Cluster

    Hello Gurus,
         I have created two maintenance views ZVIEW1 & ZVIEW2  with table maintenance generator.Know I am trying
         to create a view cluster using these views.
         I have Proceeded with the following steps to create the View Cluster:
         1. Tcode : SE54 --> GIven the name ZVIEWCLUSTER as View Cluster name & pressed ENTER.
         2. Filled the description of the View cluster.
         3.Selected the tab OBJECT STRUCTURE  and filled it with ZVIEW1 & ZVIEW2.
         4.Selected view ZVIEW1 and clicked on button "FIELD-DEPENDENCE" ,System throws a message
             "Field-dependence generated succesfully"
         5. Selected view ZVIEW2 and clicked on button "FIELD-DEPENDENCE" ,System throws an error message
             "No log generated".
          Am stuck up at point 5 in the above mentioned steps.
          Please guide me in coming out of this error message.
    Regards,
    Najam

    Hi Najam,
    I don't think you need to define field dependencies for both tables, you only define the relationship from the second table to the first.
    Double-click on the Field dependencies folder and check the link between the two tables is correctly defined, if so you don't need to generate the field dependency twice.
    Regards,
    Nick

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • Creating view cluster for a header and detail table

    Hi all,
    I want to create a View cluster for maintaining 2 tables (one is the header table and other is the detail table)
    ....for each line in the header table there can be multiple detail line items...
    If anyone has worked on such requirement...please tell me how should i go about developing it.
    after creation i should be able to maintain the cluster using transaction SM34....
    Thanks ,
    Sushil.

    hi
    refer to following link
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    Cheers
    Snehi

  • How to restrict data from tables in a view cluster

    Hi,
    I have 5 Z* tables, Company code is the common code in all of these.
    I have created a view cluster on these five tables.
    My requirement is to viewcluster should display the data of the user's company code.
    When i see the data in SE54 it is showing the proper data(i.e data which is related to users company code) for some of the tables.
    And displaying all company codes data for some of the tables.
    What can be the issue here ?
    Do we need to map the data from proper data displaying tables to these tables ? if so How to do that ?
    Please help on how i can solve this issue.
    Regards,
    Sunil Tata.

    Here is a small utility that can be used to copy and paste between a table and Excel.
    I have been obliged to slice the llb into small chuncks for internet technical issues. Sorry...
    CCMessage Edited by chilly charly on 04-02-2005 03:21 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Copy.zip ‏24 KB
    Paste.zip ‏22 KB
    CopyPaste example.zip ‏11 KB

  • Manually adding a Extra button in the application tool bar of the view cluster.

    hello Colleagues ,
    I have created a couple of maintenance view , and with this two maintenance view i have created a view cluster using the transaction SE54.
    Now, there is default Application toolbar gets generated when a view cluster is created. (screenshot attached.)
    Now i have a requirement where i can add another button (syntax Check button in the screenshot 2) in the same view cluster. (screenshot attached.)
    Want to know the feasibility of this requirement.
    Thanks in advance
    Shavneet Singh

    Hello,
    Not sure of your exact reqt
    But got some sample code to create a button on the toolbar which once clicked gives a new popup window with additional parameters
    TABLES:SSCRFIELDS.
    **Create the Additional Selection screen to input filename
    SELECTION-SCREEN: BEGIN OF SCREEN 10.
    PARAMETERS: P_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF SCREEN 10.
    **Create Application Toolbar Button on the Standard selection Screen
    SELECTION-SCREEN FUNCTION KEY 1. "Its fcode will be FC01
    PARAMETERS : P_WERKS TYPE MARC-WERKS.
    INITIALIZATION.
      SSCRFIELDS-FUNCTXT_01 = 'Enter File'. "Assign the Text to the Button
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM. "Check the Fcode
        WHEN 'FC01'.
          CALL SELECTION-SCREEN 10 STARTING AT 5 8 ENDING AT 85 20.
      ENDCASE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME' "Local file browser
      EXPORTING
      PROGRAM_NAME = SYST-CPROG
      DYNPRO_NUMBER = SYST-DYNNR
      FIELD_NAME = 'P_FILE'
      IMPORTING
      FILE_NAME = P_FILE.
    START-OF-SELECTION.
    ***Your list processing.

  • Se54 view cluster (display mode)

    Hello, I created a view cluster and call it within sm34 transaction.
    So, some users need to change that view cluster and some do not need to edit.
    But even if I press display button in sm34 I can see Display -> Change icon, How can I make this button invisible.
    In general I need to get 2 transaction:
    1st -- for editing view cluster
    2nd -- for displaying.
    Please ask if I expressed my problem not correct.
    Thank You

    Kernal
    I dont know if your problem solved or you still looking solution. What i can think about is you dont need to create any view cluster for display only. You can create views for that with display properties. Or if you need VC then embedd these views there you shouldnot able to edit as these will be only in display mode.
    Let me know if you got any other solution.
    Regards
    Ajay

  • Event in maintainance view not working in View cluster

    Hello All,
                I have created a view for a student table, which contains three fields. The third field should be automatically incremented, based on the entries in the first two fields. The functionality is working fine in the view created, as i have used the event01 in
    table maintainance generator->environment->events; with the codes for incrementing the third field automatically.
               After getting this functionality working, i have created a view cluster with the particular view also.
    The problem now is that, when i try to enter values to the table via view in the view cluster, the same event is not functioning for auto-incrementing. While saving the entries, the third field is remaining blank.
    The internal table 'total' which i am using in the view is displaying the table entries in the view created, but the same table is showing null value in the view cluster.
    Can anybody guide me in this?
    Thanks in Advance,
    Shino.

    Hi Shino,
    Let`s say you have a table ZTEST_TABLE1. You create a maintenance view on it ZTEST_VIEW1. You generate the maintenance dialog for the view with Function Group ZTEST_FUGR1. After this you will be able to maintain the table from SM30 using view ZTEST_VIEW1.
    You create view cluster ZTEST_CLUSTER1 and include your view ZTEST_VIEW1 in it. After this you can maintain the table from the view cluster as well. You then create a subroutine pool for the event routines like ZTEST_PROG1. In this program you include the program I mentioned: INCLUDE lsvcmcod.
    Now you create the event 04 - Before saving the data in the database. You specify the routine name eg BEFORE_SAVE and assign the subroutine pool as the main program. There you create the FORM. Example code below.
    I suggest to check the SAP Library, there you`ll find more details as well.
    http://help.sap.com/saphelp_nw04/helpdata/en/62/c302c7de8e11d1a5960000e82deaaa/frameset.htm
    FORM before_save.
      DATA: viewname TYPE vclstruc-object,
            error_flag TYPE vcl_flag_type,
            header TYPE vimdesc,
            wa_total(1000) TYPE c,
            wa_extract(1000) TYPE c.
      FIELD-SYMBOLS: <view>    TYPE ANY,
                     <view_x>  TYPE x,
                     <ent_x>   TYPE x,
                     <viewkey> TYPE x.
    " assign data of current view to global field symbols (<vcl_total>, <vcl_extract> etc.)
      viewname = 'ZTEST_VIEW1'.
      PERFORM vcl_set_table_access_for_obj USING    viewname
                                           CHANGING error_flag.
    " get view name (if you`ll use several views to make it dynamic)
      READ TABLE <vcl_header> INTO header INDEX 1.
    " assign field symbols
      ASSIGN: wa_total                TO <view>    CASTING TYPE (header-maintview),
              <view>                  TO <view_x>  CASTING,
              <view_x>(header-keylen) TO <viewkey>.
    " <vcl_extract> is not sorted
      SORT <vcl_extract>.
      LOOP AT <vcl_total> INTO wa_total.
    " your checks and modifications on the record using <fs_view>
    "    IF <fs_view>-fieldxy...
    " apply the changes to the EXTRACT table as well
        READ TABLE <vcl_extract> INTO wa_extract WITH KEY <viewkey> BINARY SEARCH.
        IF sy-subrc = 0.
    "     apply your changes to <vcl_extract>
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "before_save

  • Events in View cluster

    Hi .. i have a scenario where i created a view cluster with two tables/views.. so when i display data .. i dont want to see all the entries of my table.. i want to restrict data according to some conditions? how to do that? i have checked there are some events..but how to use it..i checked, but didnt get any help..i dont want to put events in my individual views, only in view cluster events? any ideas..

    Hi
    I don't think it can do it by event of the view cluster, but probably it cna't do it by event of the view of the single table.
    If you want to load all data in according to certain condition, you should create a table view and insert your condition there and so create the claster view based on this table view
    Max

  • Display Description from Text table on View Cluster

    Hello All,
    I have the below requirement for creating a view cluster to maintain customizing data -
    V_TAB_1 has been created for table TAB_1. TAB_1has a text table associated with it.
    V_TAB_2 has been created for table TAB_2. TAB_2 has a field which has foreign key relationship with the key field of table TAB_1.
    I have created view cluster using above views V_TAB_1 and V_TAB_2. Now while maintain the data using view cluster, description is no visible on the UI.
    First Level of Data: This maintains the data in table TAB_1 and its text table.
    Now, If I select any record and click on the sub node of the view cluster - Following appears
    Second Level of Data -
    If we look at the data in the second screen shot, description 'Nitesh' is not coming against the reason code '1'. this is highlighted in the second screen shot
    I have tried to populated with Events as well. But could not succeed. Any help would be highly appreciated.
    Regards,
    Nitesh

    Hi
    I try to see the data of CSKS by SE16 and I can't see the text field (my release is 6.00) but I can see that field by SE16N, so just the situation like yours.
    Probably the fields of this table are too much, because SE16 can display the text field of other tables having a text table
    Max

  • How to create wizard for a custom mainenance view/view cluster

    Hi Experts,
    I have created 5 custom maintenance view and have maintained all the views sequencially and have made the first mainenance view as the start view & header entry and all other views are child or subview of the header view in a custom view cluster. But I want a wizard to help the user / end user successfully enter all the required values for all child views, it will help  the user to navigate  from the start view to all the child views where the fields of the wizard will be associated to the child maintenance views.
    Please suggest how to create wizard for view cluster.
    I'll give max reward point for the helpful answer.
    Thanks in advance
    koustav

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • Creating Z transaction from view cluster

    Hi All!
    I had created view cluster using SE54.This view cluster contains check tables to be maintained by the user.
    Now my problem is how to attach these view cluster to a Z transaction through SE93.In production se54 is not available and i have to attach this view cluster to the Z transaction so that selected users are restricted to use this view cluster.
    Regards
    Praneeth
    Points will be rewarded
    Message was edited by: Praneeth kumar

    Hi Rusidar,
    You can actually use the transaction code SE93 to launch a view cluster. Say you have a view cluster: MYVC. Here is how you can create a transaction code to display this:
    1. Execute transaction SE93.
    2. Enter the desired transaction code in the input field, say MY_TCODE.
    3. Click on 'Create' button. A 'Create Transaction' popup will open. In this popup, enter the short text for this code and choose the last radio among all radios which says "Transactions with Parameters ('parameter transaction')" and click 'OK'.
    4. In the resulting screen, enter 'SM34' as Default Value for transaction. Then add the following two entries under 'Default Values' section (this section is located towards the end of the screen):
    Name of screen field Value
    SHOW                     X  (means simulate click on 'Display' button
    VCLDIR-VCLNAME   MYVC ( This is the technical element that corresponds to the input field in the screen of transaction sm34).
    5. Check the checkbox 'Skip Initial Screen'.
    6. Save the transaction code.
    Try running the code. If your cluster view already works via sm34, it should execute....
    Cheers....
    Regards,
    Shiromani
    Edited by: Shiromani Raj Sharma on Dec 26, 2007 10:33 AM

  • Hiding a Maintenance View in a View Cluster

    Hello ABAP Experts,
    We have a scenario where we would like to hide a maintenance view to an existing view cluster based on condition.
    Is it possible via events of a view cluster, where i can hide the view at runtime based on some condition before the view cluster is displayed ?
    Is there any way as well, which help achieve this hiding of views ?
    For example in the below View Cluster, i would like to hide "Define object links" view from the main view cluster "Define document Types".
    Thanks,
    Naresh

    Hi Naresh,
    Yes, you can do it in events of a view cluster, define a subroutine and bounding it to event(02) in SE54,
    when you define the subroutine, it will ask you creat a mian program, in this main program, you need  'INCLUDE lsvcmcod'.
    Then you can access some standard data, http://help.sap.com/saphelp_nw04/helpdata/en/62/c302c7de8e11d1a5960000e82deaaa/frameset.htm
    INCLUDE lsvcmcod.
    FORM yourSubroutineName.
    DATA: viewname TYPE vclstruc-object,
            error_flag TYPE vcl_flag_type,
      viewname = 'ZTEST_VIEW1'.
    *  PERFORM vcl_set_table_access_for_obj USING    viewname
    *                                       CHANGING error_flag.
      ----> according your condition to change the view.
    IF xxx = yyy.
      DELETE vcl_struc_tab WHERE object = viewname.
    ENDIF.
    ENDFORM.
    regards,
    Archer

  • F4 help for a field in item table in a view cluster

    Hi All,
    I have a view cluster with two tables. I should provide F4 help for field in item table based on the selected row of the header table.
    F4 should have only values fetched based on the header table entry.
    How can i achieve this. Please suggest.
    Regards,
    Kusuma K.

    Hi amar_war,
    use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.
    H_TVBUR has no more parameters, it will display a list of al sales offices with description text
    H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.
    H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.
    If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.
    Try standard search help for standard field first.
    You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...
    Regards,
    Clemens

  • How to create a view on tables with different keys?

    I have to create a View on:
    Z3PVR: Transparent Table
    BSEG: Cluster Table
    CKIS: Transparent Table
    BKPF: Transparent Table
    RV61A: Structure
    T001: Transparent Table
    All the tables have different "Key Fields" and the structure has no "Key Fields". When i create the view, what do I mention in the "JOIN FIELDS" tab. and how do i create the view with the structure?
    Please advise.

    How to create a view on a Non-Transparent Tables.
    how to create view?
    HELP.. How to create a view with the tables with ALV

Maybe you are looking for

  • How to enumerate audio devices in Windows 7?

    Hi! My Labview application works now in WinXP environment. It uses audio device enumeration to select the appropriate device on PC. To do it I use now Automation call to DirectX interface. This function generates error on PC under Windows7 with messa

  • Adding a new field in a standard ALV reort

    HI, I have a requirement of adding a new field to Standard ALV report. The TCODE is CN50N. When you execute it and gives the project as input it will display an ALV report. i want to add another filed to that ALV report. The program it 's using is RP

  • Mail "Reply All" and Bcc recipients

    If I reply to an email and use "Reply All", will the Bcc recipients from the original author of the email be included in my reply? I'm concerned that some people who I am not aware of may unintentionally receive my reply. Thanks for any help. Peter

  • Exception running J2EE Kodo car example

    on Windows2000, Jboss3.2, running the Kodo J2EE tutorial example When I add a car to the database (default Hypersonic datasource) I obtain this exception: HTTP ERROR: 500 RuntimeException; nested exception is: com.solarmetric.kodo.runtime.FatalDataSt

  • Ibooks and pdf sync

    Will ibooks sync a pdf I save on the iPad or iPhone to iBooks on my Mac? Not a purchase throught he store?