How to remove duplicates records from output ?

how to remove duplicates records from output ?  i used delete adjacent but duplicates records are coming again ..suggest me

hi shruthi,
thanks for ur answer ..but duplicates records coming again
here is my code >> plz check it out
*& Report  ZCRM_TROUBLE_TICKET
REPORT  zcrm_trouble_ticket.
TYPES : BEGIN OF ty_qmih,
        qmnum TYPE qmnum,
        equnr TYPE equnr,
        iloan TYPE iloan,
        ausvn TYPE ausvn,
        ausbs TYPE ausbs,
        auztv TYPE auztv,
        auztb TYPE auztb,
        iwerk TYPE iwerk,
        END OF ty_qmih,
        BEGIN OF ty_qmel,
        qmnum TYPE qmnum,
        qmtxt TYPE qmtxt,
        indtx TYPE indltx,
        priok TYPE priok,
        strmn TYPE strmn,
        strur TYPE strur,
        ltrmn TYPE ltrmn,
        ltrur TYPE ltrur,
        objnr TYPE qmobjnr,
        arbpl TYPE lgwid,
        vkorg TYPE vkorg,
        vtweg TYPE vtweg,
        spart TYPE spart,
        END OF ty_qmel,
        BEGIN OF ty_ihpa,
        parnr TYPE i_parnr,
        parvw TYPE parvw,
        objnr TYPE qmobjnr,
        END OF ty_ihpa,
        BEGIN OF ty_crhd,
        arbpl TYPE arbpl,
        objid TYPE cr_objid,
        END OF ty_crhd,
        BEGIN OF ty_crtx,
        ktext TYPE cr_ktext,
        objid TYPE cr_objid,
        END OF ty_crtx,
        BEGIN OF ty_qmfe,
        fecod TYPE fecod,
        fegrp TYPE fegrp,
        qmnum TYPE qmnum,
        END OF ty_qmfe,
        BEGIN OF ty_qmur,
        urcod TYPE urcod,
        urgrp TYPE urgrp,
        urtxt TYPE urstx,
        qmnum TYPE qmnum,
        END OF ty_qmur,
        BEGIN OF ty_iloa,
        tplnr TYPE tplnr,
        iloan TYPE iloan,
        END OF ty_iloa,
        BEGIN OF ty_output,
        qmnum TYPE qmnum,
        equnr TYPE equnr,
       iloan TYPE iloan,
        ausvn TYPE ausvn,
        ausbs TYPE ausbs,
        auztv TYPE auztv,
        auztb TYPE auztb,
        iwerk TYPE iwerk,
        qmtxt TYPE qmtxt,
        indtx TYPE indltx,
        priok TYPE priok,
        strmn TYPE strmn,
        strur TYPE strur,
        ltrmn TYPE ltrmn,
        ltrur TYPE ltrur,
       objnr TYPE qmobjnr,
       arbpl TYPE lgwid,
        vkorg TYPE vkorg,
        vtweg TYPE vtweg,
        spart TYPE spart,
        parnr TYPE i_parnr,
        parvw TYPE parvw,
        arbpl TYPE arbpl,
       objid TYPE cr_objid,
       arbpl1 TYPE arbpl,
        ktext TYPE cr_ktext,
        fecod TYPE fecod,
        fegrp TYPE fegrp,
        urcod TYPE urcod,
        urgrp TYPE urgrp,
        urtxt TYPE urstx,
        tplnr TYPE tplnr,
        END OF ty_output.
DATA : it_qmih TYPE STANDARD TABLE OF ty_qmih,
       it_qmel TYPE STANDARD TABLE OF ty_qmel,
       it_ihpa TYPE STANDARD TABLE OF ty_ihpa,
       it_crhd TYPE STANDARD TABLE OF ty_crhd,
       it_crtx TYPE STANDARD TABLE OF ty_crtx,
       it_qmfe TYPE STANDARD TABLE OF ty_qmfe,
       it_qmur TYPE STANDARD TABLE OF ty_qmur,
       it_iloa TYPE STANDARD TABLE OF ty_iloa,
       it_output TYPE STANDARD TABLE OF ty_output,
       wa_qmih TYPE ty_qmih,
       wa_qmel TYPE ty_qmel,
       wa_ihpa TYPE ty_ihpa,
       wa_crhd TYPE ty_crhd,
       wa_crtx TYPE ty_crtx,
       wa_qmfe TYPE ty_qmfe,
       wa_qmur TYPE ty_qmur,
       wa_iloa TYPE ty_iloa,
       wa_output TYPE ty_output.
