SCSM 2012 Relationship between Incident and Service Level Instance Time Information

Hi,
I am using a runbook similar to
this one, but am getting many different Incident relationships.
For testing, I want to initiate the runbook not with a Monitor Object looking at the Service Level Instance Time Information class, but manually with an Initialize Data action.
Can someone advise how to do this? What 'GUID' does the Monitor Object look at and pass on to the runbook?
Or perhaps a powershell snippet that shows how the relationship works...
Thanks,
Joe.

Try this:
SELECT dbo.MTV_System$SLA$Instance$TimeInformation.BaseManagedEntityId, dbo.MTV_System$SLA$Instance$TimeInformation.DisplayName,
dbo.MTV_System$SLA$Instance$TimeInformation.StartDate_6F33A83B_41D9_A782_379E_A75CA15145F3,
dbo.MTV_System$SLA$Instance$TimeInformation.Id_1C7A525A_E7EC_59B9_6FF3_CFCECA1A64A0,
dbo.MTV_System$SLA$Instance$TimeInformation.IsCancelled_16DDBB6C_0E00_ACAD_4F04_D134E61AF82B,
dbo.MTV_System$SLA$Instance$TimeInformation.TargetWarningDate_B98D2C5F_CBA2_8DB9_CA33_E0F808A9801E,
dbo.DisplayStringView.DisplayName AS SLAstatus, dbo.MTV_System$WorkItem$Incident.Id_9A505725_E2F2_447F_271B_9B9F4F0D190C,
dbo.MTV_System$WorkItem$Incident.Title_9691DD10_7211_C835_E3E7_6B38AF8B8104 AS IncidentTile
FROM dbo.MTV_System$SLA$Instance$TimeInformation INNER JOIN
dbo.RelationshipView ON dbo.MTV_System$SLA$Instance$TimeInformation.BaseManagedEntityId = dbo.RelationshipView.TargetEntityId INNER JOIN
dbo.MTV_System$WorkItem$Incident ON dbo.RelationshipView.SourceEntityId = dbo.MTV_System$WorkItem$Incident.BaseManagedEntityId INNER JOIN
dbo.DisplayStringView ON
dbo.MTV_System$SLA$Instance$TimeInformation.Status_F632EA19_0367_CC81_BCB5_5E0387B1B5E3 = dbo.DisplayStringView.MPElementId
WHERE (dbo.RelationshipView.IsDeleted = 0) AND (dbo.RelationshipView.RelationshipTypeId = 'ba08f9bb-85c7-20d8-05e3-0035938cddd5') AND
(dbo.DisplayStringView.LanguageCode = 'ENU')
Cheers,
Marat
Site: www.scutils.com 
Twitter: LinkedIn:
Graveyard:

