Help with duplicates

I have duplicates in my ical that show multiple entries on for each entry and birthday calendar.  How do I fix this.  Everything that I've read is not working thus far.

Duplicates is usually a result of having both iCloud syncing AND itunes syncing turned on.  In iTunes, when your device is connected, check to be sure you have ical syncing turned off.

Similar Messages

  • Need help with duplicate print jobs over network that I can't cancel

    I have the Photosmart Premium All-in-One on my home network.  My kids who each have laptop running Windows 7 and are connected via wireless to the printer via a DLINK DIR-655.
    They hit the print button too many times and it keeps printing over and over again.
    Is there a way to get the printer to stop printing these duplicates.  I tried turning off/on but they just keep printing.
    We're wasting paper/ink and I need help with a solution.
    Please let me know.  Thanks.
    Angelo

    There should be a button with a red 'X' on it on the front of the printer.  This is the print cancel button.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Help with duplicate results

    Hi,
    I need help desperately. The following is an example of the data that I have.
    I have two tables one name Customers and the other named Orders. The tables have the following attributes
    CUSTOMER
    CustomerNum, CustomerName, OrderNum
    ORDER
    OrderNum, OrderDesc, CustomerNum
    Bare in mind that the CustomerNum can have multiple customers attached to it, example a whole family (I know bad database design but it's too late to change) Let's use the following info for the tables respectively
    CUSTOMER
    0001 Sharon Bigbsy 1234
    0001 Dale Bigbsy 1235
    0001 Omar Bigbsy 1236
    ORDERS
    1234 Chips 0001
    1235 Gatorade 0001
    1236 Candy 0001
    The query i'm using is select Customer.CustomerNum, Customer.CustomerName, Orders.OrderDesc from CUSTOMER, ORDERS where CUSTOMER.CustomerNum = ORDER.CustomerNum
    The results are as follows
    0001 Sharon Bigbsy Chips 1234
    0001 Sharon Bigbsy Gatorade 1235
    0001 Sharon Bigbsy Candy 1236
    0001 Dale Bigbsy Chips 1234
    0001 Dale Bigbsy Gatorade 1235
    0001 Dale Bigbsy Candy 1236
    0001 Omar Bigbsy Chips 1234
    0001 Omar Bigbsy Gatorade 1235
    0001 Omar Bigbsy Candy 1236
    It's giving all the orders place to each customer name but I need only the following
    0001 Sharon Bigbsy Chips 1234
    0001 Dale Bigbsy Gatorade 1235
    0001 Omar Bigbsy Candy 1236
    I'm using SQL in MS Access 2003. Please disregard the abnormalities of the tables, it's someone else's work I inherited with over 6000 entried.
    Any help will be greatly appreciated

    I know only Oracle solution for this.
    select CustomerNum,
           CustomerName,
           OrderDesc
    from(  select Customer.CustomerNum CustomerNum,
                  Customer.CustomerName CustomerName,
                  Orders.OrderDesc OrderDesc,
                  row_number() over (partition by
                                     Customer.CustomerNum,
                                     Customer.CustomerName
                                     order by OrderDesc) rn
           from CUSTOMER,
                ORDERS
           where CUSTOMER.CustomerNum = ORDER.CustomerNum)
    where rn = 1;Cheers
    Sarma.

  • Help! Trying to Sum Quantity with Duplicate Rows

    I have a database that have the following columns barcode, quantity, etc. The barcode colum has barcode duplicates and the corresponding quantity differs. I have been working hours trying to solve how to sum each different barcode and replace the table with 1 barcode each with corresponding total quantity. So, instead of:
    97138644756
    3
    97138644756
    2
    97138644756
    1
    97138660565
    5
    97138660565
    4
    97138661777
    1
    97138662224
    1
    97138670403
    1
    97138679239
    1
    97138714978
    1
    97138716262
    1
    97138739667
    6
    97138739667
    7
    97138739667
    8
    I would like it to read:
    97138644756
    6
    97138660565
    9
    97138661777
    1
    97138662224
    1
    97138670403
    1
    97138679239
    1
    97138714978
    1
    97138716262
    1
    97138739667
    21
    I was using the following code, which only picks out the duplicates.
    <cfquery name="CountBarcodesCart1" datasource='inventory'>
    SELECT *
    FROM cart1
    WHERE barcode IN (
    SELECT barcode
    FROM cart1
    GROUP BY barcode 
    HAVING (COUNT(barcode ) > 1))
    </cfquery>
    Thanks for anyone that can help with my business.

    I know there is a lot better way to do this, but I will share the following code and hope it will help someone else. What I did was change from CART1 table to a TEMP table, get the dupliates added up and then output the corrected data (with no duplicates) to a new table. Then, I delete the TEMP table.
    <!--- FIND DUPLICATES AND SUM QUANTITY --->
    <cfquery name="CountBarcodesTemp" datasource='inventory'>
    SELECT barcode, sum(quantity) as quantitysum
    FROM temp 
    GROUP BY barcode
    </cfquery>
    <!--- OUTPUT RESULTS AND INSERT INTO NEW TABLE--->
    <cfoutput query="CountBarcodesTemp">
            <cfquery name="InsertIntoCart" datasource="inventory">
      INSERT INTO Cart1 (barcode, quantity)
      VALUES (#CountBarcodesTemp.barcode#, #CountBarcodesTemp.quantitysum#)
      </cfquery>
    #barcode# -- #QuantitySum#<br /><br/>
    </cfoutput>
    <!---         DELETE THE TEMP TABLE  --->
    <cfquery name="DeleteBarcodesTemp" datasource='inventory'>
    DELETE *
    FROM Temp
    </cfquery>

  • Help with complex Acrobat forms

    Hi Everyone,
    Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
    What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
    What is completed so far
    - Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
    - Most of the text fields for information gathering including city, state, store manager etc
    - Metric unit conversion boxes
    - Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
    - Page footer info including page number
    - The over all layout of the pages is set
    Requested changes/additions
    Major must have:
    - Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
    - Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
    - Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
    Minor:
    There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
    At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
    If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
    Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
    Thanks in advance
    Jason

    Perhaps a better question is does anyone know a good developer?

  • Problem with duplicate entries in a structure.

    Hi,
    I am creating a custom structure by including 2 structures in it as DRSEG and COBL_MRM_D.
    Now both the structures have many common fields and hence it gives an error on check.
    Is there any workaround to create the structure in DDIC by including both the above structures.
    Pls help with your ideas.
    Thanks,
    stock.

    Hi
    Create a DDIC structure which has all the common fields. Include this structure only once .
    Then include the fields which are not common from both the structure into the created structure . so that no duplicates entries are present
    OR
    Include the first structure then dont include the second structure include only the fields which are not common to both . this also eliminates the duplicates

  • Please help with RMAN dup for RAC db

    Happy Holidays!! All,
    I need help with the following issue:
    Both target and auxiliary databases are:
    Database version is 10.2.0.3 with 2-node RAC db
    Servers are MS 2003
    Oracle Clusterware 10.2.0.3
    Oracle ASM for storage
    I have run the rman dup from RAC to a single instance db for a while. This is the first time I ran from RAC to RAC. This auxiliary db was refreshed before and was up for a while and was managed by server control tool. Now I am trying to refresh it with new backup files from production. I did the following as people suggested:
    1)     shutdown instance in the second node.
    2)     Startup nomount mode in the first node
    3)     Run RMAN dup
    It failed in the same place with slightly different errors. I pasted error messages at the bottom. I already created a TAR with Oracle but would like to know if anybody has any info related to this. Also I have several questions to ask:
    1)     Should I stop all services related to Oracle in node-2
    2)     Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
    3)     Is there any way I can finish the dup manually from the place I failed? What going to happen if I don’t finish the rest of the dup and go ahead with “alter database open resetlogs”?
    4)     How do I remove the database from under Server control – I already run “srvctl remove database -d atlrac” successfully. Is this all?
    Thanks a lot for your help and have a great holiday season!!!
    First time run:
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ====================================================
    RMAN-00569: ======= ERROR MESSAGE STACK FOLLOWS ==============
    RMAN-00571: =============================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2009 20:24:47
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-00610: Internal error code
    Second time run:
    contents of Memory Script:
    shutdown clone;
    startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===================================================
    RMAN-00569: ========== ERROR MESSAGE STACK FOLLOWS ==========
    RMAN-00571: ===================================================
    RMAN-03002: failure of Duplicate Db command at 12/22/2009 15:53:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-03113: end-of-file on communication channel
    Shirley

    1) Should I stop all services related to Oracle in node-2
    No, you just need to stop the second instance.
    2) Should I stop all clustware related services in node-1 except oracleCSServie since ASM uses it?
    No, you don't need to stop anything. Just have the instance startup nomount.
    3) Is there any way I can finish the dup manually from the place I failed? What going to happen if I don’t finish the rest of the dup and go ahead with “alter database open resetlogs”?
    You have not shown enough information. Did the restore succeed ? Did the recover succeed ? What was it doing when it failed ?
    4) How do I remove the database from under Server control – I already run “srvctl remove database -d atlrac” successfully. Is this all?
    Yes, srvctl remove database is all you need. (unless you also want to remove from listener.ora, tnsnames.ora, oratab etc)

  • Need help with my usecase based on transient ViewObject

    I am using 11.1.1.4.0 Jdev version. I need help with my usecase.Been trying it for 2 days but couldn't figure out the issue.
    I have a transientVO . In this VO Rows will be populated programmatically. CountryId is an attribute of this VO. I have created a viewAccessor "CountriesVA" from Country VO of HR schema.
    I have a LOV for the countryId which is based on this VA ,getting countries from CountryTable.
    This is the model part which works fine.
    Before the page load i have called  a method to create a row for this transientVO.Once the row is created i can see the SOC in my page which i have created as below.
    Now i want to insert a row in the transientVO if user selects a country and restrict duplicate entry . (As One row is already created 1st time there will be no rows created.after that rows will be inserted)
    The issue is :: Suppose there are 2 countries. A & B .When user does the following actions :
    Insert A . Done //as 1st entry
    Insert B . Done //as 1st time entry
    Insert A . duplicate not inserted
    Insert B . getting inserted // the bug.
    <af:selectOneChoice value="#{bindings.CountryId.inputValue}"
                            label="#{bindings.CountryId.label}"
                            required="#{bindings.CountryId.hints.mandatory}"
                            shortDesc="#{bindings.CountryId.hints.tooltip}" id="soc1"
                            immediate="true" autoSubmit="true"
                            valueChangeListener="#{pageFlowScope.managedBean.countryIdVC}">
        public void countryIdVC(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            String oldValue=null;
              setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getOldValue());
              if(evaluateEL("#{bindings.CountryId.attributeValue}")!=null)
             oldValue =evaluateEL("#{bindings.CountryId.attributeValue}").toString();
                    setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getNewValue());
            String newValue=evaluateEL("#{bindings.CountryId.attributeValue}").toString();
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
             DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("ViewObj1Iterator");
             //access the underlying RowSetIterator
             RowSetIterator rsi = dciter.getRowSetIterator();
          boolean duplicate=true;
          if(oldValue!=null){
                    rsi.getCurrentRow().setAttribute("CountryId", oldValue);
        //  Row row= rsi.findByKey(new Key(new Object[] { newValue}), 1)[0];
          Key key =new Key(new Object[] { newValue});
          Row row=rsi.getRow(key);
          if(row==null){
          System.err.println(duplicate);
            duplicate=false;
          }else{
            rsi.setCurrentRow(row);
             if(!duplicate){
             //get handle to the last row
             Row lastRow = rsi.last();
             //obtain the index of the last row
             int lastRowIndex = rsi.getRangeIndexOf(lastRow);
             //create a new row
             Row newRow = rsi.createRow();
             newRow.setAttribute("CountryId", newValue);
             //initialize the row
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
             //add row to last index + 1 so it becomes last in the range set
             rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
             //make row the current row so it is displayed correctly
             rsi.setCurrentRow(newRow);

    I read the reply from Andrejus Baranovskis and thought of studying and implementing that in my useCase.Well it worked . I implemented the same Logic but rowIteration was done in AppModule.
    Con-Fusion, Bugs, Facts &amp;amp; Workarounds: Iterating through View Object RowIterator Bug.(NOT ADF BUG, Development B…
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcservices.htm#sm0206
    9.7.6 What You May Need to Know About Programmatic Row Set Iteration
    The problem is solved ,the above links helped me solve the problem.
    what i did is i have created a method in appmodule to iterate rows and all the method y operation bindings and my logic works fine ....
    MY Advice to all Adf developers ,though i am not an expert but i can assure you to follow the above process for rowIteration.If you use the  iterator binding in the manage bean to navigate the rows u'll face issues which are unexpected.
    In AppModule :::::
        public boolean createRow(String oldValue,String newValue){
         System.err.println(oldValue+""+newValue);
          ViewObjectImpl vo=getViewObj1();
          boolean duplicate=false;
          if(oldValue!=null){
          RowSetIterator iter = vo.createRowSetIterator(null);
          System.err.println("iterating rows ");
             while (iter.hasNext()) {
                 Row r = iter.next();
                 System.err.println(iter.getRangeIndexOf(r)+" row is "+r.getAttribute("CountryId"));
                 if(r.getAttribute("CountryId").toString().equals(newValue)){
                     duplicate=true;
                     break;
                 // Do something with the current row.
             // close secondary row set iterator
             iter.closeRowSetIterator();
          return duplicate;
    In ManageBean :::::
        public void countryIdVC(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            String oldValue=null;
           System.err.println("Old Value"+valueChangeEvent.getOldValue());
              setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getOldValue());
              if(evaluateEL("#{bindings.CountryId.attributeValue}")!=null)
             oldValue =evaluateEL("#{bindings.CountryId.attributeValue}").toString();
                    setEL("#{bindings.CountryId.inputValue}", valueChangeEvent.getNewValue());
            String newValue=evaluateEL("#{bindings.CountryId.attributeValue}").toString();
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
             //access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
             //in this sample
             DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("ViewObj1Iterator");
             //access the underlying RowSetIterator
             RowSetIterator rsi = dciter.getRowSetIterator();
             if(oldValue!=null){
                          rsi.getCurrentRow().setAttribute("CountryId", oldValue);
               OperationBinding operation = bindings.getOperationBinding("createRow");
               operation.getParamsMap().put("oldValue", oldValue);
               operation.getParamsMap().put("newValue", newValue);
          if(!(Boolean)operation.execute()){
          //get handle to the last row
          Row lastRow = rsi.last();
          //obtain the index of the last row
          int lastRowIndex = rsi.getRangeIndexOf(lastRow);
          //create a new row
          Row newRow = rsi.createRow();
          newRow.setAttribute("CountryId", newValue);
          //initialize the row
          newRow.setNewRowState(Row.STATUS_INITIALIZED);
          //add row to last index + 1 so it becomes last in the range set
          System.err.println("Inserting row at index "+lastRowIndex+1);
          rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
          //make row the current row so it is displayed correctly
          rsi.setCurrentRow(newRow);
          else{
            System.err.println("Data found So not inserting,only setting current Row");
          Key key =new Key(new Object[] { newValue});
            rsi.setCurrentRow(rsi.getRow(key));

  • Help with Sort function in Terminal

    Hello all... this is my first post on here as I'm having some trouble with some Termianl commands. I'm trying to learn Terminal at the moment as it is but I would appreciate some help with this one....
    I'm trying to sort a rather large txt file into alphabetical order and also delete any duplicates. I've been using the following command in Terminal:
    sort -u words.txt > words1.txt
    but after a while I get the following error
    sort: string comparison failed: Illegal byte sequence
    sort: Set LC_ALL='C' to work around the problem.
    sort: The strings compared were `ariadnetr\345dens\r' and `ariadnetr\345ds\r'.
    What should my initial command be? What is Set LC_ALL='C'?
    Hope you guys can help?

    Various languages distinct sorting - collation - sequences. 
    The characters can and variously do sort differently, depending on what language is involved. 
    Languages here can include the written languages of humans, and a few settings associated with programming languages.  This is all part of what is known as internationalization and localization, and there are are various documents around on that topic.
    The LC_ALL environment variable sets all of the locale-related settings en-mass, including the collation sequence that is established via LC_COLLATE et al, and the sort tool is suggesting selecting the C language collation.
    Here, the tool is suggesting the following syntax:
    LC_ALL=C sort -u words.txt > words1.txt
    This can also be done by exporting the LC_ALL, but it's probably better to just do this locally before invoking the tool.
    Also look at the lines of text in question within the files, and confirm the character encoding of the file.
    Files can have different character encodings, and there's no reliable means to guess the encoding.  For some related information, see the file command:
    file words.txt
    ...and start reading some of the materials on internationalization and localization that are posted around the 'net. Here's Apple's top-level overview.
    In this case, it looks like there's an "odd" character and probably an å character on that line and apparently the Svenska ariadnetrådens. 
    Switching collation can help here, or - if the character is not necessary - removing it via tr or replacing it via sed can be equally effective solutions. 
    Given it appears to be Svenska, it might work better to switch to Svenska collation thanto  the suggested C collation.
    I think that's going to be sv_SE, which would make the command:
    LC_ALL=sv_SE sort -u words.txt > words1.txt
    This is all generic bash shell scripting stuff, and not specific to OS X.  If you haven't already seen them, the folks over at tldp have various guides including a bash guide for beginners, and an advanced bash scripting guide - both can be worth skimming.  They're not exactly the same as bash on OS X and some specific commands and switches can differ, and as bash versions can differ, but bash is quite similar across all the platforms.

  • Need help with installation

    I recently received a laptop from school to access my online classes.  When I tried to use Adobe Reader I received the following message:  Adobe Reader 9.1 has encountered a problem and needs to close.  Sorry for the inconvenience.  I tried tech support at school and was told to uninstall and reinstall the program.  During the installation process I received the following error:  Error 1321 The installer has insufficient privileges to modify the file C:/Program Files/Adobe/Reader 9.0/Reader/Onix32dll. I need this program for school.  Can some one please help me.

    Hello again, Michael,
    Was unable to do the UAC changes.  Buttons where not highlighted.  I just went ahead and uninstalled Adobe and downloaded Foxitsoftware and it works.   Thanks for all your help Michael you have made my online school experience better.
    Sincerely,
    Sherri Lee
    Date: Mon, 13 Jul 2009 11:03:52 -0600
    From: [email protected]
    To: [email protected]
    Subject: Need help with installation
    Hello again, Sherri:
    It's my pleasure to provide assistance when I can :•) Having just recently graduated after 7 years of effort just to get a 2-year degree, I can relate to needing software to get class work accomplished. I will do everything I can to make it happen for you today.
    Since you didn't mention, the UAC setting, I'd like you to disable it for me if it isn't already:
    1. Open Control Panel
    2. Under User Account and Family settings, click on the "Add or remove user account"
    3. Click on any user account
    4. Under the user account click on the "Go to the main User Account page" link.
    5. Under "Make changes to your user account", click on the "Change security settings" link
    6. In the "Turn on User Account Control (UAC) to make your computer more secure" click to unselect the "Use User Account Control (UAC) to help protect your computer". Click on the Ok button.
    7. You will be prompted to reboot your computer - do so when ready
    You may need to uninstall/reinstall Reader after the reboot in order for the problem to go away, but that part I am not certain of. Try to duplicate the issue prior to taking that step.
    If you are unable to resolve issues with Adobe Reader, I recommend using a different reader that has much less bloat and is updated regularly:
    http://www.foxitsoftware.com/pdf/reader/
    FoxIT is a FREE alternative to using Adobe's Reader. Support for free Adobe products is limited forums such as this. The same holds true for open source alternatives except the manufacturer usually helps support their forums while Adobe doesn't monitor this forum or any like it. I know how important it is for you to focus on your classes so don't beat your head against a wall just because Reader won't work when a viable solution exists.
    Best of success in your pursuit of knowledge!
         Michael
    >

  • Pogramm update for Vendor's bank account with duplicate No.

    HI Guru's,
    This program will perform the Vendor's bank account with
    duplicate No. on both level on higher level as well company code level. but field lfa1-loevm not shwoing in the report..
    if i put delection flag at company level or centrel level : lfa1-loevm.. will not showing in report.. how to modify any one can help me..
    TABLES: lfa1,
            lfb1,
            lfbk,
            t077y.
    DATA: BEGIN OF fi_vendor,
          bukrs     LIKE lfb1-bukrs,   "company code
          vendor_no LIKE lfbk-lifnr,   "Vendor No"
          name      LIKE lfa1-name1,   "Vendor name
          bank_no   LIKE lfbk-bankn,   "Bank account no.
          bankc_key LIKE lfbk-banks,   "Bank control key
          bank_key  LIKE lfbk-bankl,   "Bank account
          create_n  LIKE lfa1-ernam,   "Created by
          createon  LIKE lfa1-erdat,   "Created on
          acct_group LIKE lfa1-ktokk,  "Vendor group name
          deletion   LIKE lfa1-loevm,  "deletion flag
          nodel    LIKE lfa1-nodel,  "Central deletion block
          sperr      LIKE lfa1-sperr,  "Posting Block
          no_account TYPE i.
    DATA: END OF fi_vendor.
    DATA: vendor  LIKE lfb1-lifnr,
          name    LIKE lfa1-name1,
          bank    LIKE lfbk-bankn,
          company LIKE lfb1-bukrs,
          bc_key  LIKE lfbk-banks,
          b_key   LIKE lfbk-bankl,
          cre_by  LIKE lfa1-ernam,
          cre_on  LIKE lfa1-erdat,
          ven_group LIKE lfa1-ktokk,
          dele    LIKE lfa1-loevm,
          nodel   LIKE lfa1-nodel,  "Central deletion block
          sperr   LIKE lfa1-sperr,  "Posting Block
          number TYPE i.
    DATA: fi_vendor_dupli LIKE fi_vendor OCCURS 0 WITH HEADER LINE.
    DATA: fi_vendor_dupli1 LIKE fi_vendor OCCURS 0 WITH HEADER LINE.
    CONSTANTS: a1sg(5) VALUE 'AH',
               w1sg(5) VALUE 'IMH',
               n1sg(5) VALUE 'NUH',
               t1sg(5) VALUE 'TTSH',
               q1sg(5) VALUE 'HQ',
               h1sg(5) VALUE 'PHARM',
               e1sg(5) VALUE 'NETC',
               p1sg(5) VALUE 'POLY',
               d1sg(5) VALUE 'DIAG'.
    Limiting the select option to company code.
    *SELECT-OPTIONS: bukrs FOR lfb1-bukrs.
    START-OF-SELECTION.
      PERFORM bank_detail.
    TOP-OF-PAGE.
      PERFORM header_detail.
    *&      Form  BANK_DETAIL
          text
    FORM bank_detail.
    *To get the duplicate bank account.
      SELECT  lfbk~bankn COUNT( * ) INTO (bank, number)
                       FROM lfbk
                       INNER JOIN lfa1
                       ON lfa1lifnr EQ lfbklifnr
    WHERE loevm NE 'X
                                          GROUP BY lfbk~bankn.
        IF sy-subrc EQ 0.
          IF number > 1.
            MOVE: bank       TO  fi_vendor_dupli-bank_no,
                  number     TO  fi_vendor_dupli-no_account.
            APPEND fi_vendor_dupli.
            CLEAR fi_vendor_dupli.
          ENDIF.
        ENDIF.
      ENDSELECT.
    *vendor created on higher level
      LOOP AT fi_vendor_dupli.
        SELECT alifnr abanks abankl abankn INTO
                            (vendor,bc_key, b_key, bank)
                            FROM lfbk AS a
                            INNER JOIN lfa1 AS c
                            ON alifnr EQ clifnr
                            WHERE a~bankn EQ fi_vendor_dupli-bank_no
    AND c~loevm EQ space.
          IF sy-subrc EQ 0.
            CASE company.
              WHEN 'A1SG'.
                company = a1sg.
              WHEN 'W1SG'.
                company = w1sg.
              WHEN 'N1SG'.
                company = n1sg.
              WHEN 'Q1SG'.
                company = q1sg.
              WHEN 'H1SG'.
                company = h1sg.
              WHEN 'E1SG'.
                company = e1sg.
              WHEN 'P1SG'.
                company = p1sg.
              WHEN 'D1SG'.
                company = d1sg.
              WHEN 'T1SG'.
                company = t1sg.
            ENDCASE.
            MOVE: company    TO fi_vendor_dupli1-bukrs,
                  vendor     TO fi_vendor_dupli1-vendor_no,
                  bc_key     TO fi_vendor_dupli1-bankc_key,
                  b_key      TO fi_vendor_dupli1-bank_key,
                  bank       TO fi_vendor_dupli1-bank_no,
                  fi_vendor_dupli-no_account TO
                         fi_vendor_dupli1-no_account.
            APPEND fi_vendor_dupli1.
            CLEAR fi_vendor_dupli1.
          ENDIF.
        ENDSELECT.
        CLEAR company.
      ENDLOOP.
    *Vendor created under company code level eg. employee group.
      SELECT alifnr bbanks bbankl bbankn
                      INTO (vendor,bc_key, b_key, bank)
                      FROM lfb1 AS a
                      INNER JOIN lfbk AS b
                      ON alifnr EQ blifnr
                      FOR ALL ENTRIES IN fi_vendor_dupli1
                      WHERE a~lifnr EQ fi_vendor_dupli1-vendor_no.
        IF sy-subrc EQ 0.
          IF company NE space.
            MOVE: vendor     TO fi_vendor_dupli1-vendor_no,
                  bc_key     TO fi_vendor_dupli1-bankc_key,
                  b_key      TO fi_vendor_dupli1-bank_key,
                  bank       TO fi_vendor_dupli1-bank_no.
            MODIFY fi_vendor_dupli1.
          ENDIF.
        ENDIF.
      ENDSELECT.
      LOOP AT  fi_vendor_dupli1.
        SELECT name1 ernam erdat ktokk loevm nodel sperr
                     FROM lfa1
                     INTO (name, cre_by, cre_on, ven_group, dele, nodel,
                     sperr)
                       WHERE loevm EQ space
                       AND lifnr = fi_vendor_dupli1-vendor_no.
          MOVE: name   TO fi_vendor_dupli1-name,
                cre_by TO fi_vendor_dupli1-create_n,
                cre_on TO fi_vendor_dupli1-createon,
                ven_group TO fi_vendor_dupli1-acct_group,
                dele      TO fi_vendor_dupli1-deletion,
                nodel   TO fi_vendor_dupli1-nodel,
                sperr  TO fi_vendor_dupli1-sperr.
          DELETE ADJACENT DUPLICATES FROM fi_vendor_dupli1
                              COMPARING vendor_no.
          MODIFY fi_vendor_dupli1 TRANSPORTING name
                                               bukrs
                                               create_n
                                               createon
                                               acct_group
                                               vendor_no
                                               deletion
                                               nodel
                                               sperr.
        ENDSELECT.
      ENDLOOP.
      SORT fi_vendor_dupli1 BY bank_no vendor_no.
      DATA: cnt TYPE i.
      LOOP AT  fi_vendor_dupli1.
        SELECT SINGLE * FROM t077y WHERE ktokk EQ
                                  fi_vendor_dupli1-acct_group
                                  AND spras EQ 'EN'.
    WRITE: /1    fi_vendor_dupli1-bukrs,
            WRITE: /5   fi_vendor_dupli1-vendor_no,
                15   fi_vendor_dupli1-name,
                50    t077y-txt30,
                70   fi_vendor_dupli1-bank_no,
                90   fi_vendor_dupli1-bankc_key,
                95   fi_vendor_dupli1-bank_key,
                105  fi_vendor_dupli1-create_n,
                115  fi_vendor_dupli1-createon,
                128  fi_vendor_dupli1-deletion,
                134 fi_vendor_dupli1-nodel,
                158 fi_vendor_dupli1-sperr.
                ENDLOOP.
      ULINE.
    ENDFORM.                    "BANK_DETAIL
    *&      Form  HEADER_DETAIL
          text
    FORM header_detail.
    WRITE: /1 'Company',
      WRITE: /40 sy-title,
              110 'Page',sy-pagno.
      SKIP TO LINE 3.
      WRITE: /5 'Vendor No',
             15 'Vendor Name',
             50 'Acct Group',
             70 'Bank Account',
             87 'Country',
             95 'Bank Key',
             105 'Create By',
             115 'Create on',
             127 'Del.Flag',
             130'Central deletion flag',
             155'Block for Post.'.
      ULINE.
    ENDFORM.                    "HEADER_DETAIL
    regards
    JK

    solved

  • I need help with XML Gallery Fade in out transition. somebody please help me :(

    I need help with XML Gallery Fade in out transition. somebody please help me
    I have my post dont want to duplicate it

    The problem doesn't lie with your feed, although it does contain an error - you have given a non-existent sub-category. You need to stick to the categories and sub-categories listed here:
    http://www.apple.com/itunes/podcasts/specs.html#categories
    Subscribing to your feed from the iTunes Store page work as such, but the episodes throw up an error message. The problem lies with your episode media files: you are trying to stream them. Pasting the URL into a browser produces a download (where it should play the file) of a small file which does not play and in fact is a text file containing (in the case of ep.2) this:
    [Reference]
    Ref1=http://stream.riverratdoc.com/RiverratDoc/episode2.mp3?MSWMExt=.asf
    Ref2=http://70.33.177.247:80/RiverratDoc/episode2.mp3?MSWMExt=.asf
    You must provide a direct link to the actual mp3 file. Streaming won't work. The test is that if you paste the URL of the media file (as given in the feed) into the address bar of a browser it should play the file.

  • Photo Library with duplicate pictures

    I need help with the photo sync function. When syncing photos from my computer to my phone (via iTunes), a folder called Photo Library is automatically created on my phone, containing duplicate pictures of every picture being transferred.
    To be specific and very clear, I have the Camera Roll on my phone. I have two folders on my computer with pictures which I want to add to my phone. These folders are titled "Miami beach trip" and "Hollywood trip" and contain 50 pics and 30 pics, respectively.
    When I tried to sync the photos using iTunes, I ended up with 3 folders on my iPhone, in addition to the Camera Roll. I ended up with the Miami beach trip with 50 pics, hollywood trip with 30 pics, and a Photo Library folder with 80 pics (duplicates of all pics from Miami trip and hollywood trip).
    Is there a way to sync so that I don't end up with duplicates? I tried deleting the iPhone Photo Cache folder before syncing and that did not work. Please help.

    So this is normal? Is there a way to NOT have the Photo Library folder? It is pretty redundant and I would prefer to NOT have the same pics appear in more than 1 folder.
    When I first realized that the Photo Library folder automatically appeared with the same exact photos from other folders, I became quite frustrated. I started messing around with the sync function. I would delete the iphone photo cache, then sync. Then I removed the folders that I had just added. Then I synced again. I did this quite a few times and somehow, I finally was able to add a folder without the Photo library containing all the pictures.
    It was a fluke and I don't even know what I exactly did. I can't get it to work this time around but am convinced that there should be a way to do it.
    Do you know how? Thank you for your time and help.

  • Help with Subqueries

    Hello all,
    I’m hoping to get some help with my SQL code. I’m relatively new with SQL, and this is my first time using subqueries, and I’m getting some issues. Here’s what I’m looking to do, and I’ll try to make it as least confusing as possible.
    My table contains multiple shipments each with multiple status codes for the shipment. I’m filtering for shipments containing a status code of SMRV. There might be multiple SMRV codes per shipment. Now, the problem is that an SMRV is sometimes associated with a SPLN code. If so, these codes will be assigned on the same day. My goal is to REMOVE all SMRV codes within a shipment in which the date the SMRV and SPLN codes are equal.
    So my methodology is as such.
    1. Subquery x retrieves all shipments with an SMRV code, along with the code date
    2. Subquery y looks at those shipments and retrieves the SPLN dates
    3. Outer query returns shipment #, all SMRV status codes and dates in which SMRV dates aren’t equal to an SPLN date
    Issues
    1. Running my subquery y returns a duplicate set of dates. I took care of this by using a SELECT DISTINCT function, but I’m not sure if my code is just wrong somehow.
    2. Outer query just gives me an error I don’t understand.
    ORA-06553: PLS-306: wrong number or types of arguments in call to 'OGC_X'
    06553. 00000 - "PLS-%s: %s"
    *Cause:   
    *Action:
    Error at Line: 164 Column: 29
    Maybe there is an easier way to do this, but I’ve been studying online examples and can’t find out what I’m doing wrong. Thanks in advance!
    select
    cmt.SHPMT_NUM "Shipment_Number",
    cmt.EVENT_CATG_TYPE_ID "Status Code",
    cmt.EVENT_DT "SRMV_Date"
    from
    table.shpmt shp,
    table.cmnt_and_event cmt,
    (select distinct
    cmt.EVENT_DT "SPLN_Date"
    from
    table.cmnt_and_event cmt,
    (select
    cmt.SHPMT_NUM "Shipment_Number",
    cmt.EVENT_DT "SRMV_Date"
    from
    table.cmnt_and_event cmt
    where cmt.SHPMT_NUM = '254151301'
    and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')) x
    where cmt.SHPMT_NUM = x."Shipment_Number"
    and cmt.EVENT_CATG_TYPE_ID IN ('SPLN')) y
    where x."Shipment_Number" = cmt.SHPMT_NUM
    and cmt.SHPMT_NUM = shp.SHPMT_NUM
    and x."SRMV_Date" <> y."SPLN_Date" (ERROR seems to happen here)
    and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')

    I have not yet tried to see if the SQL statement matches the requirements, but I have reformatted the SQL statement to highlight why you are receiving an error.
    select
      cmt.SHPMT_NUM "Shipment_Number",
      cmt.EVENT_CATG_TYPE_ID "Status Code",
      cmt.EVENT_DT "SRMV_Date"
    from
      table.shpmt shp,
      table.cmnt_and_event cmt,
      (select distinct
        cmt.EVENT_DT "SPLN_Date"
      from
        table.cmnt_and_event cmt,
        (select
          cmt.SHPMT_NUM "Shipment_Number",
          cmt.EVENT_DT "SRMV_Date"
        from
          table.cmnt_and_event cmt
        where
          cmt.SHPMT_NUM = '254151301'
          and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')
        ) x
      where
        cmt.SHPMT_NUM = x."Shipment_Number"
        and cmt.EVENT_CATG_TYPE_ID IN ('SPLN')
      ) y
    where
      x."Shipment_Number" = cmt.SHPMT_NUM
      and cmt.SHPMT_NUM = shp.SHPMT_NUM
      and x."SRMV_Date" != y."SPLN_Date"
      and cmt.EVENT_CATG_TYPE_ID IN ('SRMV')In the above, I changed the less than/greater than combination into the equivalent != so that is will print on the forum web page.
    The reason for the error is that the inline view that you have aliased as X is inside the inline view that you have aliased as Y. The X alias is not visible to the final WHERE clause, and that is why the third line in the WHERE clause is throwing an error (the first one will also). Because the X inline view is inside the Y inline view, you must tell the optimizer how to join the table aliased as SHP to the table aliased as CMT to the inline view X in the second to the last WHERE clause (where you have cmt.SHPMT_NUM = x."Shipment_Number").
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Oct 15, 2010 9:46 AM
    The table alias as SHP is not in the inline view Y.

  • Help with scrolling thumbnails photogallery

    i need some help with this photo gallery im working on. im pretty sure i have almost everything correct but for some reason i cant get the thumbnails when clicked to link up with the img. i want it to show.
    well i cant really upload the file here i just found out so i can email it to whoever leaves there email
    if someone could take a look at the file and tell me what im doing wrong that would be so helpful ive been working on it for the past 2 days trying to fig. out whats wrong searching everywhere and i just cant fig. it out.
    thanks for the help

    Please don't duplicate postings.

Maybe you are looking for

  • Who else does not have cut and paste, or shift click anymore on Lion?

    I can't cut and paste anything, and shift click doesn't work like it normally should. Shift click is acting like command shift insead of selecting everything between. Please, no ******** answers.

  • History of FI Period

    Dear Expert, How can I see that when FI period has been open & close (T-Code ob52). And I want to explore History for FI period users wise, who had change FI-Period. Thanks in advance for your support. Kaushal Maheshwari

  • How do I transfer contacts from 3GS (4.3.5) to 5S (7.0.4) without losing them in 3GS update to 6.1.3?

    I bought a new iPhone 5S (7.0.4) and have backed up all other data from my iPhone 3GS (4.3.5) to my iTunes (I had to update iTunes to the latest version) in hopes to then transfer that data to the 5S.  For whatever reason, it doesn't appear that any

  • IMac and video card ATI Radeon HD 4850

    Using my iMac 24"/3.06/SD with OSX 10.6 and trying to access Final Cut Express, it tells me I need an AGP video card! Why isn't the ATI Radeon HD 4850 able to display FCE? It operates all my other Apple software. Please, has anyone an idea about this

  • How can I close all windows in Preview?

    Hi all I can't seem to find a way to close all windows in Preview. Can somebody try this and see if they get the same result I do. 1. Copy an image into the clipboard. 2. Open Preview 3. Hold down command-N for about 20 seconds. You should end up wit