Udev to map multiple entries to *few* *partitioned* devices

Having read then followed wiki's Using udev to map multiple entries to a device, I cannot yet adapt it for my externel 160GB partitioned HDD.
Here is what I have :
- plugged the HDD to my laptop with no other external storage
- Found its supposed SYSFS{serial} :
# udevinfo -a -p `udevinfo -q path -n /dev/sda` | grep SYSFS{serial}
SYSFS{serial}=="DEF1091BE9A1"
SYSFS{serial}=="0000:00:05.2"
- Created /etc/udev/rules.d/00.rules with those lines :
# DD usb
BUS="usb", SYSFS{serial}="DEF1091BE9A1", KERNEL="sd?", NAME="%k", SYMLINK="ddusb", GROUP="storage"
BUS="usb", SYSFS{serial}="0000:00:05.2", KERNEL="sd?1", NAME="%k", SYMLINK="ddusb", GROUP="storage
- Edited /etc/fstab with
# DD usb
/dev/ddusb1 /media/ddusb1 ext3 user,exec,noauto 0 0
/dev/ddusb5 /media/ddusb5 vfat noauto,user,noexec,nodev,nosuid 0 0
/dev/ddusb6 /media/ddusb6 vfat noauto,user,noexec,nodev,nosuid 0 0
- checked /etc/group for "usbstorage" which was here with "hal" user, on which I added my main user.
- Restarted udev.
Now I found
/dev/ddusb -> sda1
, +
# ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 2005-11-25 23:48 /dev/sda
brw-rw---- 1 root disk 8, 1 2005-11-25 23:48 /dev/sda1
brw-rw---- 1 root storage 8, 2 2005-11-25 23:48 /dev/sda2
It seems I haven't finished with Using udev to map multiple entries to a *partitioned* device :?
Please Archies do you have any ideas or links  :?:

Thanks for the reply Lanrat. I followed your advice and now I have
/media/ Mp3-sda1   (Mp3)
/media/USBHD-sdb1   (Ext HD with multiple partitions)
/media/ USBHD-sdb2
/media/ USBHD-sdb3 
I do have a problem with my USB Memory stck.
[root@localhost ~]# ls -l /dev|grep sd
lrwxrwxrwx  1 root root         3 2005-12-20 00:23 USB-sda -> sda
lrwxrwxrwx  1 root root         4 2005-12-20 00:23 USB-sda1 -> sda1
lrwxrwxrwx  1 root root         3 2005-12-20 00:23 USB-sdb -> sdb
lrwxrwxrwx  1 root root         4 2005-12-20 00:23 USB-sdb1 -> sdb1
lrwxrwxrwx  1 root root         4 2005-12-20 00:23 USB-sdb2 -> sdb2
lrwxrwxrwx  1 root root         4 2005-12-20 00:23 USB-sdb3 -> sdb3
lrwxrwxrwx  1 root root         3 2005-12-20 01:17 USB-sdc -> sdc
brw-rw----  1 root users    8,  0 2005-12-20 00:23 sda
brw-rw----  1 root users    8,  1 2005-12-20 00:23 sda1
brw-rw----  1 root users    8, 16 2005-12-20 00:23 sdb
brw-rw----  1 root users    8, 17 2005-12-20 00:23 sdb1
brw-rw----  1 root users    8, 18 2005-12-20 00:23 sdb2
brw-rw----  1 root users    8, 19 2005-12-20 00:23 sdb3
brw-rw----  1 root users    8, 32 2005-12-20 01:17 sdc
[root@localhost ~]#
As you can see  sdc (Memory Stick) doesn't creat /dev/sdc1
I did copy and paste SYSFS{product}=="Flash Disk      " and make sure the spaces are correct.
udevinfo -a -p /sys/block/sdc  <====Memory Stick
    BUS=="scsi" <<<<<<<<<<<<<<<<<<<
    ID=="5:0:0:0"
    DRIVER=="sd"
    SYSFS{device_blocked}=="0"
    SYSFS{iocounterbits}=="32"
    SYSFS{iodone_cnt}=="0x19"
    SYSFS{ioerr_cnt}=="0x18"
    SYSFS{iorequest_cnt}=="0x19"
    SYSFS{max_sectors}=="240"
    SYSFS{model}=="Flash Disk      "
    SYSFS{queue_depth}=="1"
    SYSFS{queue_type}=="none"
    SYSFS{rev}=="2.00"
    SYSFS{scsi_level}=="3"
    SYSFS{state}=="running"
    SYSFS{timeout}=="30"
    SYSFS{type}=="0"
    SYSFS{vendor}=="OTi     "