INITIALIZATION.
  REFRESH : it_qmih,
            it_qmel,
            it_ihpa,
            it_crhd,
            it_crtx,
            it_qmfe,
            it_qmur,
            it_iloa,
            it_output.
  CLEAR:     wa_qmih,
             wa_qmel,
             wa_ihpa,
             wa_crhd,
             wa_crtx,
             wa_qmfe,
             wa_qmur,
             wa_iloa,
             wa_output.
start-of-selection.
  SELECT  qmnum
          equnr
          iloan
          ausvn
          ausbs
          auztv
          auztb
          iwerk
          FROM qmih
          INTO  TABLE it_qmih.
  SORT it_qmih BY qmnum .
  DELETE ADJACENT DUPLICATES FROM it_qmih COMPARING qmnum equnr iloan ausvn ausbs auztv auztb iwerk.
  SELECT   qmnum
           qmtxt
           indtx
           priok
           strmn
           strur
           ltrmn
           ltrur
           objnr
           arbpl
           vkorg
           vtweg
           spart
           FROM qmel
           INTO TABLE it_qmel
           FOR ALL ENTRIES IN it_qmih
           WHERE qmnum = it_qmih-qmnum.
  SORT it_qmel BY qmnum.
  DELETE ADJACENT DUPLICATES FROM it_qmel COMPARING  qmnum
                                                     qmtxt
                                                     indtx
                                                     strmn
                                                     strur
                                                     ltrmn
                                                     ltrur
                                                     objnr
                                                     arbpl
                                                     vkorg
                                                     vtweg
                                                     spart.
  IF it_qmel IS NOT INITIAL.
    SELECT parnr
           parvw
           objnr
           FROM ihpa
           INTO TABLE it_ihpa
           FOR ALL ENTRIES IN it_qmel
           WHERE objnr = it_qmel-objnr.
  ENDIF.
  DELETE ADJACENT DUPLICATES FROM it_ihpa COMPARING  parnr
                                                     parvw
                                                     objnr.
  IF it_qmel IS NOT INITIAL.
    SELECT arbpl
           objid
           FROM crhd
           INTO TABLE it_crhd
           FOR ALL ENTRIES IN it_qmel
           WHERE objid = it_qmel-arbpl.
  ENDIF.
  DELETE ADJACENT DUPLICATES FROM it_crhd COMPARING  arbpl
                                                     objid.
  IF it_qmel IS NOT INITIAL.
    SELECT ktext
           objid
           FROM crtx
           INTO TABLE it_crtx
           FOR ALL ENTRIES IN it_crhd
           WHERE objid = it_crhd-objid.
  ENDIF.
  DELETE ADJACENT DUPLICATES FROM it_crtx COMPARING ktext
                                                    objid.
  IF it_qmih IS NOT INITIAL.
    SELECT fecod
           fegrp
           qmnum
           FROM qmfe
           INTO TABLE it_qmfe
           FOR ALL ENTRIES IN it_qmih
           WHERE qmnum = it_qmih-qmnum.
  ENDIF.
  SORT it_qmfe BY qmnum.
  DELETE ADJACENT DUPLICATES FROM it_qmfe COMPARING fecod
           fegrp.
  IF it_qmih IS NOT INITIAL.
    SELECT urcod
           urgrp
           urtxt
           qmnum
           FROM qmur
           INTO TABLE it_qmur
           FOR ALL ENTRIES IN it_qmih
           WHERE qmnum = it_qmih-qmnum.
  ENDIF.
  SORT it_qmur BY qmnum.
  DELETE ADJACENT DUPLICATES FROM  it_qmur COMPARING urcod
                                                     urgrp
                                                     urtxt.
  IF it_qmih IS NOT INITIAL.
    SELECT  tplnr
            iloan
            FROM iloa
            INTO TABLE it_iloa
            FOR ALL ENTRIES IN it_qmih
            WHERE iloan = it_qmih-iloan.
  ENDIF.
  DELETE ADJACENT DUPLICATES FROM it_iloa COMPARING tplnr
                                                    iloan.
  LOOP AT it_qmih INTO wa_qmih.
    wa_output-qmnum = wa_qmih-qmnum.
    wa_output-equnr = wa_qmih-equnr.
   wa_output-iloan = wa_qmih-iloan.
    wa_output-ausvn = wa_qmih-ausvn.
    wa_output-ausbs = wa_qmih-ausbs.
    wa_output-auztv = wa_qmih-auztv.
    wa_output-auztb = wa_qmih-auztb.
    wa_output-iwerk = wa_qmih-iwerk.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_qmel INTO wa_qmel WITH KEY qmnum = wa_qmih-qmnum.
    wa_output-qmtxt = wa_qmel-qmtxt.
    wa_output-indtx = wa_qmel-indtx.
    wa_output-priok = wa_qmel-priok.
    wa_output-strmn = wa_qmel-strmn.
    wa_output-strur = wa_qmel-strur.
    wa_output-ltrmn = wa_qmel-ltrmn.
    wa_output-ltrur = wa_qmel-ltrur.
   wa_output-objnr = wa_qmel-objnr.
   wa_output-arbpl = wa_qmel-arbpl.
    wa_output-vkorg = wa_qmel-vkorg.
    wa_output-vtweg = wa_qmel-vtweg.
    wa_output-spart = wa_qmel-spart.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_ihpa INTO wa_ihpa WITH KEY objnr = wa_qmel-objnr.
    wa_output-parnr = wa_ihpa-parnr.
    wa_output-parvw = wa_ihpa-parvw.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_crhd INTO wa_crhd WITH KEY objid = wa_qmel-arbpl.
    wa_output-arbpl = wa_crhd-arbpl.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_crtx INTO wa_crtx WITH KEY objid = wa_crhd-objid.
    wa_output-ktext = wa_crtx-ktext.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_qmfe INTO wa_qmfe WITH KEY qmnum = wa_qmih-qmnum.
    wa_output-fecod = wa_qmfe-fecod.
    wa_output-fegrp = wa_qmfe-fegrp.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_qmur INTO wa_qmur WITH KEY qmnum = wa_qmih-qmnum.
    wa_output-urcod = wa_qmur-urcod.
    wa_output-urgrp = wa_qmur-urgrp.
    wa_output-urtxt = wa_qmur-urtxt.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
    READ TABLE it_iloa INTO wa_iloa WITH KEY iloan = wa_qmih-iloan.
    wa_output-tplnr = wa_iloa-tplnr.
    APPEND wa_output TO it_output.
    CLEAR wa_output.
  ENDLOOP.
  DELETE ADJACENT DUPLICATES FROM it_output  COMPARING        qmnum
                                                              equnr
                                                              ausvn
                                                              ausbs
                                                              auztv
                                                              auztb
                                                              iwerk
                                                              qmtxt
                                                              indtx
                                                              priok
                                                              strmn
                                                              strur
                                                              ltrmn
                                                              ltrur
                                                              vkorg
                                                              vtweg
                                                              spart
                                                              parnr
                                                              parvw
                                                              arbpl
                                                              ktext
                                                              fecod
                                                              fegrp
                                                              urcod
                                                              urgrp
                                                              urtxt
                                                              tplnr.
*CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
  CLIENT                  = SY-MANDT
  FLG_USER_STAT           = ' '
   objnr                   =
  ONLY_ACTIVE             = 'X'
   spras                   = en
  BYPASS_BUFFER           = ' '
IMPORTING
  ANW_STAT_EXISTING       =
  E_STSMA                 =
  LINE                    =
  USER_LINE               =
  STONR                   =
EXCEPTIONS
  OBJECT_NOT_FOUND        = 1
  OTHERS                  = 2
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*CALL FUNCTION 'READ_TEXT'
EXPORTING
  CLIENT                        = SY-MANDT
   id                            =
   language                      =
   name                          =
   object                        =
  ARCHIVE_HANDLE                = 0
  LOCAL_CAT                     = ' '
IMPORTING
  HEADER                        =
tables
   lines                         =
EXCEPTIONS
  ID                            = 1
  LANGUAGE                      = 2
  NAME                          = 3
  NOT_FOUND                     = 4
  OBJECT                        = 5
  REFERENCE_CHECK               = 6
  WRONG_ACCESS_TO_ARCHIVE       = 7
  OTHERS                        = 8
*IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
*LOOP AT IT_OUTPUT INTO WA_OUTPUT.
*WRITE : / WA_OUTPUT-qmnum,
         WA_OUTPUT-equnr,
         WA_OUTPUT-iloan,
         WA_OUTPUT-ausvn,
         WA_OUTPUT-ausbs,
         WA_OUTPUT-auztv,
         WA_OUTPUT-auztb,
         WA_OUTPUT-qmtxt,
         WA_OUTPUT-indtx,
         WA_OUTPUT-strmn,
         WA_OUTPUT-strur,
         WA_OUTPUT-ltrmn,
         WA_OUTPUT-ltrur,
         WA_OUTPUT-objnr,
         WA_OUTPUT-arbpl,
         WA_OUTPUT-parnr,
         WA_OUTPUT-parvw,
         WA_OUTPUT-objid,
         WA_OUTPUT-ktext,
         WA_OUTPUT-fecod,
         WA_OUTPUT-fegrp,
         WA_OUTPUT-urcod,
         WA_OUTPUT-urgrp,
         WA_OUTPUT-urtxt,
         WA_OUTPUT-tplnr.
