If there r MULTIPLE entries of different in my_itab, throw ERROR??

Hi Experts,
Am filling the my_itab(which does hv 1 filed of Order), by doing some processing.
Always, the Order # shuld b the same.
If in any case, there r multiple Orders in this itab of DIFFERENT, I need throw ERROR message.
So, instead of looping the itab, checking each entry explicitly, Is there any Statement, Clause, sytax?
thanq
Edited by: Srinivas on Jul 16, 2008 1:46 PM

Hi,
Declare another varialbe of the Order type and assign the value to it.
w_order = itab-order.
Loop itab where itab-order = w_order.
if w_order eq itab-order.
message 'Same order number' type 'E'.
endif.
w_order = itab-order.
endloop.
Reward if helpful.
Regards
Chandralekha

Similar Messages

  • 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

  • How do you update software when there are multiple users with different (unknown) apple ID's?

    We are a college with different users borrowing 'loaner' Macbooks.
    several users with different ID's have installed software that is now tied to that Machines serial number, and cannot be updated or removed apparently. We are trying to update iPhoto for use with iBook author, but it was installed by an unknown user and cannot be removed.

    The only practical solution is to wipe and re-provision the units when they're returned.

  • CHQ DEPOSIT ENTRY IN CASH JOURNAL..THROWS ERROR

    When i trying to enter chq deposit in Cash journal after making the entry petty cash to customer,clicking Present cheques.
    I defined business transaction for this and assigned bank deposit account,however sustem throws me error that
    YOU CANNOT USE ACCOUNTING TRANSACTION TYPE "INCOMING PAYMENT HERE"
    tHE DESCRIPTION GIVEN FOR THIS ERROR IS:
    You cannot use accounting transaction type "Incoming payment" here
    Message no. F5A070
    Diagnosis
    You are using the payments tab, but have selected an accounting transaction that is used exclusively for receipts.
    System Response
    The system analyzes this inconsistency and waits for your adjustment.
    Procedure
    Either select a different accounting transaction or change the tab.
    PLEASE LET ME KNOW EHER I NEED TO CORRECT

    Hi
    Check at TCode FBCJC0.
    Cheers
    Srinivas

  • Multiple Entries on ipod

    I imported a 4 disc CD to i tunes and then synced it to my ipod. When I go into albums on the ipod, there are multiple entries and not just the 4 cds.Every entry shows the same tracks, so in essence I have about 10 entries for each CD. Also, in another case when a single album was synced to the ipod, it appears 4 times on the ipod. Why this happening?

    *HowTo: Grouping Tracks Into Albums*
    Excuse the long post, but hopefully covering all the bases (that I can think of) will help you fix the other issues you are likely to run into as you try to organise your iTunes library.
    *Use an album friendly view*
    iTunes will let you sort music on many columns, some of which are unlikely to group albums together or put the tracks in their normal order. The most useful order for editing the library is probably *Album by Artist*. If you're not already there, select the list view and click on the column heading for Album until it reads Album by Artist.
    *One cover, too many tracks*
    The iPod (and iTunes to a lesser extent) conflates two or more albums with the same title, most obviously with *Greatest Hits*. On the iPod this can result in one album acting as a combination of two or more. Selecting any cover gives all the tracks of all albums with the same title. The workaround for this "Greatest Hits" bug is to give each album a unique title - I tend to go for *Album - Album Artist* as this reads clearly in the iTunes browser. Alternatively you could use the wording as it appears on the cover or append different numbers of spaces for each different album. Somewhat oddly, setting different values for Sort Album doesn't work.
    *Missing Artist or Album not with others by same artist*
    iTunes relies on the Gracenote CDDB database when identifying CD's. This often marks collections or anthologies of an artist's work as a compilation. In iTunes, however, the compilation flag has the logical function of grouping together tracks with the same album name, but different artists on each track, e.g. "Now That's What I Call Metal 666!". These compilations are then all grouped together at the end of cover flow. Most of us however, would expect "Greatest Hits" albums to be listed with the other albums by the same album artist. For albums which are essentially by a single album artist or group it is best to set the appropriate value for the album artist and clear the compilation flag.
    *One album, too many covers*
    For true compilations, where each track is by a different artist, the answer is to set the compilation flag to true and enable the iTunes preference to *Group compilations when browsing*. If the album is not a compilation however, any tracks which list guest artists may be treated as separate items. Filling in the Album Artist field is enough to link things in iTunes. Sadly, however, the iPod ignores the Album Artist field when grouping albums so this is only a partial solution. You can simply mark the entire album as a compilation which seems to be the way iTMS handles it, however that's not an ideal fix. Short of waiting for Apple to address this issue (and as far as I can tell it goes back to the 1st gen. of iPods) we need a workaround. What I do is to put any additional artist info. in square brackets after the song name. E.g. *Track \[Feat. Guest\]* and then set *Artist=Album Artist* for each track. For anthologies where the Album Artist is credited as part of another group, e.g. for Cream tracks on an Eric Clapton anthology, I use *Track \[As Group\]*. For a track where the main Album Artist doesn't receive a credit, e.g. the first track of the Slim Shady LP credited to Jeff Bass, I just set the track name to *Track \[Guest\]* while still setting the artist to the album artist. N.b. I use square brackets to indicate that this is information about the track as distinct from the song title and also use this style for Mix/Live/Bonus info.
    *One album, still too many covers*
    iTunes may split albums into two or more sections if some tracks from the album have different values for Artist, Album Artist, Album, No. of Discs or Part of a Compilation. Tiny differences such as trailing spaces, accented characters or variants of symbols can sometimes be quite hard to spot. The iPod is also more sensitive to case variations and may split or reorder an album that looks okay in iTunes. Normally overtyping the desired value for each shared field will complete the grouping of the album into one entity. Occasionally, however, this method seems to fail. When this happens I've found that you can force every field to update properly by adding some extra text - e.g. a trailing X, which once applied seems to complete the joining of the tracks into one album. Once this has happened the extra data can be removed and the album should remain properly grouped.
    *Tried that, there are STILL too many covers!*
    The Sort Artist, Sort Album & Sort Album Artist fields can be used to override the normal sort order. For example iTunes automatically drops leading articles (a/an/the) so "The Beatles" are arranged under "B" instead of "T". Occasionally different tracks from the same album can have different values in these sort fields which can also break up the grouping. Making the sort columns visible in iTunes can help with spotting & correcting such problems.
    *One cover for multi-disc album*
    Multi-disc albums are often listed as *Album (CD1)* for CD 1, *Album (CD2)* for CD 2 etc. To display these properly using just one cover, each disc should have the correct *Disc X of Y* values set, and then the entire album should be given the single title Album. Being somewhat obsessive I also renumber the tracks sequentially, working backwards from the last track (so that no two tracks ever have the same number) until I reach disc 1. BTW You can still give the individual discs different artwork should it be relevant so that the correct artwork will be displayed as the album progresses.
    *Tracks out of sequence*
    Check that all tracks have the same/correct disc no. For a single disc album this should be either blank (my preference) or 1 of 1. iTunes will sort tracks with a disc no. of 1 before those that are blank. Just for fun the iPod sorts them the other way around. Consistency is the key. In addition ensure that the Sort Artist, Sort Album Artist & Sort Album fields are the same across all tracks.
    *One artist, many names*
    With some artists, particularly classical composers, you should be aware of alternative representations of their names. E.g. 2Pac vs. Tupac. The menus will work best if for each artist you standardise on just one form of their name. E.g. make a choice between Mozart, W.A. Mozart or Wolfgang Amadeus Mozart, and then apply it consistently. For classical music I tend also to use the Composer as the Artist & Album Artist and either discard the performer details or place these into the Comments field. The Sort Artist/Sort Album Artist fields can group alternate forms in iTunes but these will break up again on the iPod. It is best therefore to use Artist & Album Artist consistently so the name is shown the way that you want and Sort Artist & Sort Album Artist to control where it is displayed.
    tt2

  • Multiple entries in the same row.

    Hi all,
    I have a requirement wherein i have to display some columns in my output table.
    These all values are fetched froma single table MSEG
    Among them one of the column is material number and other is unit of entry.
    For the same material number there clould be multiple entries conataining different
    unit of entry. I want all these entries in single row for the same material number.
    Is it possible by using field symbol or any other way.
    Please respond as soon as possible.
    Thanks in advance.

    Hi, Sumit
    The Sample code for the Control Break Statement is as follow,
    loop at it1_eobi_ded into wa_it1_eobi_ded.
        at new year.
          check_year = 'X'.
          clear wa_year_total.
        endat.
        if check_year = 'X'.
          clear check_year.
        else.
          wa_it1_eobi_ded-year = ''.
        endif.
        add: wa_it1_eobi_ded-p_staff to wa_year_total-p_staff,
             wa_it1_eobi_ded-p_ded to wa_year_total-p_ded,
             wa_it1_eobi_ded-dw_staff to wa_year_total-dw_staff,
             wa_it1_eobi_ded-dw_ded to wa_year_total-dw_ded,
             wa_it1_eobi_ded-total_ded to wa_year_total-total_ded.
        append wa_it1_eobi_ded to it2_eobi_ded.
        at end of year.
          wa_year_total-month_name = 'Year T'.
          append wa_year_total to it2_eobi_ded.
        endat.
        at last.
          sum.
          wa_it1_eobi_ded-month_name = 'Grand T'.
          append wa_it1_eobi_ded to it2_eobi_ded.
        endat.
      endloop.
    Please Replay if you need more help regarding Control Break Statement.
    Kind Regards,
    Faisal.

  • Multiple Entries in MD04

    Hello all,
    Need some advice on this.
    There exists multiple entries for a purchase order in the MD04 screen. One with element name 'POITEM' and the other one with 'Shipping Notification'. The acknowledgement (shipping notification) is received for the total Purchase Order quantity so obviously the POITEM should have been replaced with ShpgNt in the MD04 screen but it din't.
    Is this something to do with the rescheduling factor ?
    PS: Rescheduling Horizon value in OPPQ = 100 days.
    Regards,
    Rahul

    Hello Rahul
    When the shipping notification is created, the respective quantity should be updated on the field DABMG of the purchase order (table EKET).
    I made a quick notes search and I found several corrections for errors in the update of this field.
    1979068
    MRP reduced quantity not updated for schedule lines
    1860803
    Errors when processing confirmation documents in OLTP
    1827920
    Inbound delivery creation failed to update MRP reduced qty
    1877198
    Confirmation lines not update with PO Confirmation SOA
    Please implement this notes into your system, in order to avoid this kind of problem in the future.
    If there are POs wrongly displayed on transaction MD04 due to an inconsistency on field DABMG you should open an OSS incident to SAP under the component MM-PUR-GF-CON.
    BR
    Caetano

  • Can I Turn off iMessage in a group text with multiple people with different devices? There's 1 person in the group text that doesn't use iPhone anymore and they can't see any messages that are sent unless we send as regular text individually.

    Is there a way to turn off iMessage for a group text that includes multiple people with different non-apple devices? When a message is sent, only the iPhone users can see the iMessage. Those without them cannot see the texts unless we send individual Text Messages or turn off iMessage completely.

    now I have this and it still doesn't work.
    Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "OffTime" "1"
    EndSection
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "DontZap" "false"
    EndSection

  • HT1399 When I import a CD to itunes, it splits the album in to multiple entries. I have changed the info on some but others just will not merge. Is there an easy way to do this and can I stop them from splitting in future? Thanks

    When I import a CD to itunes, it splits the album in to multiple entries. I have changed the info on some but others just will not merge. Is there an easy way to do this and can I stop them from splitting in future? Thanks

    Okay this is what fixed my problem. Some kind of error/glitch occured half-way through importing that third cd that prevented further imports from any other cd. Once I completely removed the half-imported cd album from my library I could further import cd's without any problems.

  • 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.

  • Multiple entries in TEVEN for one time event created by HR-PDC

    Hi experts,
    we have a SAP certified time attendance system connected to our ERP 6.0 system by HR-PDC interface.
    Now it happens from time to time that exactly one time event causes multiple entries in SAP table TEVEN and therefore is shown in the check report PT40.
    The number of duplicate records is always different - up to about 140 entries for one and the same time event in the worst case.
    Except the field PDSNR all the other fields contain exactly the same values.
    I have checkt many of the problematic bookings and I have always just one correct time event in the source application and there is only one data record in the corresponding IDOC too.
    Also the number of transferred records shown in the protocol spool of the report SAPCDT45 is correct and identical to the number of records in the IDOC.
    The first place where I can identify the problem with the duplicate records is the table TEVEN.
    No records are left in the interface table CC1TEV.
    I have seen that within one block of identical time bookings in TEVEN the field PDSNR ist not numbered in one sequence but there are gaps in between that are used for any other entries.
    As I can see in historical entries of TEVEN the problem exists already for years so it does not seem to be in direct connection with the latest support pack or something like that.
    The relevant jobs run every 15 minutes whereby SAPCDT45 is started 5 minutes after RPTCC106.
    Has anyone else experienced this strange behaviour or knows what I could further investigate?
    Many thanks for your replies in advance and best regards
    Günter

    Hi Carlos,
    thanks for your fast reply.
    It seems that an entry for Status A00 or A05 would solve my problems and of course I will try to handle it by this view.
    But do you know whether there is any possibility to find out how it comes to these repeated postings?
    I do not know whether the repeated postings happen in the same package (IDOC) or in an earlier package and to be honest I do not think that the record comes from the source application a second time because there I could find only one record that seems to be correct.
    I also cannot understand how it comes that I have even 140 "identical" entries for one time event.
    Could you please let me know your thoughts about that?
    Anyway I thank you for offering a solution - even if I do not understand the reason for the pborlem.
    Thanks and best regards
    Günter

  • How to submit a multiple-selection list box in an Infopath Sharepoint form as multiple entries on a Sharepoint list?

    I would like to be able to submit an Infopath form with a multiple selection list box in Sharepoint as multiple entries on a Sharepoint list.
    For example, a user has to complete the following fields:
    First Name:
    Last Name:
    Favorite Color (can select more than one):
    [] Blue
    [] Red
    [] Yellow
    [] Green
    If the user picks blue AND red and submits the form, the Sharepoint list would feature TWO entries, both with their first and last names, but with different colors in the "Favorite Color" column.
    Please let me know if there is a way to do this. Any guidance would be helpful!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How do I clear out multiple entries for a persons name in the Faces selection?

    Can I get some help clearing up multiple entries in the "Click to Name" dialog box in iPhone 9.6?
    Here's the behavior I'm seeing:
    When I try to assign a name to a Face by clicking the "Click to Name" option, I start typing in my son's name and iPhone is showing me 15 entries for his name.
    Of the 15 options, only 1 of them shows a mini-thumbnail photo of him, and a different one suggests that it's from the Contacts app, but the rest of them are blank.
    This behavior is not happening for any of the other Faces in the library.
    In terms of troubleshooting, I've opened Apple Contacts and ensured there is only 1 contact record for him (there are 2 email address listed). I've selected Library > Faces > And I see one polaroid image in the list for my son. In the past if there were multiple listings here I've seen similar results. I'm not sure what else to try.
    What causes these to be duplicated?

    I spoke with Apple Support today and they provided a workaround:
    I had 7 entries for a person.
    Find untagged photo with person in it. Select Entry 1
    Find untagged photo with person in it. Select Entry 2
    Repeat until you have at least 1 photo tagged with each of the 7 entries
    Now go back to Faces and you'll see 7 polaroids listed.
    Select each of them and merge them.
    Problem solved.

  • LSMW Recording for CLW1 - Multiple entries

    Hi,
      I am doing a recording in LSMW for Tcode CLW1.   This I thought was relatively simple but I have an issue with the second screen after the first screen is processed.  The second screen has multiple entries for this Hierarchy level.  I am reading an excel spreadsheet that the users created for the Hierarchy level assignments.  There are multiple records for the same Hierarchy level but with different Hierarchy level assignments that need to populate the second screen.   Also, I don't know how many entries this second screen will take for the HL assignments.  I know one of the business users told me one Hierarchy level has 98 different HL assignments!  I have searched on the internet and in the forum to try and find the resolution to this problem, with no luck yet.  I am hoping someone out there has had this same issue.   I know I can add a loop to the LSMW code but I'm not sure how to handle it.   I am new to LSMW (Also ABAP only a year) and am learning but need a little guidance if possible or maybe some code examples.
                                     Thanks for you time and knowledge in advance!

    Hi,
    The same problem we have faced.  As it is having multiple entries in second level.  It is easy to do with BDC Program than LSMW.  U can use table control logic in BDC, So that You can easily upload the data.
    Rewardpoint if useful.
    Regards
    (YUGANDHAR.P)

  • Contextual menu in finder "open with" has multiple entries of same apps

    When I use the contextual menu (right click) on documents, the menu point "open with..." shows multiple entries of the same programs. For example when right clicking a PDF, there appears 5 times neoOffice, 2 times Preview, 6 times ... any other application that you could use to open the document. This occurs on all user accounts, only that the multiplicity of listings of the apps is different. So it can't be a preferences problem on my account. What else could be the cause?
    This is quite annoying because the apps-list becomes very long and unusable.
    Note: I have 2 internal start up disks with OS and apps installed, but only one mounted. That means, there cannot be a duplicate (triplicate...etc) copy of any app accessible at any time.
    Thanks.

    if I quit all running applications, it will be pretty hard to put anything in the Trash!
    Are you being literal? Like quitting the Finder too? Or what bespeaks you?
    Actually, I use Xupport to do that, but I think Onyx and several other Utilities include that option.

Maybe you are looking for