udevinfo -a -p /sys/block/sda  (Mp3 Player)
    BUS=="usb"
    ID=="1-1.3"
    DRIVER=="usb" <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bMaxPower}=="100mA"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bNumInterfaces}==" 1"
    SYSFS{bcdDevice}=="1001"
    SYSFS{bmAttributes}=="c0"
    SYSFS{configuration}=="USB/MSC LCD Player"
    SYSFS{devnum}=="3"
    SYSFS{idProduct}=="5512"
    SYSFS{idVendor}=="1462"
    SYSFS{manufacturer}=="<USB MF>"
    SYSFS{maxchild}=="0"
    SYSFS{product}=="<USB PRODUCT>   "
    SYSFS{serial}=="0000410536D48894"
    SYSFS{speed}=="12"
    SYSFS{version}==" 1.10"
I can see there are a lot of rules in udev.rules (Arch Default) for BUS=SCSI but none of the create sdc1.
could you show me how to incoporate BUS=SCSI to these automounting rules please.
Thanks
Ben
I've put this in the forum as well
==================================================================================
KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="USB-%k", GROUP="users", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="USB-%k", GROUP="users", NAME="%k"
#ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /media/USB-%k"
#New Rules Product Specific
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="<USB PRODUCT>   ", RUN+="/bin/mkdir -p /media/Mp3-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk      ", RUN+="/bin/mkdir -p /media/USBKey-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="USB TO IDE", RUN+="/bin/mkdir -p /media/USBHD-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/ln -s /media/Mp3-%k /mnt/Mp3-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", PROGRAM=="/sbin/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,sync,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/Mp3-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /media/Mp3-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rm -f /mnt/Mp3-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /media/Mp3-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/Mp3-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/ln -s /media/USBKey-%k /mnt/USBKey-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", PROGRAM=="/sbin/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,sync,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/USBKey-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /media/USBKey-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rm -f /mnt/USBKey-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /media/USBKey-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/USBKey-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/ln -s /media/USBHD-%k /mnt/USBHD-%k"
ACTION=="add", KERNEL=="sd[a-z][0-9]", PROGRAM=="/sbin/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,sync,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/USBHD-%k", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /media/USBHD-%k", OPTIONS="last_rule"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rm -f /mnt/USBHD-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /media/USBHD-%k"
ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /media/USBHD-%k", OPTIONS="last_rule"