*ENDLOOP.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
  BIN_FILESIZE                    =
      filename                        = 'E:\CRM1.TXT'
  FILETYPE                        = 'ASC'
  APPEND                          = ' '
     write_field_separator           = '|'
  HEADER                          = '00'
  TRUNC_TRAILING_BLANKS           = ' '
  WRITE_LF                        = 'X'
  COL_SELECT                      = ' '
  COL_SELECT_MASK                 = ' '
  DAT_MODE                        = ' '
  CONFIRM_OVERWRITE               = ' '
  NO_AUTH_CHECK                   = ' '
  CODEPAGE                        = ' '
  IGNORE_CERR                     = ABAP_TRUE
  REPLACEMENT                     = '#'
  WRITE_BOM                       = ' '
  TRUNC_TRAILING_BLANKS_EOL       = 'X'
  WK1_N_FORMAT                    = ' '
  WK1_N_SIZE                      = ' '
  WK1_T_FORMAT                    = ' '
  WK1_T_SIZE                      = ' '
  WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
IMPORTING
  FILELENGTH                      =
    TABLES
      data_tab                        = it_output
  FIELDNAMES                      =
EXCEPTIONS
  FILE_WRITE_ERROR                = 1
  NO_BATCH                        = 2
  GUI_REFUSE_FILETRANSFER         = 3
  INVALID_TYPE                    = 4
  NO_AUTHORITY                    = 5
  UNKNOWN_ERROR                   = 6
  HEADER_NOT_ALLOWED              = 7
  SEPARATOR_NOT_ALLOWED           = 8
  FILESIZE_NOT_ALLOWED            = 9
  HEADER_TOO_LONG                 = 10
  DP_ERROR_CREATE                 = 11
  DP_ERROR_SEND                   = 12
  DP_ERROR_WRITE                  = 13
  UNKNOWN_DP_ERROR                = 14
  ACCESS_DENIED                   = 15
  DP_OUT_OF_MEMORY                = 16
  DISK_FULL                       = 17
  DP_TIMEOUT                      = 18
  FILE_NOT_FOUND                  = 19
  DATAPROVIDER_EXCEPTION          = 20
  CONTROL_FLUSH_ERROR             = 21
  OTHERS                          = 22
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