Similar Messages

  • Relationship between header and row level data.

    Hi all
    I need to know how to relate a field in the header level and the row level...
    On my row level i want the route id to be related to the route name field at the header level...instead of showing this route id  it must show only the header so...based on the row level data the header must change...
    I tried insertin the field but when i do a relate to on either fields its showing me only fields on that catagory ( Header only or Row Level only)
    Thanks

    The Header is evaluated and printed first and then only Repetitive area is computed and printed. You cannot try to arrive header based on the Repetitive area.
    Please explain in detail which screen etc.. so that we can suggest some work arounds

  • Difference/relationship between XML and XSD

    Hi All,
    Correct me if i am wrong,
    When we create a source and a target datatype in IR automatically objects will be created in XSD.
    The same way it does when we create message type.
    In message mapping, We map source and target message type and when we test with sample data, we can view source and target in xml
    My question is what is the difference/relationship between XML and XSD ?
    Thanks,
    ss

    Hi,
    XML (Extensible Markup Language) is a W3C initiative that allows information and services to be encoded with meaningful structure and semantics that computers and humans can understand. XML is great for information exchange, and can easily be extended to include user-specified and industry-specified tags.
    Whereas
    An XML Schema Definition (XSD) is an instance of an XML schema written in the XML Schema language. An XSD defines a type of XML document in terms of constraints upon what elements and attributes may appear, their relationship to each other, what types of data may be in them, and other things. It can be used with validation software in order to ascertain whether a particular XML document is of that type, and to produce a Post-Schema Validation Infoset.
    I hope this clarifies.
    Regards.
    Praveen

  • Service Agreement and Service Level Agreement

    Hi
    Can anyone provide me a copy of Service agreement and Service level agreement which can used between sap partner and a customer.
    I am doing my first implementation in SAP B1 and i want to make this agreement with my customer before i start implementing the software.
    I searched the portal but couldnt locate it.
    Thanks and Regards
    C.Louis

    Hi,
    I think the first agreement document is EULA (end user license agreement). The second is your request.
    I think you can ask the sample of the agreement to SAP branch in your country. if not, let me know your e-mail.
    Rgds,

  • Relationship Between PO / GR / Services Tables

    Hello experts
    I am trying to find out the relationship between ESSR ESLH ESLL EKPO and EKBE tables.
    Below is some sample data and my requirement. Could you please tell me how I should consider linking the tables. Am I missing any table in between. Out of the 2 sevices , only one is accepted , 300000003. I need information like PO#, SES#, Sevice#, Accepted Qty, Mat. Document#
    EKPO                              
    EBELN     EBELP     PACKNO                    
    4300000000     10     289271                    
    ESLH                              
    PACKNO     FPACKNO     HPACKNO     EBELN     EBELP          
    289271     289271     289271     4300000000     10          
    289272     289271     289271     4300000000     10          
    ESLL                              
    PACKNO     INTROW     EXTROW     SRVPO        PACKAGE        SUB-PACKNO     ACT_WERT
    289271     1     0                    X        289272            0
    289272     2     10     3000000003                0            10
    289272     3     20     3000000002                0             0
    ESSR                              
    LBLNI        PACKNO     EBELN     EBELP               
    1000052342     289279     4300000000     10               
    EKBE                              
    EBELN         EBELP     VGABE     BELNR          BEWTP     LFBNR     
    4300000000     10     9     1000052342     D     1000052342     
    4300000000     10     1     50000451255     E     1000052342     
    WHAT I NEED                               
    EBELN          EBELP     LBLNI          SRVPO     ACT_WERT     BELNR     
    4300000000     10     1000052342     3000000003     10     50000451255     
    Many thanks & regards!
    Sanjyot

    Hi Experts
    I'm haveing a similar problem, and I need your help.
    I'm trying to connect PO number with Service entry sheet and service numbers, but the link between tables don't work.
    EXEMPLE:
    EKPO
    EBELN    PACKNO
    1010          212
    ESSR
    EBELN   LBLNI       PACKNO
    1010        2000         215
    Link between PO and Service entry sheet - DONE (NOT using ESSR-PACKNO)
    ESLH
    EBELN    KNUMV     HPACKNO     FPACKNO     PACKNO
    1010          10               212               209               212
    1010          11               212               212               213
    ESLL
    PLN_PACKNO SRVPOS
    213                        1
    213                        2
    So, going to ESLH and getting the PACKNO, will allow me to go do ESLL and get the SRVPOS.
    The problem is that for a certain PO I have, in ESLH 2 entries.
    Can anyone confirm that EKPO-PACKNO=ESLH-FPACKNO and not HPACKNO? I think that would solve my problem.
    If someonehas other ideas, please let me know.
    Many thanks,
    Joana Faria

  • Router calls offered and Service Level calls offered differences

    Hi,
    I was checking the definition of router calls offered and service level calls offered. Could anyone please let us know the exact difference between these fields in t_Skill_group_interval table.
    Regards
    Deepak

    Hi Jameson,
    Thanks for the reply.
    I went through the database schema .I have some doubts regarding the terminologies.
    1. The component of redirect calls - Would like to know what it would be .
    2. The component - still unanswered within threshold . Would this mean the calls queued longer than SL .which means all the remaining calls which were offered to this skillgroup. Hence would like to know if the Service level calls offered should be equal to Router calls offered.
    3. I observe that Service level calls offered were less than the calls answered field. Would like to know the possible reasons. I was initially thinking that there are might be calls overlapping but its not so as per my testing. Please help.
    Testing performed :
     Added to this , there is one more field called "Calls offered" and i observe that this is incremented when the calls are answered.
    I performed to test "Service Level calls offered, calls offered , Calls answered and Router calls offered" .
    I made a test call and queued skillgroup at 2:27 pm and made to be in queue and answered in next interval 2:32 pm (crossing reporting interval)
    I observe the below,
    In 2:15 interval for the skillgroup , 
    Router calls offered = 1 , Calls offered = 0 , Calls answered = 0 , Service Level calls offered = 0
    In 2:30 interval for the skillgroup,
    Router calls offered = 0 , Calls offered = 1, Calls answered = 1 , Service Level calls offered = 1
     Would like to know if this are correct values.

  • Solution and Service level Reporting in Solution Manager

    Hi All,
    I have got some requirement , can anyone please provide me the link/blog regarding Solution and Service level Reporting.
    Thanks,
    vk

    Hi,
    got confused since previous you said it was enterprise service report,
    https://websmp207.sap-ag.de/~form/sapnet?_SCENARIO=01100035870000000202&_SHORTKEY=01100035870000742027&_OBJECT=011000358700000999072011E
    the Following SAP notes
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1442799
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1250529
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1391968
    Thanks
    Jansi

  • What's the difference between Routing and Service Callout in ALSB?

    I am puzzled by that.
    what's the difference between them.
    Or what's the situation should use Routing, and that of service callout?

    There is little difference between routing and service callout.
    Routing is symbolizes the transition of request thread to a response thread starts. (in OSB every invocation of proxy is undertaken by different request and response threads ). So by this definition, there can be only one route node in a pipeline.
    Service call out is also used for similar actions as route node , but in pipeline. So service callout can be either in request pipeline (request thread) or in response pipeline (response thread ) . So in a proxy you can have multiple ServiceCallouts but only one route node.
    There are some other slight differences.
    Manoj

  • OTL - Table Relationship between Timecard and Workflow

    Hi All,
    Our employees work multiple projects and charge their time thru OTL to each of individual project as appropriate every pay period. Each project has it's own project manager. When an employee sumbits his timecard for approval the workflow routes an approval notification to EACH project manager. Every project manager must approve the employee's timecard before the "overall" timecard status is APPROVED.
    For example, an employee works on four diffent projects - each project has a different PM. When the employee submits his timecard for approval an approval notification is sent to all four PMs. However, more than occasionally at least one of the PMs doesn't approve the timecard in a timely fashion so the employee's timecard is "hung up" waiting for approval.
    I need to write a query in which I specifiy both an employee and particular pay period, and the query returns for the employee/pay peirod EACH Project Name, the PM for the respective project, and whether or not the the PM has approved the employee's time for the respective PM's project in the specified pay period.
    Unfortunately I don't really know where to start. I don't know if there is an HXC or group of HXC tables that would allow me to report on the individual project manager's 'status' (i.e., has a PM approved his project in the employee's timecard)...or do I need to allow include some workflow tables such as (maybe ?) wf_notifications ? And if I need to include some WF tables can someone help me understand where the relationship between timecard and WF is definded/stored (in other words, for a particular timecard how can I query a WF table - for example, wf_notifications - and find all the respective notifications associated with that particular timecard ?
    I hope my question is clear, but please advise if you have any questions. Thanks in advance for the help !!
    Jeff

    Hi Jeff,
    Did you ever get an answer on this question, as I have similar issues.
    One question you may be able to answer - Do all approvals on the project side need to be done for ANY project information to pull into Project Accounting, or as each Project Manager approves their portion does it pull in to PA?
    Thanks very much!!
    Lori

  • Separate document no. for SD revision document and detagging relationship between invoice and SD document no.

    HI,
    Country specific settings for India - Business transactions enables SD revision vide table TE872_SDCTRL_IND.
    Whenever SD revision takes place system issue similar document no. as that of invoice and tagged it with XBLNR as per standard process.
    Now issue that if that invoice is reversed, subsequent SD also gets reversed.
    So business requires to have separate document no. for SD revision document and detagged relationship between invoice and SD document no.
    I have explored event R507, 0010, 0060 and R436 but couldn't find input structure where such separate document can be assigned.
    So can you provide hint which can assist in issue resolution?
    Regards,
    Paresh

    Check this thread, if this helps.
    [url] Link between MKPF table and EKKO or RBKP table [url]
    I've done this as well earlier to create a custom document flow for archived documents where from the EBELN i've found all the related documents. Hope this helps.

  • Could I build 1:N relationship between CMP and BMP?

    Hi, as subject, Could I build 1:N relationship between CMP and BMP?
    Thanks a lot!
    a13519

    Container managed relationships only apply to CMP beans. You can look at the DTD in appendix B of the EJB spec or chapter 10 where they make this distinction.

  • 2-way Trust Relationship between Windows and Mac Domain

    Hi guys I hope someone can help me.
    Just a quick explanation of what I am trying to do.
    I have an Xserve running OSX 10.5.8 server, which is the OD Master. On that server I’m running Kerio mail server. I have a Microsoft 2003 server running AD.
    The problem is I need to run BlackBerry Enterprise on the Windows server as the BlackBerry need active directory to work.
    Since I have both system already running, I do not want to destroy my open directory just to get the BlackBerry working.
    So what I have tried to do is create a 2-way Trust Relationship between the 2 domains, so the BlackBerry server will talk to the Kerio mail server.
    The trust relationship appears to create fine from the Windows server side, but I’m not able to retrieve LDAP information from the open directory server.
    The creation from the OSX server starts fine automated but then I had to finish it manually.
    Has anyone else here created a 2-way trust relationship between Windows and Mac’s before? Any help on how you did it would be appreciated. Thanks

    Have you checked on when the computer last checked in and changed the computer account password with the domain?  When a computer changes it's password, Active Directory will store only the current password and it does not expire.  The workstation
    will store both the current password and the previous password.  This for cases when you may restore Active Directory to a point before the computer password change.  
    To handle this, the workstation will try it's current password, then it's previous.
    If you're restoring the workstation to a previous point in time, you may be rolling the stored passwords back too far for Active Directory to accept.  I would only imagine this to be the case a handful of times if you're going back 1-2 days.
    Are you experiencing 100% failure?

  • What is rfc of creating relationship between ibase and partner?

    I need bapi or rfc for assign a partner to ibase.
         create relationship between ibase and parten.
    pls.

    Hi
    check this link
    Re: BAPI for creating IBASE structure
    Regards
    Pavan

  • Many to many relationships between Fact and Dimension

    Hi All,
    I have to solve two kind of many to many relationships between Fact and Dimension.
    1. Many to Many relationship between Fact and Dimension, using a bridge table, with FKs in fact and dimension to bridge table’s PK.
    2. Many to Many relationship between Fact and Dimension, using a bridge table, and an intersection table, with FK in fact to bridge table, and 2 FKs in intersection table to Dimension and to bridge table.
    I need help on implementing (how the mapping has to look like) them in OWB 9.2.0.2.8.
    Thanks,
    Aurelian Cojocaru

    Aurelian,
    Unfortunately, you cannot implement this in the dimensional model. You would have to use relational tables and relationships between those in order to implement your scenario.
    Thanks,
    Mark.

  • Difference between party and service

    Hi,
       I know  when we are going to  party and service (Normally party means. when we are doing Business to Business ) but what is exact difference  between party and service.. and if possible  definitions  also..
    Thanks
    Babu.

    Babu,
    Refer to url http://help.sap.com/saphelp_nw04/helpdata/en/87/1d6e3fefa13042e10000000a114084/frameset.htm
    An excerpt
    Services without a party are typically used when configuring company-internal processes. Parties (with assigned services) are typically used when configuring cross-company processes.
    Also refer to one of your previous forum questions and my response Re: Business System and Business Service Posted: Nov 28, 2007 4:31 PM in response to: BABU
    You usually use business system services when configuring internal company processes.
    You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
    Hope this helps,
    Mike

Maybe you are looking for