Wednesday, April 29, 2015

TIP: SAP EM Meta-Data tags

In SAP Event Management you can use meta-data tags as parameters to pass in to rule set activities. Here is a short list of common tags that are available for use in this regard:
  • System field: <SY-field> where field is a system field E.g. <SY-LANGU>
  • Event Handler: <HDR-field> where field is a field in the EH Header (/SAPTRX/EH_HDR) table. E.g. <HDR-TRACKINGID>, <HDR-LAST_EV_MSG>, <HDR-LAST_HIER_NBR>
  • Event Handler Extension: <EH_HDR_EXT-field> where field is a field in the applicable event handler extension table. E.g. <EH_HDR_EXT-ODT10_DOCUMENT>
  • Control Parameter: <CNTRL-param_name> where param_name is your control parameter name. E.g. <CNTRL-DELIVERY_ITEM>, <!CNTRL-ODT30_GEO_ACT_DATETIME>
  • Expected Events: <EXP_EVENT-field> where field is a field in the expected events (/SAPTRX/EH_EXPEV) table. E.g. <EXP_EVENT-DATETIME1>
  • Event Message: <EVENT_MSG-HDR-field> where field is a field in the /SAPTRX/EVM_HDR table. E.g. <EVENT_MSG-HDR-SRCID>, <EVENT_MSG-HDR-TRXID>, <EVENT_MSG-HDR-SRCTX>, <EVENT_MSG-HDR-SNDNAM>, <!EVENT_MSG-HDR-EVTTST>, <!EVENT_MSG-HDR-EVTDAT>
  • Event Message Extension: <EVM_HDR_EXT-field> where field is a field in the applicable event message extension table. E.g. <EVM_HDR_EXT-LONGITUDE>
If you have no idea what I'm talking about here then don't worry... carry on with you day, sorry for the interruption and look out for the next blog ;)