Similar Messages

  • How we remove duplicate segments from an idoc

    how we remove duplicate segments from an idoc.

    Hi Manju.
    Go to T-code WE19------->Give your Existing Idoc Number or Basic Type --->Get in Select your (Nodes) segment and Click on "Delete Indicator"
    Regards,
    Seegal

  • HT2905 How to remove duplicate songs from the iPhone when the duplicates are not listed in the iTunes library on the computer.

    How can I remove duplicate songs from the iPhone4. The duplicates are not listed in the computer iTunes library.

    The simplest thing may be to back-up and then restore the iPhone. If you don't fancy that then remove all media that is currently synced to it, then double check and manually remove any media that remains on the device, before reselecting your sync options.
    If you've been manually managing the device and your library doesn't contain copies of all your media then see Recover your iTunes library from your iPod or iOS device.
    tt2

  • How to Remove a record from PER_ALL_PEOPLE_F

    Dear All,
    I want to remove a record from per_all_people_f, the employee record exist in the table but not shown on the people screen. Do I need to use any API for that or simple SQL command?
    Please help asap.
    Regard.

    Hi,
    What responsibility have you logged in as ?
    Is the security profile attached to that responsibility properly defined so that all employees can be viewed ?
    Does the record in the table show an end-date of 31-dec-4712 ?
    If the data in the table is fine, then it has to be an issue with security of the responsibility.
    Cheers,
    Vignesh

  • How to remove duplicate records? Please help!

    ^
    Dear Friends
    I am new comer to this forum and had a simple SQL question. I would appreciate if anyone can help.
    Many Thanx!
    [email protected]
    The Question:
    Suppose we have some interviewers who specify the times they are available. At each interview 2 interviewers must be present.
    A relation is set up to contain the available times for each interviewer, which has these fields: interviewerID, date, time. For example:
    1, 14/12/04, 9:00-10:00
    1, 14/12/04, 12:00-1:00
    2, 12/11/04, 11:00-12:00
    etc.
    Then how can we write a SQL query that produces the times during which 2 interviewers are available?
    A Possible Answer:
    The following query produces the times during which 2 interviewers are available, however it has duplicate records:
    SELECT a1.interviewerID, a2.interviewerID, a1.date, a1.time
    FROM AvailabileTimes as a1, AvailableTimes as a2
    WHERE a1.date = a2.date AND a1.time = a2.time AND a1.interviewerID <> a2.interviewerID
    An example of the output is:
    1, 2, 12/12/04, 10:00-11:00
    1, 3, 14/10/03, 12:00-1:00
    2, 1, 12/12/04, 10:00-11:00
    etc.
    where line 3 is a duplicate of line 1 (only the place of interviewerID is changed)

    Thanx scott for your quick reply!!
    this solves the problem for now, and is a very good idea!
    But I was told this might have problems if interviewID field is later changed to something that contains letters instead of a pure numeric value e.g. staffAB-01-ZC.
    Do you know what I should do to have a long term solution?

  • How to remove duplicate songs from Itunes

    I've consolidates my music in Itunes 11.01. Playlists are just getting crazy with duplicates.
    I want to eliminate duplicate music files, as well as eliminate the references in the interface.
    Then sync my new IPad.
    When I manually erase a duplicate in Windows Explorer, I'm left with a "!" indication in Itunes that the file cannot be found... duh.
    I want to find either an easier way to eliminate duplicates without Windows Explorer, or
    a way to select all the "!" references in Itunes interface and delete.
    Help please from a completely organized person who hates Apples "intelligence" at thinking it knows what I want, and not providing
    adequate help under "remove duplicates" in its help index.
    Thanks.

    How to find and remove duplicate items in your iTunes library - http://support.apple.com/kb/HT2905
    Posts by turingtest2 about different types of duplicates and techniques - https://discussions.apple.com/thread/3555601 and https://discussions.apple.com/message/16042406 (Note: The DeDuper script is for Windows).
    May 2014 post on iCloud duplicates - https://discussions.apple.com/message/25867873
    Show exact duplicates (Mac and Windows) - https://discussions.apple.com/message/16951281
    http://dougscripts.com/itunes/itinfo/dupin.php (commercial)
    iTunes Duplicate Song Manager - http://sourceforge.net/projects/itunesdsm/
    http://www.hardcoded.net/dupeguru_me/
    http://www.wideanglesoftware.com/tunesweeper/index.php
    http://www.araxis.com/find-duplicate-files (commercial, free trial) - finds duplicate files on computer, not specifically iTunes
    I would do it manually.  As you can see from turingtest2's post, some duplicates are not really duplicates.
    I would also review how you add media to iTunes.  It should not be producing all that many duplicates.

  • How to remove duplicate emails from mac mail

    i have moved my email message from outlook for mac 2011 and downloaded all the mails form 3 accounts of google app for business.
    now my mail box shows 60000 emails and is occupying more then 40GB. 50% of the mails in my mail box must be duplicate. I want to know how to remove the duplicate emails from my account.

    Apologies, this was posted here in error. Please find updated post here: https://discussions.apple.com/message/27261965#27261965

  • How to remove duplicate messages from Mail in Mavericks (POP)

    Hello
    I'm having some significant problems with Apple Mail, and despite having researched widely, I haven't been able to find a solution yet. Here is my tale of woe...
    My set up is that I use Mail with 5 separate accounts, downloading all messages using POP. I keep all my mail so that I have a permanent record of all conversations, going back more than 10 years - this is about 250,000 emails. I'm running the latest version of Mavericks on a 2010 MBP. I have no intention of moving to IMAP - I need to keep a local archive of all my mail.
    A few months ago I was having problems with Mail being very slow to load and search emails. I decided to rebuild the mailboxes, but afterwards discovered that thousands of messages in the inbox of one of my accounts (and some of the sub-folders) had disappeared. Once I realised I tried to go back to a recent Time Machine back up, but, for whatever reason, that part of the back up hadn't worked properly and I was unable to recover the previous status. Ileft it while I decided what to do, and had time to deal with it.
    The last 2 years worth of emails on that account were still archived on gmail, so last week I decided to try redownloading the whole lot (something like 72,000 messages), and then uplanned to use one of the scripts I was aware of to remove the duplicates to the trash, and then remove any duplicates in the trash forever. That ought to mean I at least had an archive of the last two years of missing messages, even if I had no record of which ones had been flagged or replied to, etc.
    The downloading took about 24 hours to complete, and I now have almost 70,000 messages in the inbox of that account. However, I hadn't figured on two things:
    1. Mail 'hides' duplicate messages, meaning that all of the messages I've downloaded are showing as unread, and I can't differentiate the ones I already had in my Inbox, and the new downloads. When I click on those apparently unread messages I can see if they have been replied to or forwarded, etc, but there's no obvious way for me to remove the ones I have already dealt with to the trash, without going through them all manually, which is clearly impossible.
    2. The scripts I'd found for removing duplicates don't work. Andreas Amann's Remove Duplicates script doesn't work under Mavericks, and he has abandoned the project. I've also tried the remove-duplicate-messages.scpt made by Jolly Roger (http://jollyroger.kicks-***.org/software/), and while it *sometimes* works on individual subfolders on my Mac (but as far as I can tell removes the duplicate in that folder, rather than the newly downloaded version), mostly it doesn't work at all - it creates a 'Remove Duplicate Messages' folder on my desktop, a log inside it and a folder for removed messages, but nothing appears in the duplicates folder.
    So, I'm left in a position where I have 70,000 apparently unread messages in my Inbox, a massively bloated Mail library (which has pretty much doubled in size), a slow and unresponsive Mail program. I figure I have a number of options. Either I could abandon the last week's efforts and revert to the version of

    Apologies, this was posted here in error. Please find updated post here: https://discussions.apple.com/message/27261965#27261965

  • How to remove duplicate entries from Settings General iTunes Wi-Fi Sync?

    On my iPhone under Settings > General > iTunes Wi-Fi Sync there is a duplicate entry for my Mac. One is active, the other one shows options greyed out, as if it can't see the Mac on the network (although it's the same name). Is there a way to manually remove that entry from the iPhone?
    I am running iOS 7.0.4, and OS X 10.9.1, iTunes 11.1.3 on the Mac.

    iPhone 3G doesn't support Wi-Fi sync or IOS 5.1.1. You have to connect to iTunes using the dock connector to sync.
    Unless you have a iPhone 3GS or jailbroken.

  • How to delete Duplicate records from the informatica target using mapping?

    Hi, I have a scenario like below: In my mapping I have a source, which may containg unique records or duplicate records. Source and target are different tables. I have a target in my mapping which contains duplicate records. Using Mapping I have to delete the duplicate records in the target table. Target table does not contain any surrogate key. We can use target table as a look up table, but target table cannot be used as source in the mapping. We cannot use post SQL.

    Hi All, I have multiple flat files which i need to load in a single table.I did that using indirect option at session level.But need to dig out on how to populate substring of header in name column in target table. i have two columns Id and Name. in all input file I have only one column 'id' with header like H|ABCD|Date. I need to populate target like below example. File 1                                    File2     H|ABCD|Date.                      H|EFGH|Date.1                                            42                                            5  3                                            6 Target tale: Id    Name1     ABCD2     ABCD3     ABCD4     EFGH5     EFGH6     EFGH can anyone help on what should be the logic to get this data in a table in informatica.

  • Mapping question - how to remove empty recordsets from output XML?

    Hello everyone!
    I have a mapping problem I hope you can help me out with.
    Here is an example of the source message:
    <IDOC>
    .    <HEAD>
    .    </HEAD>
    .    <DET>
    .    .    <Node>
    .    .    .    <nodeA>001</nodeA>
    .    .    .    <nodeB>OA</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeB>OB</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeA>002</nodeA>
    .    .    .    <nodeB>OC</nodeB>
    .    .    </Node>
    .    </DET>
    </IDOC>
    After testing the above XML in the message mapping, here's what my target looks like:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nB>
    .    .    .    <nA>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    "Node" in the "source" message is mapped to "Rec" in my "target" message.
    "Node=" -
    > "Rec"
    You may notice the the "Rec" in the second entry has empty fields. The reason this is so is because I put an "IF" condition in field "nA" and field "nB" that checks whether "nodeA" in the "source" exists/has a value, and if it doesn't, empty values should be given.
    Here's my problem, I need the XML output to be clean. All empty Recs should be removed from the Output XML so that it resembles the one below:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    I've tried several ways to get this done to no avail. Would anyone be able to help me out? I would really, really appreciate it!
    Warm regards,
    Glenn

    Hello,
    Here's how the Display Queue looks like from the "CreateIF"
    Default Context:
    0     [false]     [suppress]
    1     [false]     [suppress]
    2     [false]     [suppress]
    3     [true]     []
    4     [false]     [suppress]
    5     [true]     []
    6     [false]     [suppress]
    7     [false]     [suppress]
    8     [false]     [suppress]
    9     [true]     []
    10     [false]     [suppress]
    11     [false]     [suppress]
    12     [false]     [suppress]
    13     [true]     []
    14     [false]     [suppress]
    15     [false]     [suppress]
    16     [false]     [suppress]
    17     [true]     []
    18     [false]     [suppress]
    19     [false]     [suppress]
    20     [false]     [suppress]
    21     [true]     []
    CreateIF Context up one notch:
    0     [false]     [suppress]
    1     [true]     []
    2     [true]     []
    3     [true]     []
    4     [true]     []
    5     [true]     []
    6      [true]     []     
    7     [true]     []
    8     [false]     [suppress]
    9     [false]     [suppress]
    10     [false]     [suppress]
    11     [false]     [suppress]
    Here's how the Display Queue looks like from the "NodeA"
    SUPPRESS     [false]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [true]
    [0000000252]     [false]
    [0000000252]     [true]
    SUPPRESS     [false]
    [0000000078]     [false]
    [0000000078]     [false]
    SUPPRESS     [true]
    [0000000109]     [false]
    [0000000109]     [false]
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000292]     [false]
    SUPPRESS     [false]
    [0000000076]     [false]
    [0000000076]     [true]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [false]
    SUPPRESS     [true]
    SUPPRESS     [false]
    NodeA context one notch up:
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000078]     [true]
    [0000000109]     [true]
    [0000000292]     [true]
    [0000000076]     [true]
    [0000000292]     [true]
    [0000000074]     [true]
    [0000000077]     [true]
    [0000000081]     [true]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000081]     [true]
    [0000000081]     [false]
    SUPPRESS
    Hope that helps you help me!
    Glenn

  • How to remove duplicate friends from games in game center lists

    In one of my Games it lists multiple duplications of friends for that specific game. How do you delete these extra "listings" for these people. I dont really want have to delete them altogether and go through the process of reinviting.

    I've tried signing out and back in again. It doesn't do anything. I still get the unnecesarily long list of duplicate phone numbers and have 2 or 3 of them randomly tick marked. I've tried this multiple times, it doesn't get rid of them at all. As far as I'm concerned, my friends do receive my iMessage from my number rather than my email. I just find it a nuisance to have such a long list of my phone number 25 times over. I don't think it affects anything though, but any way to get rid of them would be great.
    Also, it's been 3 days and it still says "waiting for activation" on my iMessage and Facetime settings. How long does this take? As far as I know, my friends have told me iMessaging with me is flawless but I'm confused as to why it's still trying to activate.

  • How can i duplicate records from a flat file to a cube

    Hi all,
    i got the next problem, i m loading a flat file, fur example:
    Material KF1 KF2
    A 10 12
    B 25 30
    01 02
    I Need duplicate the records for material A and B but with the values of Not assign, in other words the result in the cube would be like this:
    Material KF1 KF2
    A 10 12
    B 25 30
    01 02
    A 01 02
    B 01 02
    How can i do this, i know this must be a rutine, but where in the star? final? expert rutine? and how would be the code to do it, help guys and thanks!

    you can use end routine to accomplish that...
    hope the below code helps...
    DATA : IT_RESULT_PACKAGE LIKE TABLE OF RESULT_PACKAGE.
    DATA : WA_RESULT_PACKAGE LIKE RESULT_PACKAGE.
    SORT RESULT_PACKAGE BY MATERIAL.
    IT_RESULT_PACKAGE[] = RESULT_PACKAGE[].
    LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
    READ TABLE RESULT_PACKAGE INTO WA_RESULT_PACKAGE WITH KEY MATERIAL IS INITIAL BINARY SEARCH.
    IF SY-SUBRC = 0.
    WA_RESULT_PACKAGE-MATERIAL = <RESULT_FIELDS>-MATERIAL.
    APPEND WA_RESULT_PACKAGE INTO IT_RESULT_PACKAGE.
    CLEAR WA_RESULT_PACKAGE.
    ENDIF.
    ENDLOOP.
    CLEAR RESULT_PACKAGE[].
    RESULT_PACKAGE[] = IT_RESULT_PACKAGE[].
    this code will be suitable only if the material as unique entry with initial value...
    else you would require to use a loop statement instead of the read statement which has been used...
    rgds, Ghuru

  • Removing Duplicate records from this result set

    Here is a challenge question that I was playing with one my free time during work.
    I assume that you have the HR sample database somewhere around (hopefully not in production).
    Let us say that you want to get employees from the employees table whose last name is similar to some other employee last name.
    The easiest way is to join the two tables with a join condition that checks for the last name and the employee id. Here is what I came up with.
    select e1.last_name a , e1.first_name b, e2.last_name c, e2.first_name d
    from employees e1 join employees e2
    on ( e1.last_name = e2.last_name and e1.employee_id <> e2.employee_id)
    order by a;
    The above query returns 10 rows. The first and second are essentially the same. The same applies of 3&4, 5&6, 7&8, and 9&10. The question is: is there any way that allow me to get rid of the duplicate rows using sql only from the result set of this query. I sat on it for 15 minutes and I could not figure it out. I will try looking at again after my work is over.

    Example:
    SQL> column a format a10
    SQL> column b format a10
    SQL> column c format a10
    SQL> column d format a10
    SQL>
    SQL>
    SQL> select e1.last_name a , e1.first_name b, e2.last_name c, e2.first_name d
      2  from employees e1 join employees e2
      3  on ( e1.last_name = e2.last_name and e1.employee_id != e2.employee_id)
      4  where e1.employee_id < e2.employee_id
      5  order by a;
    A          B          C          D
    Cambrault  Gerald     Cambrault  Nanette
    Grant      Kimberely  Grant      Douglas
    King       Steven     King       Janette
    Smith      Lindsey    Smith      William
    Taylor     Jonathon   Taylor     Winston
    SQL>

  • How to remove duplicate addresses from address book

    My mac os x address book ( the one after clicking on "WRITE) shows a number of contacts several times and I can't delete the extra ones. When I right click them and hit delete and confirm, they just stay there highlighted.

    I don't have a Mac and I've never used one, so this is somewhat hearsay.
    For a long time, the Mac address book was read-only in Thunderbird. So to manage it, you'd have to access it via whatever tools OSX offers you for this.
    ISTR that in a recent Thunderbird, this might have been fixed, so it is possible that it should now be able to edit and delete OSX address book entries from within Thunderbird.
    Another possibility is that Thunderbird's own address book is corrupted. The usual symptom is that users can edit their Contacts, but when Thunderbird is closed and restarted, it reverts to the state it was in prior to the editing. That is, the changes weren't written to disk. I'm not confident this applies to you, as you don't seem able to make ''any'' changes.
    As a check, if you drag a Contact from the OSX address book to one of Thunderbird's native address books, are you then able to edit the copy? (If you hold down control {command?} while dragging, it should make a copy. If it doesn't have write permission on the OSX address book, it will copy regardless, since it isn't permitted to delete the original in the OSX address book.)
    One way to fix a corrupt address book is to export it and import to a new address book. Ideally you would also close Thunderbird, locate the broken address book file in Thunderbird's profile and delete it.
    There is some advice [http://chrisramsden.vfast.co.uk/11_Thunderbird_Settings_and_the_Profile.html here] about exporting and importing address books.

Maybe you are looking for

  • Duplicate function definition error on buttons

    Hi there! Ok first I'm a complete beginner when it comes to Flash so please bare with me. What I'm looking to do is create a banner that transitions between different photos while there are small square buttons on the side that when the user clicks o

  • How to update order quantity using the fn BAPI_SALESORDER_CHANGE

    Hi experts, I have a requirement that, when the quantity in the delivery is edited manually , the order quantity  in the sales order should be updated automatically. can we achieve that using the Function module BAPI_SALESORDER_CHANGE? if so, kindly

  • Open an .img file - "Not Recognized"

    I have some files that were made (I assume, a while ago) into a .img file. When I double click them, some mount and copy just fine, but others will pop up a Warning window that says: The Following disk images failed to mount Under the Image menu, it

  • Any tool or shortcut to get SQL tuning suggestion???????

    Hi I have to tune an application and need to go throught alot many SQL their PLAN and ti tune them. I want to know ether is there any tool online or may be from oracle to get the tuning suggestions straighytway.my oracle version is 9206 Can i use 10g

  • How to add event in Date type bean

    Hi, I have created two date items - start date and end date. now I want to add event in these items? how can I add event in date type bean? Pls help.. Thanks Amit