Query on view cluster event trigger during transport

Hi SAP Gurus,
I would just like to ask if the subroutines set in events for view clusters would also get triggered upon transport.
We had created a function module which is meant to regenerate a dynamic program when changes are made to a particular table.  We're planning to call this function module in a subroutine that is called during an event in the view cluster (set to "before saving the data to database").  However, we would also like for this dynamic program to be regenerated automatically once the table changes are transported to the test/prod systems.  Thus, I wondered if setting up the event is sufficient, and that it would also be triggered automatically prior to saving the changes to the database during transport, or if we still need to set up XPRA for this.
Thanks!

Some events are triggered when exportingthe changed data,
- 10 After creating the change request header entries (E071)
- 11 After changing a key entry in the change request (E071K)
- 12 After changing the key entries in the change request (E071K)
which are suitable to add a XPRA entry in the request
But many events (AFAIK those without dialog) are triggered during import (and we can check if the program is called via transaction or import via flag VIM_IMPORT_MODE_ACTIVE, eg. do not execute a form which fill hidden fields like created by and created at.)
Regards,
Raymond

Similar Messages

  • Event trigger on transport of ABAP table entries

    Hi Experts,
    I have an issue with respect to the scenario mentioned.
    Scenario is that I have a Z-table in Dev which is maintained through SM30 once the data is saved ,the event"02 After saving the data in the database" ,I have linked a include program to this event which triggers a abap proxy to send data to SAP PI Java stack cache,this scenario is used in value mapping replication from Z-table.
    The problem is the QA and PRD Client has status 'not modifiable'.
    So can these Z-table entries when transported to QA or PRD ,trigger an event which can call my proxy program to send the full load to the SAP PI system.
    Thanks
    -Alok

    Hi I can try to give the information for the z-table entries to be transported to QA or Prod environment?
    Ans) Yes, we can transport these Z-table entries to the the QA and Prod system environment, but the z table 'devliery and maintenance" table defines the technical attributes for this Z-table.
    in the delivery and maintenance tab, you can define the deliver class. Suppose if your delivery class type is C, G, E, S: The data records of the table are copied to the target client.
    Hope this information can be useful.
    thanks

  • 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

  • Cluster Events Query Incomplete

    I have a six-node 2012 R2 Failover Cluster running Hyper-V.  When I go to Cluster Events, it says on the title: "Cluster Events (0 events, query incomplete)". When I query one node at a time, only node 2 returns results, and every other
    node says "query incomplete". I can read all the event logs separately through remote MMC.  What does this mean, "Cluster Events (query incomplete)", and how do I get all the nodes to report in? 

    Hi rpseekell,
    Please refer the following article to confirm whether this node FailoverClustering ETW session is running. Please install the Recommended hotfixes and updates for Windows
    Server 2012 R2-based failover clusters updates.
    The related article:
    View Events and Logs for a Failover Cluster
    http://technet.microsoft.com/en-us/library/cc772342.aspx
    Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters
    http://support.microsoft.com/kb/2920151
    How to create the cluster.log in Windows Server 2008 Failover Clustering
    http://blogs.msdn.com/b/clustering/archive/2008/09/24/8962934.aspx
    Windows Server 2008 and R2 Cluster Log Appears to Be Missing Gaps of Data
    http://blogs.technet.com/b/thbrown/archive/2010/07/31/windows-server-2008-and-r2-cluster-log-and-missing-gaps-of-data.aspx
    The similar thread:
    Cluster events not written to system event log
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b713b63c-4674-4491-847c-75c6f8b9ea55/cluster-events-not-written-to-system-event-log
    How to find event log and system information of Nodes in Cluster
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/59365d4f-1a10-4c6d-bead-496bf67628e2/how-to-find-event-log-and-system-information-of-nodes-in-cluster?forum=sqlgetstarted
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Sorting event on view cluster possible?

    Hi,
    Can anyone please tell me if it is possible to create a event for view cluster for sorting on a non key field of one of the underlying maintenence views.
    Thanks..

    Some events are triggered when exportingthe changed data,
    - 10 After creating the change request header entries (E071)
    - 11 After changing a key entry in the change request (E071K)
    - 12 After changing the key entries in the change request (E071K)
    which are suitable to add a XPRA entry in the request
    But many events (AFAIK those without dialog) are triggered during import (and we can check if the program is called via transaction or import via flag VIM_IMPORT_MODE_ACTIVE, eg. do not execute a form which fill hidden fields like created by and created at.)
    Regards,
    Raymond

  • 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

  • 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

  • View Cluster: Maintain Master Data without a prompt for transport

    Hello,
    I have two tables which have been defined as Application Tables with Display/Maintenance Allowed.
    These two tables have been defined in a View Cluster.
    But, the View cluster prompts to create a Transport Request when ever data is being maintained in these tables.
    I would like to have the data maintained without a transport prompt.
    The table maintenance for these tables was generated using One Step maintenance type and Standard recording routine.
    Is there  a setting that needs to me made in order for this to work?
    Thanks in advance.

    Suhas Saha is right. Important is, that those settings suhas sad, are in maintanaince of table/view, not in cluster view.
    so: go to se11, insert table/view, click on change, go utillities->table maintenance generator ->click on radio no or user defined routine, than SAVE, thne go environment->maintenance objects->generate, and here select no transport , and save.
    thats all.

  • Error while saving a Entry through view cluster ( getting TK 319 message)

    We are  facing an issue while saving the entry in one of the view at the lowest level of the three level View cluster.
    Please find the Details of view Cluster below.
    1)First level- Key  => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) .
    2)Second level-Key =>MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + START_DATE( DATS ,8).
    3)Third level (Lowest level  )-key => MANDT( CLNT, 3) + RULE_ID( CHAR , 20) + LOCATION_TYPE (CHAR , 20) + MEAL_RULE_TYPE( INT1 ,3) +  START_DATE( DATS ,8) .
    we are not able to save the Entry at the Third level  and is getting the  Message "Fill table key for table ITC_CALCRULE_ML only up to position 044 only " .
    As per our understanding problem is that " the transport interface is called with a incorrect object key for table ITC_CALCRULE_ML  "  . we thaught of either reduce the width of the key or if we want
    to define also  the date, by  changing the order of MEAL_RULE_TYPE and START_DATE .Also we could use a CHAR1 instead of the INT1 for the MEAL_RULE_TYPE.
    After analyzing  this  we came to a conclusion that we have two solutions for solving it.
    1) Database Design Change : Which is generally not preferable.
    2) Apply the Event  12  ( After changing the key entries for the change task (E071K) ) on the view and in its code we reduce the Object key width for the Transport Organizer  and
        would be able to save the entry in the database  and would be able to transport the entries to our Q-system.

    Hi. Were you able to fix the error?

  • 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

  • Sorting of a field in view cluster

    Hi All,
    Is there any way to sort a field in main screen of view cluster.
    SE54->Edit view cluster->Test.  I want to sort a field in main screen, after pressing test.
    Is there any event for this?
    I know the events which get called after pressing test, but tables TOTAL and EXTRACT are blank in these events so I can't sort them.
    Pointers will be highly appreciated.
    Regards,
    Seema

    hi
    In your method there would be a parameter ie ON_TOGGLE where you can write the name of your event .
    Whenever your checkbox will be clicked that event wil be called.
    You can write your code in that event itself.
    Regards
    Kuldeep

  • 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

  • How to maintain the data in the view cluster

    we are doing upgrade, we have one view cluster app_log in this object scwb
    and subobjects is swtlo1,02,03 like i have some subobjects in 4.6c we transported the view cluster to ecc6.0 in ecc 6.0 i have object scwb  but subobjects doesn't exist how to maintain the subobjects in view cluster.

    Definition
    A view cluster is a group of maintenance dialogs which are collected in one maintenance unit for business or technical reasons. They allow related data in more than one table/view to be maintained consistently.
    Use
    Whereas only 1:1 relationships can be processed in maintenance views (except for language-dependent texts), key extensions and relationships of cardinality N:M can also be handled in view clusters. Maintenance dialogs with no key, or partial key-dependence, can also be combined into view clusters.
    Grouping dialogs into one maintenance unit has the following advantages for data maintenance:
    Navigation: A view cluster contains convenient standard navigation between the individual maintenance dialogs. This simplifies the maintenance of the data in a view cluster.
    Consistency: The view cluster ensures data consistency when deleting, copying, saving, retrieving and manually transporting data. For example when an entry in a higher-level view is deleted, , it automatically ensures that all dependent entries in lower-level views are also deleted.
    You can first split tables with a lot of fields into various views and then collect them into a view cluster.
    Use tabs to format very wide tables with a lot of fields.
    Structure
    Navigation in a view cluster is usually based on the hierarchy of the tables/views on which the dialogs are based. A view cluster usually consists of one or more root dialogs and the at most 14 maintenance dialogs which depend on them. A view at a lower level has one or more additional fields in its key compared its higher-level view. Each data record at the higher level has several dependent data records below it.
    Each maintenance dialog is an independent unit consisting of an overview screen or an overview and a detail screen, depending on the dialog type. As well as the data to be maintained, the overview screen contains a navigation area, in which you can go to higher or lower level maintenance dialogs.
    One-level maintenance dialogs only contain one screen, the list screen, in which all existing data records are displayed in a table. In a two-level maintenance dialog, double-clicking on a data record in the list screen takes you to the detail screen, which displays all the fields in the selected data record.
    Generate a maintenance dialog for each view before you call the cluster maintenance (SM34). When you generate the maintenance dialog, flag the key fields which are identical in the view and its higher-level in the cluster, with the maintenance attribute S. The system fills the key fields when you go from the upper to the lower level, with the values of the data record selected in the upper level. Go to the transaction SE54 to define a view cluster.
    <b>Rewards point if useful.......</b>
    regards....
    Abhaysingh.

  • ALTER USER를 실행한 사용자를 확인하는 방법(SYSTEM EVENT TRIGGER)

    제품 : ORACLE SERVER
    작성날짜 : 2002-11-07
    ALTER USER를 실행한 사용자를 확인하는 방법(SYSTEM EVENT TRIGGER)
    ================================================================
    PURPOSE
    자신이나 또는 다른 user들의 password를 바꾸는 등의 alter user command를
    사용한 사용자를 확인하는 방법을 알아보자.
    Explanation & Example
    1. 사용자 정보를 저장할 event table을 생성한다.
    Create event table and users to store the alterations made:
    SQL> connect / as sysdba;
    create table event_table
    ora_sysevent varchar2(20),
    ora_login_user varchar2(30),
    ora_instance_num number,
    ora_database_name varchar2(50),
    ora_dict_obj_name varchar2(30),
    ora_dict_obj_type varchar2(20),
    ora_dict_obj_owner varchar2(30),
    timestamp date
    create user test1 identified by test1;
    grant create session, alter user to test1;
    create user test2 identified by test2;
    grant create session to test2;
    2. SYS user에서 AFTER ALTER Client Event Trigger 를 생성한다.
    Note: This step creates a trigger and it is fired whenever the user "test1"
    issues ALTER command (It can be ALTER USER or ALTER TABLE)
    SQL> CREATE or REPLACE TRIGGER after_alter AFTER ALTER on database
    BEGIN
    IF (ora_dict_obj_type='USER') THEN
    insert into event_table
    values (ora_sysevent,
    ora_login_user,
    ora_instance_num,
    ora_database_name,
    ora_dict_obj_name,
    ora_dict_obj_type,
    ora_dict_obj_owner,
    sysdate);
    END IF;
    END;
    3. test1 user로 접속한 후 test2 user의 password를 변경하는 작업을 실행한다.
    SQL> connect test1/test1
    SQL> alter user test2 identified by foo;
    4. test2 user의 password가 test1 user에 의해 변경되면 그런 내용을
    event_table 에서 확인할 수 있다.
    Now that we have altered the "test2" user password from user "test1", the
    event_table should have captured this details.
    Now Login in as sys and Query on event_table:
    SQL> connect / as sysdba;
    SQL> select * from event_table;
    ORA_SYSEVENT ORA_LOGIN_USER ORA_INSTANCE_NUM
    ORA_DATABASE_NAME
    ORA_DICT_OBJ_NAME ORA_DICT_OBJ_TYPE
    ORA_DICT_OBJ_OWNER TIMESTAMP
    ALTER TEST1 1
    T901.IDC.ORACLE.COM
    TEST2 USER
    13-JUN-02
    event_table의 내용을 조회하여 LOGIN_USER와 ALTERED USER 는
    ORA_LOGIN_USER와 ORA_DICT_OBJ_NAME column을 통해 확인할 수 있다.
    비슷한 방법으로 아래의 event에서 trigger를 생성하여 확인할 수 있다.
    1) BEFORE DROP
    2) AFTER DROP
    3) BEFORE ANALYZE
    4) AFTER ANALYZE
    5) BEFORE DDL
    6) AFTER DDL
    7) BEFORE TRUNCATE
    8) AFTER TRUNCATE
    Related Documents
    Oracle Application Developer's Guide

  • Cluster Event Warning after Installing SCDPM 2012 R2

    Hi 
    I just installed SCDPM 2012 R2 on Server 2012 R2 Box (that is also a cluster node), after installing the SCDPM 2012 R2 on Hyper-V  Cluster Node i am getting below Warning in Cluster Events.  I just want to know what are the impact of this event ..??
    Is it also impacts on SCDPM Backup??? is any solution to resolve this warning.
    Error
    Shailendra Dev

    Hi Shailendra Dev,
    This event can caused by third Party filter driver has been identified, you can refer the following article to find out the incompatible driver then uninstall the software.
    More related information:
    Troubleshooting ‘Redirected Access’ on a Cluster Shared Volume (CSV)
    http://blogs.technet.com/b/askcore/archive/2010/12/16/troubleshooting-redirected-access-on-a-cluster-shared-volume-csv.aspx
    Allocated Altitudes
    http://msdn.microsoft.com/en-us/library/windows/hardware/dn265170(v=vs.85).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Problem in seeing new LaCie USB drive

    Hi all, am looking for information related to the fact that my LaCie 320 gig USB drive will not show on the desktop. Sometimes it does appear to quickly vanish, often with an error message relating to inappropriate device removal, but of course I hav

  • I have latest update but some sites tell me i don't.

    Trying to access Al Jazerra. No problems before but now keeps telling me I need to update flash player which I have done. Is this a problem with Al Jazerra or my computer?  Help! Thank you, myshadowone2007

  • Crashes after opening preview in Yosemite

    Hey Apple community, I've got a question concerning my MacBook Pro (15-inch, late 2011, 2,2 GHz Intel Core i7, 4 GB 1333 MHz DDR3, Samsung EVO 120GB). After installing Yosemite (10.10) the preview app got a little bit slow, but no hassle. However, th

  • Spinning Beach Ball on New Macbook

    Hi All, I recently purchased the new Macbook Pro 15" with 2.6Ghz Interl Core i7 Haswell, 16GB Memory and 1TB hard drive. I downloaded the latest copy of FCPX and I am working with 1080p Footage shot on my Canon DSLR. I have a 2009 Mac Pro which lets

  • (-69) Error when trying to upload songs on to iPod

    All of the sudden when I try to upload songs on to my iPod I get a messages that says, and I quote, "Attempting to copy to the disk "Rob's iPod" failed. An unknown error has occered (-69). I went to apple store thinking it was a problem with the hard