How to identify the follow up relationship between two service ticket

Hi Folks,
How to identify the follow up relationship between two service ticket ?
Please help me on this...
Regards,
Shashi K, Reddy

Hi Pepe !
Thank you for the answer, but I dont find this structure ET_DOC_FLOW.....
Please let me know is that structure is correct ......
Regards,
Shashi K, Reddy
shashikumarreddy at gmail dot com

Similar Messages

  • How to calculate the no. of weekdays between two active dates

    Hi all,
    I need to calculate the no. of weekdays between two days.
    For Example:
    If i want to know the number of weekdays between 17-NOV-2008 to 7-DEC-2008 its 10 excluding sat and sun.
    how to do that if the period is more?
    like 1-JAN-2006 to 12-APR-2007
    Thanks in advance..
    Regards,
    Manoj

    NEXT_DAY(start_date - 1,'SUNDAY') is first sunday >= start_date. NEXT_DAY(end_date - 7,'SUNDAY') is last Sunday <= end_date. Therefore:
    (NEXT_DAY(end_date - 7,'SUNDAY') - NEXT_DAY(start_date - 1,'SUNDAY')) / 7 + 1 is number of Sunday's between start_date and end_date. Same way:
    (NEXT_DAY(end_date - 7,'SATURDAY') - NEXT_DAY(start_date - 1,'SATURDAY')) / 7 + 1 As a result, number of weekdays between start_date and end_date is:
    business_day_count := end_date - start_date + 1 -((NEXT_DAY(end_date - 7,'SUNDAY') - NEXT_DAY(start_date - 1,'SUNDAY')) / 7 + 1 + (NEXT_DAY(end_date - 7,'SATURDAY') - NEXT_DAY(start_date - 1,'SATURDAY')) / 7 + 1) or
    business_day_count := end_date - start_date - 1 -(NEXT_DAY(end_date - 7,'SUNDAY') - NEXT_DAY(start_date - 1,'SUNDAY')) / 7 - (NEXT_DAY(end_date - 7,'SATURDAY') - NEXT_DAY(start_date - 1,'SATURDAY')) / 7 or:
    SELECT end_date - start_date - 1 -(NEXT_DAY(end_date - 7,'SUNDAY') - NEXT_DAY(start_date - 1,'SUNDAY')) / 7 - (NEXT_DAY(end_date - 7,'SATURDAY') - NEXT_DAY(start_date - 1,'SATURDAY')) / 7 FROM DUAL; The above code assumes business day count between two dates includes both start and end dates. Keep in mind, the above code is NLS dependent.
    SY.

  • How to identify the follow control in form

    a person who can write the trigger in the write place the form is going to be a successful one so please guide me how to know about the follow of control in form

    You cannot learn Forms by asking questions on a forum. You will need to do training.
    This can either be instructor-led (a classroom type experience) or computer based (a CD-ROM or website that walks you through the course with examples). But it's the only way you're going to be a successful Forms Developer.
    My helpful tip of the day: Do not confuse WHEN-NEW-RECORD-INSTANCE with WHEN-CREATE-RECORD.

  • How to implement one to many relationship between two Document Line Table

    Hi,
    I want to implement the following relationship into user defined tables:
    Example Situation:
    There are tables A, B and C.
    For one record of Table A, there could be multiple records in table B.
    For one record of Table B, there could be multiple records in table C.
    i.e. A(1) -> B(n) [One to many relationship]
         B(1) -> C(n) [One to many relationship]
    finally: A(1) -> B(n) -> C(n)
    How can I achieve this? If I make Table A as Document and table B & C as Document Line and then make them UDO, will it work? Kindly suggest me a solution.
    Regards,
    Sudeshna.

    Hi,
    I think that the database representation is exactly what you ask for. 3 tables, A, B, C. A should have a UDF that is linked to B table, and B should have a UDF that is linked to C table.
    You should manage the database transactions, and the UI to support all this stuff.
    Regards,
    IBai Peñ

  • How to delete the duplicate data in between two distinct rows in SQL?

    Hi,
    I need to identify the duplicate data with two distinct rows. See my data structure below.
    NAME NAME_1 VALUE START_DATE END_DATE FLAG INDEX
    SUR SE 275 13/12/2005 31/12/2010 B 1
    SUR SE 375 A 1
    SUR SE 475 A 1
    SUR SE 275 13/12/2005 31/12/2010 B 2
    SUR SE 375 A 2
    SUR SE 475 A 2
    SUR SE 175 13/12/2006 31/12/2010 B 3
    SUR SE 375 A 3
    SUR SE 475 A 3
    This is my sample data. Here data are duplicate with different index columns. INDEX 1 and 2 contains same group of combination. So i need to identify any one of duplicate combination(i.e INDEX 1 or 2). Can anyone come up with exact solution?
    Thanks

    Try this:
    with test_table as
    (select 'SUR' NAME, 'SE' NAME_1, 275 VALUE, '13/12/2005' START_DATE, '31/12/2010' END_DATE, 'B' FLAG, 1 IND from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 275, '13/12/2005' ,'31/12/2010' ,'B', 2 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 175, '13/12/2006', '31/12/2010', 'B', 3 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 3 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 3 from dual )
    select t.*,
           CASE WHEN START_DATE IS NULL THEN
             first_value(row_number) OVER (PARTITION BY NAME, NAME_1, IND ORDER BY START_DATE)
           ELSE
             row_number
           END row_number
    from (
    SELECT t.*,
           CASE WHEN START_DATE IS NOT NULL THEN
             row_number() over(PARTITION BY NAME, NAME_1,VALUE, START_DATE, END_DATE, FLAG
                               ORDER BY IND)
           END row_number
      FROM test_table t) t
    order by IND, start_dateNote that this is only checking for diferences in the rows where start_date is not null. Do you want to also check if the records where start_date is null it there are differences? If so you can do this:
    with test_table as
    (select 'SUR' NAME, 'SE' NAME_1, 275 VALUE, '13/12/2005' START_DATE, '31/12/2010' END_DATE, 'B' FLAG, 1 IND from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 1 from dual union all
    select 'SUR', 'SE', 275, '13/12/2005' ,'31/12/2010' ,'B', 2 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 2 from dual union all
    select 'SUR', 'SE', 175, '13/12/2006', '31/12/2010', 'B', 3 from dual union all
    select 'SUR', 'SE', 375, null, null, 'A', 3 from dual union all
    select 'SUR', 'SE', 475, null, null, 'A', 3 from dual )
    SELECT t.*,
           MIN(row_number) OVER(PARTITION BY NAME, NAME_1, IND) MIN
      FROM (SELECT t.*,
                   row_number() over(PARTITION BY NAME, NAME_1, VALUE,
                                                  START_DATE, END_DATE, FLAG
                                         ORDER BY IND) row_number
              FROM test_table t) t
    ORDER BY IND,
              start_date;Edited by: Manuel Vidigal on 13/Abr/2009 12:05

  • How to calculate the number of months between two string as yyyymm

    Dear all,
    I have two month string like yyyymm e.g. 201003 -- 201105. Now I want to calculate the number of months bertween these two month string? How can I do that? Thanks.

    888099 wrote:
    Hi,
    Hope this will help :
         public static void main(String[] args) {
              Calendar cal1 = new GregorianCalendar(2010, 02, 01);
              Calendar cal2 = new GregorianCalendar(2011, 04, 01);
              int years = cal1.get(Calendar.YEAR) - cal2.get(Calendar.YEAR);
              int months = cal1.get(Calendar.MONTH) - cal2.get(Calendar.MONTH);
              System.out.println("number of months : "+Math.abs(years*12 + months));
         }Or with only Strings :
         public static void main(String[] args) {
              String s1 = "201002";
              String s2 = "201104";
              int years = Integer.valueOf(s1.substring(0,4)) - Integer.valueOf(s2.substring(0,4));
              int months = Integer.valueOf(s1.substring(4)) - Integer.valueOf(s2.substring(4));
              System.out.println("number of month : "+Math.abs(years*12 + months));
         }Edited by: 888099 on 28 sept. 2011 05:49Full code solutions will not help the OP, he will be back here with a different Date question. Posters here try to nudge the OP to figure out the solution himself.

  • How to stop the activity clipboard linkage between two transactions?

    Hi Experts,
    We are using CRM 2007. In CRM, since there is no check that the agent needs to work on transactions related to once customer at a time, our agents are able to work on different different transactions belonging to different customers one after another.
    As a result, transactions belonging to two different customers are getting linked in the Activity Clipboard of interaction Record as well as Service Order transactions.
    We need to place a check so that before the link is created, we can compare the customers of the two transactions and if they differ, we should not create the link. Can you please guide me where is the best place to put such a check?
    As per my analysis, we need to stop the doc flow being created if the transactions have different sold to/customer.
    Any pointers/suggestions?
    Thanks
    Rohit

    Hi Rohit
    Did you manage to get any solution to this?
    if you have, would appreciate if you could share the solution.
    Rgds
    Rusyinni

  • How to identify the data mismatch between inventory cube and tables?

    Hi experts,
    i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatch

    Hi
    U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
    Thanx & Regards,
    RaviChandra

  • How to get relationship between two  views in the  reports

    How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

    Hi,
    Please explain your question in detail...what do you want to read ?
    If you want to know about the navigation links between the views then you can use APIs  like
    wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
    Iterate through the navigationLinkInfo from above collection and can read the other properties .
    I haven't tried the above , but it should work !!!
    Regards,Anilkumar

  • Could you please tell me how to resolve the following import error? Thanks.

    Hi,
    When run the following command to import two tables:SPSSDMRESPONSE_LOG and SPSSSCORE_LOG, there are some error in the log. Could you please tell me how to resolve these error? Thanks.
    Command:
    imp S3SLORL10/Pass1234@SPSS file=/yhan/subTables.dmp ignore=y tables=SPSSDMRESPONSE_LOG,SPSSSCORE_LOG
    There are some error in the log file.
    The log file is:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    export client uses WE8MSWIN1252 character set (possible charset conversion)
    . importing S3SLORL10's objects into S3SLORL10
    . importing S3SLORL10's objects into S3SLORL10
    IMP-00061: Warning: Object type "S3SLORL10"."Info224_T" already exists with a different identifier
    "CREATE TYPE "Info224_T" TIMESTAMP '2011-09-21:06:54:13' OID 'A1F8D176EF2949"
    "07882153DE7E4CC9F9' AS OBJECT ("SYS_XDBPD$" "XDB"."XDB$RAW_LI"
    "ST_T","Response" "Response225_COLL","Property" "ModelOutput223_COLL")FINAL "
    "INSTANTIABLE "
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSDMRESPONSE_LOG" because object type "S3SLORL10"."Info224_T" cannot be created or has different identifier
    IMP-00061: Warning: Object type "S3SLORL10"."Metric214_COLL" already exists with a different identifier
    "CREATE TYPE "Metric214_COLL" TIMESTAMP '2011-09-20:09:56:02' OID '98999BF48"
    "84F4BAB81D391109E4BB823' AS VARRAY(2147483647) OF "nameValueT"
    "ype208_T""
    IMP-00063: Warning: Skipping table "S3SLORL10"."SPSSSCORE_LOG" because object type "S3SLORL10"."Metric214_COLL" cannot be created or has different identifier
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSDMRESPONSE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942:
    "ANALYZE TABLE "SPSSSCORE_LOG" ESTIMATE STATISTICS "
    IMP-00003: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    Import terminated successfully with warnings.

    *Import of table containing object type(s) fails with IMP-00061 IMP-00063 [ID 203822.1]*
    in short: search for the TOID_NOVALIDATE parameter

  • How to identify the right extractor

    hi all,
    i have a custom extractor(ABAP report) to pull the Std cost info into BW from R/3. I would like to remove this custom extractor and go for a generic one. Can anyone provide me the steps on how to identify the appropriate generic extractor.
    i know the underlying tables names....eg KEKO, KEPH etc

    Hi Vinod,
    There will no appropriate generic extractor as such. Generic Extration itself means creating a custom extractor. All you need to do is
    1.Goto RSO2, select the type of datasource(i.e transaction or Masterdata)
      and click on create
    2. Specify the table name, ( if you are pulling data from two tables then you have to create a view at Tcode se11, then you need specify that view here)
    3. click on generate
    This will generate the datasource
    You can refer the following doc for further assistance,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Thanks
    Vj

  • How to build "Greater/less or Equal" relationships between two tables?

    Hi,
    Is there any straightforward approachs to realize the following kind of relationships between two tables?
    Table1.process_end_date >= Table2.work_start_date and
    Table1.process_end_date <= Table2.work_end_date
    BTW, there's no common columns for these two tables to do simple joins (inner, outter...).
    Thanks.
    Regards,
    Qilong 

    Sure.
    Table.SelectRows filters a given table (in this case Table2) based on a function provided as the second argument.
    (table2Row) => is the start of our filter function. It defines a function that takes one argument, called table2Row. Each row of Table2 will be passed to this function. If the function returns true, the row will be kept. If the function returns false,
    the row will be filtered out.
    The right hand side of the => is the filter expression. Because we're adding the custom column to Table1, we can reference a field in the current row of Table1 using square brackets (e.g. [process_end_date]). To reference the fields in the current row
    of Table2, we have to index into the table2Row variable passed to our function (e.g. table2Row[work_start_date]).
    Hope that helps.
    Ehren

  • How to give relationship between two tables with comon column with between oprator

    Hi Folks,
    I am using Sql Server 2008R2. I am getting a problem to establish relationship between two tables. 
    I have two Tables, 1.Inventory Details Table another one is Inventory Header Table.
    Inventory Details Table having a column Card No and inventory Header Table having columns  From card No and To Card No.
    I want to give relationship between these two tables with Card no. Could you please provide me the Sql Query.
    Your help would be greatly appreciated .
    Regards
    hasthi.
    email:[email protected]

    Hi Raju,
     We have two way that we can relate to the table either join or quality condition use following syntax/Query  for relating two tables 
    select * from Inventory_Details ID inner join  Inventory_Header IH on ID.CardNo between IH.FrmCardno and IH.ToCardNo
    or 
    Select * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo=IH.CardNo OrSelect * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo between IH.FrmCardno and IH.ToCardNo
    Hope this will help you 
    Niraj Sevalkar

  • How to identify the no is prime or not ,no is more than 9 digit?

    how to identify the no is prime or not ,no is more than 9 digit?
    becaz long does not store more than 9 digit , like example
    long number=9876543218; // it will throw the compile time error
    so how to get this?

    It is too easy to understand whether the given value
    is prime or not.
    THe following code snippet does this .
         public boolean isPrime(int pr){
              int num = 0;
              for(int a = 2; a < pr; a++ ){
                   if(pr % a == 0)
                        num = 1;
              if(num == 1)
                   return false;
              else
                   return true;
         }(Simple eh)And if you end at the square root of pr you get a nice speedup. You can get a further speedup by changing the incrementation strategy (2x really easily, 6x if you start at 5 (explicit test for 2 and 3) and increment alternatively by 2 and 4), but that's not entirely necessary.
    ~Cheers

  • How to identify the textbox name if they are generated dynamically

    hi
    i want to know how to identify the textbox name when they are generated dynamically. the text boxes name may vary.
    if u know tell me.
    thanx

    Try the following Code :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </HEAD>
    <SCRIPT language="Javascript">
    function fnShowTextBoxNames()     {
         var count = document.formHeader.elements.length;
         for(i=0;i<count;i++)     {
              var objType = document.formHeader.elements.type;
              if(objType=="text")     {
                   alert("Name Of TEXTBOX NO "+(i+1)+" --> "+document.formHeader.elements[i].name);
    </SCRIPT>
    <BODY>
    <FORM name="formHeader">
    <CENTER>
    <INPUT TYPE="TEXT" name="box1" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box2" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box3" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box4" value="" >
    <br>
    <INPUT TYPE="TEXT" name="box5" value="" >
    <br><br>
    <input type="button" name="btn" value="Show TextBox Names" onClick="javascript:fnShowTextBoxNames();">
    </CENTER>
    <input type="hidden" name="boxCount" value="5"/>
    </FORM>
    </BODY>
    </HTML>
    Hope this suffice ur requirement !

Maybe you are looking for

  • Creating arrows to indicate specific point on a frame

    I am in the middle of a project using FCP HD and I need to create arrows to pint to specific body parts on either a photo or video. Is this something I have to do in photoshop or can I do this in FCP? I really have know idea how to go about doing thi

  • "Publish Error Can't create the file "shapeimage_2_link_0.png." The disk may be damaged or full, or you may not have sufficient access privileges."

    I have tried: Rebooting Mac Rebooting Iweb deleting cache deleteing plist in lib/pref publishing to local folder publishing to fresh space on web host repair disk permissions. No luck with anything it just will not upload! Help!

  • Checkbox group

    Hello, I have three checkboxes in a row. I select them, click Layout, and the Group commnd is grayed out. What is the secret to group objects so that you can only check one checkbox? Right now in the form all three checkboxes can be filled in. I've r

  • Getting the value of variable in a bean

    hi I have method in my class and I'm passing some values in it. example: public static boolean authenticate( String name, String passwd) //declare my variable boolean authorized = false; //do processing and set my variable if(name.equals("") || passw

  • Drag/Drop E-Learning Interaction

    I developed an e-learning module using the Drag/Drop Interaction. But I have several drag objects with only one target object- thanks to the instructional designer I'm working w/, and I'm not sure if Flash can function correctly w/ only one target ob