Table /saptrx/eh_sthst

Hi,
In SAP OER the above table gives Event Handler Status History.
it has two fields STATUS Date and UPDATE date.
could any one differentiate between them with an example.
and by which transaction its populated.
I am new to work with OER.
Regards

Status records are recorded against the EH (table /SAPTRX/EH_HDR) in table /SAPTRX/EH_STAT. When a new status comes in the old status is written to /SAPTRX/STHST if the EH type is set to update status history

Similar Messages

  • /SAPTRX/DELETE_EVMSG - Remove only messages for deactivated Event Handlers

    We are tracking our Sales Order process in Event management including
    1. SO Create
    2. ATP Date
    3. PO Created
    4. Inbound Delivery
    4. Outbound Delivery
    5. PGI
    6. Shipment Complete
    This can be a very lengthy process over a period of months. We are starting to really fill up the table /SAPTRX/EVM_HDR which slows down performance a great deal. We are not doing any archiving because the data we need will be loaded to BI and then the EH will be deactivated. So we are using the standard reports /SAPTRX/DELETE_EH and /SAPTRX/DELETE_EVMSG.
    Finally the question...
    The problem that we are having is that the deletion report for DELETE_EH looks at the inactive date on /SAPTRX/EH_HDR. However the DELETE_EVMSG does not look at the EH_HDR inactive status to make sure the messages associated can be deleted. We have set the residence time to a month but that still won't cover everything. Does anyone know if SAP has offered this functionality?? Otherwise we will have to write a "Z" report to handle all of these, or I will put in a customer message.
    Thanks,
    Alex

    Hello Alex,
    as /SAPTRX/DELETE_EVMSG was more thought as a program to delete test data there is no option to do it.
    But in the standard archiving program for Event Messages you can do this check for still existing EHs with a Plug In function.
    Yiu can create the plug in function in TR /saptrx/restm similar as other functions in EM.
    In EM 7.01 a standard BADI implementation is available for the new archiving reports that is allready doing this check.
    So in principle i would recommend to use the archiving reports instead of the only deletion reports. In case anything went wrong you have the possibility to reload the data If you really don't need the archived data you could just drop the archive files later.
    Best regards,
    Steffen

  • Event Handler Header Extension Table

    Scenario:
    Currently, EH Header Extension Table ID (/SAPRCX/EHEXT) exist in system, based on /SAPRCX/EHEX table.
    Tcode: /N/SAPTRX/TSC0ET (See attached file.)
    Question:
    If I want to add Fields to EH Header Extension Table ID (/SAPRCX/EHEXT) then How I can add new fields ?
    or
    How to create new EH Header Extension Table ID?
    Thanks,
    Chan Patel

    I did exact steps.
    1. Copy existing /SAPRCX/EHEXT Ext. Tab ID and create my own ZSAPRCXT ext. table ID. but is it says :
    - No View table created.
    SE11 There is predefined.table created like
    /SAPRCX/V_EHEX
    /SAPRCX/V_ELOC
    /SAPRCX/V_EQPEXT
    /SAPRCX/V_LEASE
    2.  When I create new Extension table.
    Give Extension Table ID, Description and when I choose ...Extension table for selection:
    Lenth of table gives me error..like
    /1CADMC/00000134 example then it display only /1CADMC/00000,no full table name and give error this table don't have active version.
    Is some came across this kind of error..
    1. Error message:
    Error Message:
    View /SAPRCX/V_EHEX for extension table /SAPRCX/EHEX could not be
    activated
    Message no. /SAPTRX/TS_APP204
    Diagnosis
    A view is generated for each extension table when the Customizing data is
    saved.
    This view could not be activated.
    System Response
    The extension table is not used.
    Procedure for System Administration
    Check that the fields used in your extension table do not occur in table
    /SAPTRX/EH_HDR.

  • Tables for rule sets

    Hi,
    Can you provide me the tables used for rule sets, activities, task etc in EM

    Hi Dipak,
    Below are the EM tables requested.
    Regards,
    Jonathan Hansen
    /SAPTRX/ACTIVITY – Activity Header Table
    /SAPTRX/ACTIVTXT – Activity Text Table
    /SAPTRX/ACT_TASK – Multi-Task Activity Task Table
    /SAPTRX/ACT_TSKT - Multi-Task Activity Task Text Table
    /SAPTRX/EM_RLSET – Rule Set header table
    /SAPTRX/EM_RLSTX – Rule Set text table
    /SAPTRX/EM_RULE - Rule table (Rule Set item)
    /SAPTRX/EM_RULET – Rule Set text table

  • How to find EH GUID for unprocessed event message id?

    Hello  SCEM experts
    I need to know how to fetch header GUID from unprocessed event gu id
    In /SAPTRX/EVM_HDR table we have the event guid of unprocessed events under field EVT_GUID
    I need to find the linkage of this unprocessed event with the main header guid ( like field ''EH_GUID" in table /SAPTRX/EH_HDR).
    Issue: we need to write the report to process the thousand of unprocessed event messages in the /SAPTRX/EVM_STATUS
    please let me know if anyone has worked on the same requirement like how we can reprocess unprocessed messages
    Thanks

    Hello Steffen
    The example you have mentioned is not the case in my situation.
    Here in system , I can see the unprocessed entries in table "/SAPTRX/EVM_UNPR". The same entries I can also see in table/SAPTRX/EVM_HDR but not in anyother SAP table.
    I have checked the SAP NOTE# 656990 - Important background jobs for SAP
    Event Management
    There are 3 reports mentioned iN NOTE:
    1) /SAPTRX/PROCESS_LOCKED_EHS
    2) /SAPTRX/PROCESS_LOCKED_SETS
    3) /SAPTRX/R_REPOST_AI_LOGS
    After executing the above reports the problem has not solved yet.
    As this is very common behaviour how we can reprocess these unprocessed events.
    Many thanks

  • Automatic detection of n:m relations

    Hi all,
    I'd like to know if it is planned to let JDeveloper automatically n:m relations when creating BC4j entities.
    At the moment JDeveloper does not detect which tables are part of an n:m relation, instead it creates entities for
    the helper table and only links the helper table with the tables that contain the data.
    Isn't it possible to create a direct (n:m) association between the two tables?
    Mark

    Thanks Kris for the response. Unfortunately, when I manually deactivated the update, I did not see any fields that were flagged in either table /SAPTRX/FUNCTION or /SAPTRX/FUNCT. Those are the two tables that the view /SAPTRX/VFUNC_O is based on.  It has to be some flag that gets updated when the update is deactivated.
    I could just  write a script to parse the system log periodically but it's good to know where SAP keeps the flag.
    Thanks

  • Automatic detection of update deactived

    I'm trying to write a script to automatic detect when update is deactivated. I would like to know which ABAP table and which filed is set when the event of update deactivated occurs ?
    Thanks
    Jay

    Thanks Kris for the response. Unfortunately, when I manually deactivated the update, I did not see any fields that were flagged in either table /SAPTRX/FUNCTION or /SAPTRX/FUNCT. Those are the two tables that the view /SAPTRX/VFUNC_O is based on.  It has to be some flag that gets updated when the update is deactivated.
    I could just  write a script to parse the system log periodically but it's good to know where SAP keeps the flag.
    Thanks

  • Delete Reported Event in Freight Order

    Hi Gurus,
    How to delete the reported event in Execution tab of the Freight order?
    For Ex:
    After capturing POD, if i want to delete it, i cant find any option to delete it.
    Thanks,
    Michael.

    Hi ,
    You have to build a custom action in TM to revoke the reported event and send the update to EM event handler to  set the event as invalid in EM.
    TM Table : /SCMTMS/D_TOREXE
    set the value as X @ Field : EVENT_REVOKED 
    EM Table : /SAPTRX/EVM_HDR
    Set the value as X @ field INVALID_DATA
    Don't forget to reset the status of the document in TM and EM.
    ~Sukumar

  • Message-mappings: stored in which database-table?

    Hello everybody,
    I want to code some ABAP to check some message-mappings.
    Does anybody know in which DB-tables the mapping including the mapping steps are stored?
    Thanks a lot.
    Regards Mario

    Hi Muller,
    Check these tables,
    <b>/SAPDMC/LSOMAP</b>                 Field Mapping
    <b>/SAPTRX/SCAOTMAP              </b>
    <b>/SAPTRX/SCCNDMAP              </b>  <b>/SAPTRX/SCEVTMAP              </b>
    <b>/SAPTRX/SCFUNMAP              </b> /<b>SAPTRX/SCSOMAP               </b>
    or Just say map in SE11 and u will get a list..
    Regfards,
    Sridhar

  • /SAPTRX/IDOC_INPUT_EVMSTA IDoc posting only works for single BAPI call

    Although the settings and code imply that the function /SAPTRX/IDOC_INPUT_EVMSTA can handle multiple events in a single IDoc the fact is that the code does not have a refresh statement on the BAPI internal tables with the loop through the IDoc control record. This means that we end up posting multiple events for the the same event during Idoc posting.
    Is SAP going to fix this situation? PS: The same applies with the EHPOST Idoc function module.
    Thank you
    Kevin

    Dear,
    I just debugged my Z-function, after adding all input parameters as in the standard BAPI function.
    All parameters seems to be passed correctly except from the table parameters from
    CLASS_OBJECTS
    So all I_parameters are passed :
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_INT} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_ISO} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_KEY_DATE} = Date (2011, 08, 05) and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSNUM} = "DSWTEST" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSTYPE} = "001" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CHARACTS_OF_CLASS_ONLY.BAPIFLAG} = ""
    but the table parameters aren't coming through:
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
    these are 'blanco' in the function.
    also after the function is executed and all data is retrieved, when passing the data back to Crystal reports, once again, the table result isn't passed to Crystal Reports.
    please advise

  • Tables for XI messages

    Hi all,
    Can any one please give me list of DB tables which are used for XI messages.
    Any links, docs, threads would help me
    reg,

    HI,
    SXMSPMAST, SXMSCLUP, SXMSPCLUR
    the last two are cluster tables
    and you won't get XML messages directly from them
    have a look inside them
    The classes that reads this information in SXMB_MONI are abap classes,
    (can be seen at SE24) it is quite difficult to use them,
    you might debug SXMB_MONI or use SE30 and see all the classes
    that have been used.
    You can use value mapping if you are not looking at picking up values from application system.It is just like SM30 transcation.You can get the info under SAP XI->Design and Configuration->Configuration->Value Mapping.
    Also see the
    these tables,
    /SAPDMC/LSOMAP Field Mapping
    /SAPTRX/SCAOTMAP
    /SAPTRX/SCCNDMAP /SAPTRX/SCEVTMAP
    /SAPTRX/SCFUNMAP /SAPTRX/SCSOMAP
    /people/udo.martens/blog/2006/02/16/own-logging-of-xi-messages
    message-mappings: stored in which database-table?
    sxmb_moni, table sxmspmast, Messages with ICON_LED_RED, report RSXMB_SELECT
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/a1b46c4c686341e10000000a114a6b/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ef/45393c3eb3036be10000000a11402f/frameset.htm
    Regards
    Chilla
    <i>reward points if it is helpful..</i>

  • /SAPTRX/EVM_STATUS Missing Data?

    Why isn't the entire message listed in the status transaction /SAPTRX/EVM_STATUS?
    I would think simple things like
    Status: /SAPTRX/EVM_STA
    and
    EE Modification: /SAPTRX/EVM_EEM
    could be listed out here?

    Well after a long time away from EM I am starting to work on it again. I have added the appropriate enhancements to add Expected Events table for Event messages to /SAPTRX/EVM_STATUS. You can use this to add any additional data that you would like to look at in this report. Making the Event Message data a little Less hidden.
    There are 4 places that you need to add code.
    1. FILL_NODE_TABLE
    ENHANCEMENT 1  ZGZ_EM_EVM_STATUS.    "active version
    *Add Expected Event table
      CLEAR ls_node_catalog.
      ls_node_catalog-node = 'EE'.
      ls_node_catalog-table_name = '/SAPTRX/EVM_EEM'.
      APPEND ls_node_catalog TO gt_node_catalog.
    ENDENHANCEMENT.
    *$*$-End:   (3)---------------------------------------------------------------------------------$*$*
    ENDFORM.                    " FILL_NODE_TABLE
    2. BUILD_NODE_AND_ITEM_TABLE
    ENHANCEMENT 2  ZGZ_EM_EVM_STATUS.    "active version
    * Expected Events
      CLEAR ls_node.
      ls_node-node_key = 'EE'.                          "#EC NOTEXT
      ls_node-relatkey = 'HDR'.
      ls_node-relatship = cl_gui_list_tree=>relat_last_child.
      ls_node-isfolder = 'X'.
      APPEND ls_node TO p_lt_node.
    * NODE EXPECTEDEVENTS
      CLEAR ls_item.
      ls_item-node_key = 'EE'.
      ls_item-item_name = '1'.
      ls_item-class = cl_gui_list_tree=>item_class_text.
      ls_item-ignoreimag = 'X'.
      ls_item-text = 'Expected Events'. "#EC NOTEXT
      ls_item-length = 25.
      APPEND ls_item TO p_lt_item.
    ENDENHANCEMENT.
    *$*$-End:   (1)---------------------------------------------------------------------------------$*$*
    ENDFORM.                    " BUILD_NODE_AND_ITEM_TABLE
    3. DISPLAY_GRID (I put it at top you could put anywhere)
    FORM display_grid  USING    p_node.
    ENHANCEMENT 3  ZGZ_EM_EVM_STATUS.    "active version
    *Add data to table
      CASE p_node.
        WHEN 'EE'.
          gs_var_layout-report = sy-repid.
          gs_var_layout-handle = 'EE'.
          SELECT *  FROM /SAPTRX/EVM_EEM INTO TABLE gt_ee
                    WHERE evt_guid = g_guid.
          CALL METHOD g_alv->set_table_for_first_display
            EXPORTING
              it_toolbar_excluding = g_tab_fcode
              i_buffer_active      = 'X'
              is_layout            = gs_layout
              i_default        = 'X'
              is_variant           = gs_var_layout
              i_save               = 'U'
            CHANGING
              it_fieldcatalog      = gt_fieldcatalog
              it_outtab            = gt_ee[].
        WHEN OTHERS.
      ENDCASE.
    ENDENHANCEMENT.
    4. Add Data deceleration to bottom of FG /SAPTRX/LREPORT_UTILITIESTOP
    ENHANCEMENT 4  ZGZ_EM_EVM_STATUS.    "active version
    *Additional Tables for grid Control
      DATA: gt_ee type standard table of /SAPTRX/EVM_EEM.
    ENDENHANCEMENT.

  • MB5B Report table for Open and Closing stock on date wise

    Hi Frds,
    I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
    Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
    Thanks
    Mohan M

    Hi,
    Please check the below links...
    Query for Opening And  Closing Stock
    Inventory Opening and Closing Stock
    open stock and closing stock
    Kuber

  • Error while dropping a table

    Hi All,
    i got an error while dropping a table which is
    ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
    i know learnt that -600 error is related to dba. now how to proceed.
    thanks and regards,
    sri ram.

    00600 errors should be raised as service request with Oracle as it implies some internal bug.
    You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
    http://support.oracle.com

  • Logical level in Fact tables - best practice

    Hi all,
    I am currently working on a complex OBIEE project/solution where I am going straight to the production tables, so the fact (and dimension) tables are pretty complex since I am using more sources in the logical tables to increase performance. Anyway, what I am many times struggling with is the Logical Levels (in Content tab) where the level of each dimension is to be set. In a star schema (one-to-many) this is pretty straight forward and easy to set up, but when the Business Model (and physical model) gets more complex I sometimes struggle with the aggregates - to get them work/appear with different dimensions. (Using the menu "More" - "Get levels" does not allways give the best solution......far from). I have some combinations of left- and right outer join as well, making it even more complicated for the BI server.
    For instance - I have about 10-12 different dimensions - should all of them allways be connected to each fact table? Either on Detail or Total level. I can see the use of the logical levels when using aggregate fact tables (on quarter, month etc.), but is it better just to skip the logical level setup when no aggregate tables are used? Sometimes it seems like that is the easiest approach...
    Does anyone have a best practice concerning this issue? I have googled for this but I haven't found anything good yet. Any ideas/articles are highly appreciated.

    Hi User,
    For instance - I have about 10-12 different dimensions - should all of them always be connected to each fact table? Either on Detail or Total level.It not necessary to connect to all dimensions completely based on the report that you are creating ,but as a best practice we should maintain all at Detail level only,when you are mentioning any join conditions in physical layer
    for example for the sales table if u want to report at ProductDimension.ProductnameLevel then u should use detail level else total level(at Product,employee level)
    Get Levels. (Available only for fact tables) Changes aggregation content. If joins do not exist between fact table sources and dimension table sources (for example, if the same physical table is in both sources), the aggregation content determined by the administration tool will not include the aggregation content of this dimension.
    Source admin guide(get level definition)
    thanks,
    Saichand.v

Maybe you are looking for

  • How can I connect my imac to my TV

    Hi, I need to connect my Imac with my TV SAMSUNG AC 220. I used a HDMI cable but I can only see the basic picture of my Imac but without apps and no mouse. Then, I'd like to see the movies I created on Iphoto. Can you help me please ! Thanks a lot !

  • Photoshop CS2- Invalid Serial Number

    I am installing my Adobe Photoshop CS2 on Windows Vista. When I try to install the program after entering my serial number that is on the CD case, the program states "Invalid Serial Number." Customer Service gave me new serial numbers to attempt at f

  • Flash Player crashing on every website I go to

    I'm running on windows 7 using firefox. I need help. Literally every page I go to flash player crashes about 4 times and I have to press "stop pluggin" and wait 30 seconds for the page to respond over and over. I'm about ready to either give up on ad

  • 6300 power saver & sleep mode

    Hello, My problem is that after only one week that passed after I bought a Nokia 6300 my power saver and sleep mode stopped working. I tried turning them on and off or even put one on "off" and the other one "on" but it seems they just stopped activa

  • I downloaded Mavericks. Now I can't watch videos. Help!

    At first I thought there was a problem with my sound. But all is on and up. Then I realized that the video doesn't actually stream. Ideas?