Urgent: Exclude combination of MASSN and MASSG

I have to write a report to select all the employees who are not active and at the same time I have to exclude certain Action Type/Reason for Action combination: Ex: MASSN = Y6 and MASSG = 87. But, I have to include all other combinations for Y6 and 87. Ex: MASSN = Y6 and MASSG = 80 is valid for selection. Similarly MASSN =  Z6 and MASSG = 87.
I have used the following code:
DATA: lv_tabix(10) TYPE N VALUE 1.
Excluding the employees of set of Action/Reason for Action
  LOOP AT s_massn.
    READ TABLE s_massg INDEX lv_tabix.
    IF sy-subrc EQ 0.
     DELETE gt_pa0000 WHERE massn = s_massn-low AND massg = s_massg-low.
      lv_tabix = lv_tabix + 1.
    ENDIF.
  ENDLOOP.
Please let me know if any better solution is available

Hi,
s_massn and s_massg are two select-options right.
so select like dis.
select *
from   pa0000
into    table gt_pa0000
where ( massn not in s_massn or massg not in s_massg )
and    other comditions...............
it ll not select records where s_massn = s_massn-low or s_massg = s_massg-low.................
Cheers,
Will.
Edited by: jose on Feb 6, 2008 9:53 AM

Similar Messages

  • I have iTunes on 2 PC's. Somehow I wound up with 2 Apple ID's. I would like to combine the music and apps under one ID so that I can synch with my iPhone 4 and iPad. Can this be done?

    I had a WIndows XP desktop and Laptop. Each had iTunes installed. When moving from iPhone 3 to 4, I acquied a second Apple ID. I want to migrate all of my playlists, downladed songs, podcasts and apps to my new sesktop (HP 64-bit, WIndows 7) and make that my headquarters for iPhone and iPad 1. Is it even possible to combine my media and get it together on my hand-elds? If yes, please enlighten. Thanks in advance.

    I think I will do this.  I will use my apple ID and set face time and message to work independently.  That solves one problrem.  My other problem and maybe my bigger problem is that if I am using my apple ID, how do I iflter all of this so that my kids don't see my contacts, get my apps, etc. ?

  • PO Line Item wise gross value for combination of WBS and Material Group

    Hello,
    Our requirement is to get report for PO Line Item wise gross value for combination of WBS and Material Group. Standard report ME2J gives net price but not gross value for Material Line items. Please let me know if any standard report( or ME2J) will suffice this requirement.
    Regards,
    Milind Dumbre

    Dear Milind
    No standard report available to get the PO Line Item wise gross value for combination of WBS and Material Group. Please go for development by taking reference ME2J.
    Warm regards
    Ramakrishna

  • Combining smart quotes and inch marks?

    Dilemma! I have smart quotes turned on because I need them. I also need to be able to use inch marks in the same document. I have searched the Help files with no luck. Can anyone tell me if there's a way to have both smart quotes and inch marks in the same Pages document?
    Thanks in advance!
    Powermac G5 & Powerbook 15" Mac OS X (10.4.8)
    Powermac G5 & Powerbook 15"   Mac OS X (10.4.8)  

    You can indeed combine smart quotes and the character that indicates inches, by using the appropriate inch mark character from the system-wide Character Palette. To do this, you will need access the Input Menu at the top right of the menu bar. If you don't have the Input Menu visible, go into the International System Preferences, in the Input Menu tab, check the "Show Input Menu in Menu Bar" option at the bottom of the panel, and check "On" for the Character Palette. This will put a little flag on the right side of your menu bar -- this is the Input Menu.
    From the Input Menu, select the Character Palette. With the palette open, choose the Punctuation category. You will be presented with a wide array of punctuation characters, including proper inch and foot marks (which are actually "prime" and "double prime" marks, and are angled, unlike straight quotes). Select in Pages where you want the character to go, and then double-click it, and it will be inserted. The prime and double-prime marks are not considered quotes by the system, and so won't be curlified.

  • For the 1st time I am trying to send an iPhoto by email but get an error message "combinations of username and password not recognised" I use the same details to log on to my Sky Mail (yahoo mail ) account . Any ideas?

    For the 1st time I am trying to send an iphoto by e-mail but get the error message " combination of username and password not recognised  by the server" I use Sky Mail ( yahoo mail) and input the same username and password that I access Sky Mail - have retried many times. Predictably the Sky help desk have no idea. Can anyone help please?

    I regret that you're having trouble setting up your email, corbad! You're on the right track with your incoming email address. You might also try incoming.verizon.net or incoming.yahoo.verizon.net as possible alternatives, and 995 as the port number. Please let me know how that goes!
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Husband and Wife trying to combine music libraries and share between all Apple technologies in the house.

    My husband and I both have apple ids which we use to purchase music, movies etc...  We want to combine our libraries and pull from the same.  We've been doing this manually - but wonder if we can use the Cloud to support 2 apple ids or if we have to create a 3rd apple id / email and somehow transfer our individual music to the 3rd apple id / email.  Creating the 3rd email / apple id will be a pain since we will never use this as an email.  We need Help figuring out the best approach.

    You can't combine two Apple IDs... I have the same problem I have an iCloud mail account and an Apple ID i use to purchase music with and I'd love a way to combine them. Apple has said in the past their looking into a possible way of doing this but I'm doubtful they will... :/
    However, sounds like iTunes Match will probably be the right solution for you http://www.apple.com/itunes/itunes-match/

  • Wrong combination of Plant and Co code at the time of PO creation

    Dear all,
    At the time of creating PO when I am entering Plant and Company code system is not giving any error message if I am entering other Co code , i.e. Co code which is not assigned to the plant. I want an error message in case of maintaining wrong combination of plant and Co code.
    Any suggestion ??
    Reward assured for helpful answer.
    Thx and regds
    Amitava

    Go to SPRO - MM - Purchasing - Environment Data - Define Attributes of System Messages - System Messages
    Then maintain system messages 00 06 167 and then set as E (error) in category field.
    Reward if useful

  • Decided to update iphone 4 to ios 5.1 and mid update it froze and the screen is black.  Phone does not respond to any combinations of home and power buttons, when plugged into computer it does not see it is plugged in, any ideas?

    Decided to update iphone 4 to ios 5.1 and mid update it froze and the screen is black.  Phone does not respond to any combinations of home and power buttons, when plugged into computer it does not see it is plugged in so I cannot restore or anything.  Looks like the screen is on it's just unresponsive and black obviously.  Has anyone had this problem?  I was updating via wifi right in front of my router and my computer.

    Spoke to a "senior advisor" in the Apple TV department.  Her suggestions:  change channel in router to minimize/eliminate wifi interference from other users; move router away from any metal - i.e., DVD player, phone modem, etc.; keep router away from wireless 2.4 gH phones, which are "notorious" for crashing wifi routers.  So she confirms that the problem is one of connection to router suddenly dropping out.
    My own feeling is that none of these fixes will do the trick, because it seems pretty clear that there is a hardware component here - the timing of the drops seems like an overheating issue.  It takes 35-40 minutes for the box to warm up enough for the first drop; then each consecutive drop happens quicker than the one before, as it heats up more.  Each time it drops, its tiny brain gets a little more scrambled; last night it finally wouldn't start up again at all.
    My suggestion is that everyone who is experiencing this problem, please call Apple tech support and ask to speak to a senior advisor in the Apple TV department.  Make them aware of this problem!

  • I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. Mac users can no longer read the page numbers but pc users can.

    I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. As of about 2 weeks ago the mac users can no longer read the page numbers they get a font error message and see only -- where the page information should be. The pc users do not have this same problem. When I replace our regular font (URW Grotesk) with a system font (Verdana) everyone is able to read the page numbers. This is a new issues, I have been creating these documents in the same way for years without a problem. I have been on hold and on and off calls for the last two hours, I keep getting hung up on once I find someone in adobe support to talk to!

    Hi KnoopL,
    Are the Mac users using Preview to view the pdfs or Adobe Reader?
    Regards,
    Rave

  • How to identify combination of created and deleted Bank Details

    Hi Experts,
    I will develop a report similar to standard report RFKABL00. The requirement is to display the date, time, vendor number, vendor name, changed by, field name, company, purchasing org, new value and old value everytime a user make a change on the bank details (Bank Key and Bank Account only in XK02).
    The content of field name will be either Bank Key or Bank Account with its corresponding old and new value. Using transaction XK02, I tried to replace the Bank Account of the vendor and saved the data. The created and deleted values can be found in CDPOS using: objectclas: kred, tabname: lfbk and fname: key; but it is difficult to identify the correct combination of deleted and created values. I observed that for non-key fields in LFBK table there are entries for old and new values but for key fields like bank key and bank account they have nothing.
    How will we identify the correct combination of deleted and created values if there are many entries in CDPOS?

    Murali,
    As already specified in your previous thread. You can get the id using source code. or extend the CO and print the value of s2.
    Regards,
    Gyan
    www.gyanoracleapps.blogspot.com
    www.querenttech.com

  • SC with combination of Limit and account assignment category as unknown(U)

    Hi,
    We are at SRM 5.5, Please let me know is it possible to create SC with combination of Limit and account assignment category as unknown(U) then PO with same combination and distrribution of cost to different cost centers at the time of confirmation from SRM side.
    Please guide me processs of the same in steps
    Many Thanks,
    Venkat

    It is for Extended Classic scenario

  • The function to combine pdf files and the function to add bookmarks stopped working in 10.x

    We had VBA scripts in Access 2003 running with Acrobat 7.0 standard version to combine pdf files and to add bookmarks. The scripts worked fine. Now we installed 10.x and the functions stopped working. Does anyone share the same experience?
    In the scripts, we just call the OLE object with the code like:
        Set acroOrigPdfDoc = CreateObject("AcroExch.PDDoc")
        Set acroNewPdfDoc = CreateObject("AcroExch.PDDoc")
    Then we have the call "acroOrigPdfDoc.InsertPages" and "acroOrigPdfDoc.Save" to save the combined pdf files. All these functions work fine under 7.x. Under 10.x, they stopped working without any error messages.
    Can anyone help me?

    Post your problem in the forum for Acrobat SDK.

  • Insert combination of f1 and f2 in f3 in all records

    hi
    i have a table tabl1 containg fields f1, f2, f3. All fields are varchar2. tabl1 contains 45000 rows. fields f1 and f2 have values and f3 is empty. I want to insert combination of f1 and f2 in f3 in all 45000 records. e.g.
    row1: f1 = 'nottingham', f2 = 'london' ........ now f3 should be 'nottingham london'
    row2: f1 = 'beeston', f2 = 'new york' ........ now f3 should be 'beeston new york'
    row45000: f1 = 'derby', f2 = 'sheffield' ........ now f3 should be 'derby sheffield'
    plz write me a query that can perform this insert into field f3.
    thanks

    Are you using the same client session to check the results or another one? If you are using another session, have you commited the changes? Do you really have data in f1 and f2?

  • VAT registration number in combination with country and company code

    Hi,
    Is there configuration where we can define the VAT registration number with combination of country and company code.
    thanx in advance

    Hi,
    Thanx for the reply.bt the issue is like we have a condition type zvat where condition table have the following fields departure country and destination country,The country of our company code is GB and we maintain a record for condition type zvat i.e GB (departure country) to GB (destination country) 17.5%.While creating a contract if vat is applicable we told user to maintain country GB in both the fieds i.e tax departure country and tax destination country in billing tab at header level of the contract .It is working fine for other company where  company code country is different then GB.But for this where company code  country is GB.An error occurs i.e.There is no vat registration number fot this comapny code XXXX for  country GB.
    Now how should i go about it?

  • Can we use a combination of structural and role authorisations in BW?

    Can we use a combination of structural and role authorisations in BW for the same object (eg cost centre CC) in the same report?
    If so how does it work? Read the structurals from the DSO and if missing then look for role auth?

    When you say two different reports do you mean two different data grids in the same report or two different reports each saved with a different name?
    Two data grids in same report connected to same data source will reflect changes in point of view as you are indicating.
    If you have two physically different reports then they will not be connected the way you want.
    If they are two separate reports what you can do is set up drill links from one report to the other that will let you open the second report from the first report and pass your filter selections to the second report being opened.

Maybe you are looking for

  • Jaybird headphones and Macbook Pro Retina bluetooth connectivity issues

    I recently purchased the Jaybird Bluebuds X Premium headphones and for awhile it would connect to my new Macbook Pro Retina 15'' via bluetooth, but now it doesn't anymore. The headphones connect just fine to my phone (iPhone 4S), and other Macbook Pr

  • Import and Export of Documents in UCM

    Hi There, How can i import or export documents in UCM. Importing/Exporting of bulk(documents in multiple folders)/single document. Any links or documents pertaining to this wil be of greate help. Thanks In Advance, Preethi

  • Firefox stalls whenever in Yahoo e-mail; Windows XP unable to shutdown

    When I am in my Yahoo e-mail account, firefox stalls. The page does not budge. I have to close Firefox and when I try to restart, it says that Firefox is already running. I am also not able to shutdown the Windows.

  • Esata on MBP problem!!!

    I'm using macbook pro with mac os x 10.5.6, with a esata express card (34) (sil 3132 chip) , and try to connect My Book Home (1TB) . But can't mount or even see the disk. I've tried to update the firmware of My Book and also the express card to the l

  • Eclipse v3 support?

    When will the Kodo plug-in support Eclipse v3?