Similar Messages

  • Using udev to map multiple SD

    If you read the wiki it explains very well how to obtain the serial of a device the problem is sd cards do report there serial the serial that you get is that of the sd card reader.
    Therefore all SD cards will mount the same!
    I compared to outputs with two different SD cards the only different I see is that of the size (if they are different size SD's)
    i tried adding it in to my rule ATTR{size}=="2007040"  (my size) but then it would not mount!
    ANY IDEAS?
    Sam

    Is it the size of the card, or the size of the card reader
    Probably should use ATTRS instead of ATTR.

  • Batch element raise error for few cases as Multiple entries are not allowed

    Dear
    Element type :' NON-RECURRING'
    Multiple entry :' un-checked'
    We have a commission element as non-recurring. As per company policy we allow this commission on Assignment criteria and it got successfully transfer we run it previous month. But today we are doing the same activity and getting error “Multiple entries are not allowed for this entry” in two cases while batch validation. However when we enter this element manually under the assignment element entry window, it allow user to save without any restriction.
    So, why system not allow it through batch window.
    I am very thank full to you, pls very critical.
    Pls advice.

    User uploaded duplicate assignment for the same element, therefore system was not being allowed to process for that batch. we removed duplicate record and the error was removed.

  • How to rid of multiple entries in ical

    How the blazes do you you get rid of MULTIPLE entries in ical? I have read many answers and printed off a few to follow them but invariably i get to a point where I am unable to take the next step! I back track and and unable to find a fault of where I went wrong!! Then I have to ask myself WHY? Why on earth am I having to go to such extreme lengths to get rid of the unwanted entries?
    Come on now Apple it is you who should be providing the simple logic answer to this?
    I decided to give up? just ignore the other entries it easier than going frantic trying (and anyway I am frightened I may throw the macbook in my temper)
    bye bye
    bob

    Hi pvonk
    I do know how to delete the odd file but I have things like bank holidays entered 7 or 8 times and Trooping the colour 15 entres Queens jubilee 14 times.
    I just want to stop the thing from doing that and if there is a way my question is why do I have to do it? surely apple should fix it or whatever
    peardrop

  • Mapping Multiple Source fields to Single Target Fields with differnt Values

    Hello Friends,
    I am having a senario  where I have to mapped multiple fileds from source str. to same Idoc Fields with ( differnt default values )
    E.g Source Str.
    - ShopNO
    - OrderTyp
    Has to mapped to Idoc Str E1EDK14-Orgid.
    E.g Mapping:
    So when ShopNo will mapped to E1EDK14-Orgid the default value should be "MOP" & E1EDK14-Qualf should be 019
    and when OrderType will be mapped to E1EDK14-Orgid the default value should be "STD" & E1EDK14-Qualf should be 012
    So I tried of using node "UseOneAsMany".....but there I cant define the vaule of field orgid, and seconly how to specify the values of field Qualf?
    Do i need to write my own specify function ? or I can sovle this issue using standard avaiable functions ?
    Regards,

    Hi Ravi,
    Thanks for your reply....
    I am facing following problem... when I try to duplicate the segment and do mapping....... and then when I save, I got following error msg:
    The source or target structure has been changed or could not be found in the Integration Repository. The mapping definition contains elements or attributes that do not exist in the changed structure. The relevant entries will be deleted
    Target structure has no such path: /ZARVO_ORD/IDOC/E1EDK05[1]/KSCHL. Skipping mapping
    Target structure has no such path: /ZARVO_ORD/IDOC/E1EDK05[1]/KRATE. Skipping mapping
    Any suggestion ?
    in other words, when I do duplicate it creates me the segment, but when I save it, it gets disappered .........
    Regards,
    Edited by: Shah H on Oct 26, 2009 3:17 PM

  • LSMW - ME21 How to map multiple line items

    Hi all,
    I am using LSMW tool with batch input recording technique to create POs via ME21. I have defined source structures as HEAD with POSI as its subordianted structure. This settings worked perfectly for one single item line. However, it created a new transaction for each line item in the file. I did some searches in this forum and I noticed that someone suggested to dynamically set the line positon at the processing points. I tried a few times and could not get it work. Anyone knows how to map multiple items in LSMW, please help.
    Here is part of my recording:
    EKPO-EMATN(01)                 000995NM
    EKPO-MENGE(01)                                 1      RM06E-EEIND(01)                2006.04.27             EKPO-NETPR(01)                             10         EKPO-WERKS(01)                 0001                   EKPO-LGORT(01)                 0001      
    My input file looks like this:
    H  77777400  NB2006.05.140001001T
    L000995NM00000000052006.05.15         1000010001CAON
    L000998NM00000000052006.05.15         1000010001CAON
    H  77777400  NB2006.05.140001001T
    L000995NM00000000052006.05.15         1000010001CAON
    Thanks!

    Hi
    If you have used a b.i. recording, all abap code is inserted in std table /SAPDMC/LSGBDC.
    The program to generate the B.I. session is automatically created when you run "Create Batch Input Session" step.
    What means the numbers of items you can insert depend on the totals of items you have used while creating your b.i. recording:
    If you have simulated to insert only one item, you'll be able to insert only one item in your project.
    So you should simulate to insert severals items not only one, but I think it should be better you use a std method to create PO by LSMW:
    - Std B.I: object 0085, method 0001 (RM06EEI0);
    - BAPI   : object BUS2012, method CREATEFROMDATA1
    Max

  • ELM 1:N Can we Map Multiple Contact Persons for an Org

    I want to upload Multiple contact persons for an organization.
    Using ELM Mapping tool can we map multiple contact persons for an organization?
    orgID  name  persID  Name   CP_FUNCTIONKEY    CP_FUNCTIONNAME
    9          abc     9          Pers1             01                            Head of CAD
                          9         Pers2             02                            Head of Civil
    Thanks,
    Ramesh

    I found the way the mapping file should be.
    Entry 1: Organisation A, Person A-1
    Entry 2: Organisation A, Person A-2
    Entry 3: Organisation B, Person B-1
    Entry 4: Organisation C, Person B-1
    During mapping, the content of the fields ORG_NAME1, ORG_NAME2, ORG_NAME3, ORG_CITY, ORG_POSTL_COD1, POSTL_COD2, and ORG_STREET are used by the system to determine identical organizations within the list. The content of these fields must be identical for all records that belong to one organization.
    Thanks,
    Ramesh

  • Data in the cube is showing multiple entries when compared with ODS

    Hello BW Gurus,
    We have a waste report in production planning on Cube and ODS separately. The same info package loads both targets (which means same infosource) but when we run a report on Cube, the records are showing multiple entries (i.e. Key Figures are not matching when compared to ODS) where as the ODS records are showing correctly as it was in R/3. There are totally 6 key figures out of which 4 pulled from R/3 and 2 are populated in BW.
    An Example:
    Waste report in PP run for plant 1000 for 12/2005 and process order 123456. The operational scrap should be 2.46% and the component scrap should be 3.00% for material 10000000. The report is showing 7.87% for planned operational waste % and 9.6% for planned component waste %. These values are not correct. The ODS values for order 123456 matched the data in R/3 for component and operational scrap.
    There is a Start routine to the ODS and also to the cube. I am not good at ABAP so requesting your Help.
    Here is the ODS Code:
    tables: /BI0/PPRODORDER.
    loop at data_package.
    select single COORD_TYPE
    PRODVERS
    into (/BI0/PPRODORDER-COORD_TYPE,
    /BI0/PPRODORDER-PRODVERS)
    from /BI0/PPRODORDER
    where PRODORDER = data_package-PRODORDER
    and OBJVERS = 'A'.
    if sy-subrc = 0.
    if /BI0/PPRODORDER-COORD_TYPE = 'XXXX'
    or /BI0/PPRODORDER-COORD_TYPE = 'YYYY'.
    data_package-PRODVERS = space.
    else.
    data_package-PRODVERS = /BI0/PPRODORDER-PRODVERS.
    endif.
    endif.
    if data_package-calday = space
    or data_package-calday = '00000000'.
    if data_package-TGTCONSQTY NE 0.
    data_package-calday = data_package-ACTRELDATE.
    endif.
    endif.
    modify data_package.
    endloop.
    Here is Cube Code:
    tables: /BI0/PPRODORDER,
    /BIC/ODS.
    TYPES:
    BEGIN OF ys_mat_unit,
    material TYPE /bi0/oimaterial,
    mat_unit TYPE /bi0/oimat_unit,
    numerator TYPE /bi0/oinumerator,
    denomintr TYPE /bi0/oidenomintr,
    END OF ys_mat_unit.
    DATA:
    l_s_mat_unit TYPE ys_mat_unit,
    e_factor type p decimals 5.
    loop at data_package.
    select single COORD_TYPE
    PRODVERS
    into (/BI0/PPRODORDER-COORD_TYPE,
    /BI0/PPRODORDER-PRODVERS)
    from /BI0/PPRODORDER
    where PRODORDER = data_package-PRODORDER
    and OBJVERS = 'A'.
    if sy-subrc = 0.
    if /BI0/PPRODORDER-COORD_TYPE = 'XXX'
    or /BI0/PPRODORDER-COORD_TYPE = 'YYY'.
    data_package-PRODVERS = space.
    else.
    data_package-PRODVERS = /BI0/PPRODORDER-PRODVERS.
    endif.
    endif.
    if data_package-calday = space
    or data_package-calday = '00000000'.
    if data_package-TGTCONSQTY NE 0.
    data_package-calday = data_package-ACTRELDATE.
    endif.
    endif.
    data_package-agsu = 'GSU'.
    data_package-agsu_qty = 0.
    select single gr_qty
    base_uom
    into (/BIC/ODS-gr_qty,
    /BIC/ODS-base_uom)
    from /BIC/ODS
    where prodorder = data_package-prodorder
    and material = data_package-material.
    if sy-subrc = 0.
    if /BIC/ODS-base_uom = 'GSU'.
    data_package-agsu_qty = /BIC/ODS-gr_qty.
    else.
    SELECT SINGLE * FROM /bi0/pmat_unit
    INTO CORRESPONDING FIELDS OF l_s_mat_unit
    WHERE material = data_package-material
    AND mat_unit = 'GSU'
    AND objvers = 'A'.
    IF sy-subrc = 0.
    IF l_s_mat_unit-denomintr <> 0.
    e_factor = l_s_mat_unit-denomintr /
    l_s_mat_unit-numerator.
    multiply /BIC/ODS-gr_qty by e_factor.
    data_package-agsu_qty = /BIC/ODS-gr_qty.
    ENDIF.
    else.
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
    EXPORTING
    INPUT = /BIC/ODS-gr_qty
    NO_TYPE_CHECK = 'X'
    ROUND_SIGN = ' '
    UNIT_IN = /BIC/ODS-base_uom
    UNIT_OUT = 'GSU'
    IMPORTING
    OUTPUT = DATA_PACKAGE-gsu_qty
    EXCEPTIONS
    CONVERSION_NOT_FOUND = 1
    DIVISION_BY_ZERO = 2
    INPUT_INVALID = 3
    OUTPUT_INVALID = 4
    OVERFLOW = 5
    TYPE_INVALID = 6
    UNITS_MISSING = 7
    UNIT_IN_NOT_FOUND = 8
    UNIT_OUT_NOT_FOUND = 9
    OTHERS = 10.
    endif.
    endif.
    endif.
    modify data_package.
    endloop.
    some how the AGSU qyt is not populating in the cube and when I dbug the code, I could see a clean record in the internal table but not in the cube.
    your suggestion and solutions would be highly appreciated.
    thanks,
    Swathi.

    Hi Swathi
    In ODs we have option of overwriting and addition however in Cube we have only adition.Thats why you are getting multiple enteries.
    If you are running daily full load on the cube then please delete the earlier requests.
    So at one point of time there should be only one full load request in cube. Hope this will solve your problem.
    Regards,
    Monika

  • Can I combine multiple entries into a single statement?

    I am relatively new to Live Cycle so forgive my lack of technical wording.
    I would like to use multiple entry fields to fill in a statement.
    For example:
    I'd like the user to see this:
    Target Dropdown     Endo Dropdown     Type Dropdown     Version # Entry     Date 1 Entry     Date 2 Entry
    and then have the form merge all that together into a line that looks like this:
    RS_(target)_(endo)_(type)\(version)_(date)_(date)
    Preferably without repeating information on the page as we'll have multiple of these entries and the page will get hectic quick.
    Is this possible?
    I first had each dropdown in individual table fields, but due to regulations we follow the entries need to be merged without spaces.
    I always have a backup if this can't be done, but any help is appreciated.

    Not sure where you're sending it, but if you have a global variable named "bob".
    bob.value = "RS_"+target.rawValue+"_"+endo.rawValue+"_"+type.rawValue+"\"+version.rawValue+"_"+date.r awValue+"_"+date2.rawValue;
    Something like that should work.

  • HT4528 Calendar under IOS7.0.2 has been changed. does not work the same. what happened to LIST mode (multiple entries being displayed in list format) or am i doing something wrong?

    I got use to using Calendar app where multiple entries are stacked under IOS6.  Under iOS7.0.2 I enter a new appointment and after the entry I can not find the new appointment after i click on done.  Am I doing something incorrect HELP!

    The list view does not appear to be among the "standard views" for the Calendar app in iOS 7.0.x.  You can still get the list view by going to the day view and hitting the search button (magnifying glass icon).

  • Picking the value of PBEG and PEND incase of multiple entries 2002 on a day

    Hi Experts,
    Our client's business requirement is to have provision handling multiple entries multiple entries of same subtype of IT 2002 on same day with different Time entries.For example one IT 2002 Styp 1 has entry 10 am to 14 pm & other entry of IT 2002 styp 1 as 14 pm to 16 pm.
    In this scenario I want to have TWT with start time of 1st 2002 record i.e 10 & another TWT with end time of last 2002 record i.e. 16.
    I have written a PCR as
    OUTTPORIGS Origin status
        COLOP*     TIP  >TOP curr.TType
      P
        HRS=PBEG   Set
        ADDDB90T3  Add to day balance
        HRS=PEND   Set
        ADDDB90T4  Add to day balance
    But its giving me value of 2002 start time  as (1014=24) & END time (1416=30) respectively.
    Since TIP will have entries with origin E & A as well with P  and any entry can be 1st or last entry depending on time, I can't use VRSTFIRST & VARSTLAST.
    Please suggest me how to handle such scenario through PCR. Is there a way we can make decision on From & To of TIP entries.
    You can also suggest me if such need can be handled at masterdata level so that we can have just one entry
    Regards
    S S
    Hi All,
    Please also suggest me a better operation to pick the value of PBEG and PEND incase of multiple entries various subtypes of 2002 on same day.I need to compare start- end time of 2002 with 2011 entries and calculate total attendence hrs. Once again, I can't use VRSTFIRST & VRSTLAST as 1st & last TIP entry could be come from any infotype viz 2011,2002, 2001.
    Regards
    Sunita
    Edited by: Sunita on Feb 5, 2011 10:02 AM

    If you want to do it the T-SQL way, follow this article I wrote on deleting duplicates..
    http://sqlsaga.com/sql-server/how-to-remove-duplicates-from-a-table-in-sql-server/
    To read about what ranking functions does and how will they help you use this link..
    http://sqlsaga.com/sql-server/what-is-the-difference-between-rank-dense_rank-row_number-and-ntile-in-sql-server/
    Please mark as answer, if this has helped you solve the issue.
    Good Luck :) .. visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • Under Options , Applications There are multiple entries for the same item (Acrobat Document). how can I delete the duplicates?

    Under Options, Applications there are multiple entries for the same item. (Adobe Acrobat) . Three show Adobe Acrobat Reader 9.3 and the other shows (ask) or (save file) with no ability to select Acrobat Reader . Is there a way to edit this list to remove the duplicates and
    the incorrect entry? Adobe installed a very quick update today.

    They are all different. Hover your mouse pointer over each of the "Content Type" descriptions and you should see a "tooltip" to see that each has a different description.
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Adobe Shockwave for Director Netscape plug-in, version 11.5 (you '''<u>may</u>''' need to update)
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • Multiple entries of the same topic in calendar

    Hi, i am having trouble with my calendar, as in it displays multiple entries of 1 entry on the same day! eg. if i have one entry then it displays that same entry about 15-20 times on that same day in a list!!! can anyone help with this fault?

    I'm having same problem but where there are duplicate calendar entries, one of the entries cannot be changed (doesn't have edit button)and the other entry can be changed. Needed to reschedule a doctor's appointment and wasn't able to delete b/c there isn't an edit button. So it stays there. Don't know which date is the new rescheduled date. I have iPhone 3g. Since iPhone4 my 3g is extremely slow too.

  • To delete multiple entries in table control in module pool

    Hi,
    Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
    Regards,
    Irfan Hussain

    hai,
        you can do it inthis way.
    in the PAI event.
    loop at <table control name>
      module del_itab.
    endloop.
    in the nodule,write the folowing code.
    if <tablecontrol>-fieldname = 'X'.
    delete <tablecontrol-itab>
    endif.
    cheers

  • Multiple entries in ical

    I can't understand why this has happened - i went back to my entries for last year to check on a birthday that hadn't shown up for this year and i had multiple entries for each event e.g an appointment would be listed 20 times - for that date.
    Does anybody know what the problem is?

    Probably because of iCloud since I assume you started it up on both Macbook and a mobile device.

Maybe you are looking for

  • Contracts info is not getting updated in VEDA table

    Hello Firends, Please find below my issue in detail: I have created two contracts : one created first ( ex:1111) and then wrt to this I created another one (ex:1112), When I run the table VEDA , sytem is fetching all the info of the first contract bu

  • Nakisa Org Chart 2.1 - excluding org units from extract and saving chart

    Hi, Is it possible to exclude specific org units from the org chart that is extracted to Nakisa? These (and all subordinate) org units should not be included in the chart which is to be published on the intranet. Also, what is the easiest way to crea

  • How do I undo annotations in reader? iOS

    I a, wondering what I have to do to undo annotations in reader for its.

  • PREMIERE ELEMENTS 9 CRASH

    I was having issues on a certain project and was experimenting in PE9 and in the process I actually found the solution I needed so I continued on my project. I did not save the file myself (because I was experimenting) but PE9 was autosaving it about

  • Info Object: Change of Data Type (NUMC to CHAR)

    We have a scenario wherein one of the Info objects is defined currently as NUMC. Due to the change in the Source system, the info object is now defined with data type as CHAR. The info object in consideration is the "Cost element". As the current inf