Hi all( ANY ABAPER )

Hi all
My data target is ODS.,, In the start routine , i have wriiten code like this to get the restricted records.,,
loop at DATA_PACKAGE.
    if not  DATA_PACKAGE-knart eq 'ZBPR' and
       DATA_PACKAGE-knart  eq 'ZTRF' and
       DATA_PACKAGE-knart eq 'ZTRD'.
       delete DATA_PACKAGE.
       delete DATA_PACKAGE where knart = ' '.
       endif.
  endloop.
But i am getting all records irrespctive of the above condition.,,  What would be the problem? Can anyone please explain me to sort out this issue?
ITS VERY URGENT
Regards
Karthik
Edited by: karthikeyan palaniayya on Apr 7, 2008 8:45 AM

**Create a range internal table.
data: ltr_knart type range of KNART,
        lwr_knart like line of ltr_knart.
move:
  'I'       to lwr_knart-sign,
'EQ''   to lwr_knart-option,
'ZBPR'  to lwr_knart-low.
append lwr_knart to ltr_knart.
move:
  'ZTRF'  to lwr_knart-low
append lwr_knart to ltr_knart.
move:
  'ZTRD'  to lwr_knart-low
append lwr_knart to ltr_knart.
delete from data_package where knart is initial.
delete from data_package where knart not in ltr_knart.
Note: Hope this will work for you. Loop is not required.
Thanks.
P.S: Let me know if you are using transformation (in 7.0 environment. then u need to use source_package instead of data_pakage.

Similar Messages

  • Any abap program for copying transformation in bi 7.0

    Hi guys
    Could you please let us know is there any abap program to copy transformation in BI 7.0 as we used to have copying update rule in Bw 3.5 or is there any other way ! It is for same datasource , ODS but different source system...
    Advance thanks

    Hi,
      It is there in support packs. we use to have similar kind of problem but we applied and it works pretty neat.
    i think the support pack is sp17 or sp16.
    thanks
    syed

  • Dynamic configuration- Is file name stored in any abap table in PI

    Hi.
    Is there any ABAP table in XI containing the dynamic configuration's xml of a message.
    For any file scenario Can I get the file name from any of the abap table in PI
    Regards,
    Deepak

    Interesting ABAP tables in XI
    Interesting ABAP tables in XI – Part I
    Regards,
    Phani

  • Having problems watching a tv series on iTunes on my macbook pro. bought from iTunes on this device but when i go to play it all it does is have a black screen and nothing happens or plays at all. any suggestions?

    having problems watching a tv series on iTunes on my macbook pro. bought from iTunes on this device but when i go to play it all it does is have a black screen and nothing happens or plays at all. any suggestions?

    Hello toddy7,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iTunes: How to install the latest version
    http://support.apple.com/kb/ht5654
    Mac: Choose iTunes > Check for Updates.
    Have a nice day,
    Mario

  • Can't access itunes store. no error message but store won't open at all. any ideas? thanks

    can't access itunes store. no error message but store won't open at all. any ideas? thanks

    i been trying to purchase music and get into my itunes account but error -1202 won't allow me to get into my account or purchase music. I spoken with the so called experts at apple and they've been putting me through the ringer with their suggestions that don't work. i've been purchasing music all before with no problems why all of a sudden this problem? Can someone please tell what to do or give any suggestions as to why this is occuring.

  • Hi all - any idea how to download songs from an old AOL iTunes account - have updated to Apple ID which is fine for new songs but didn't realise this wouldn't include the old songs.  Have a 1st gen ipod with the original purchases on if that helps

    Hi all - any idea how to download songs from an old AOL iTunes account - have updated to Apple ID which is fine for new songs but didn't realise this wouldn't include the old songs.  Have a 1st gen ipod with the original purchases on if that helps

    ....... is there a way for me to get my old music library (which was controlled by my dad's apple ID) onto my new mac, but from that point on, start using my own apple ID for purchases?........
    Yes, once the content is in iTunes on your computer, just click it to play and authorise your computer to play it by entering your Dad's ID and password.
    Log into your own account and start purchasing your own content which will then be added to the existing content.

  • Hello, I have update may Win8 to 8.1 and the Itunes doesnt start at all. any idea?, Hello, I have update may Win8 to 8.1 and the Itunes doesnt start at all. any idea?

    Hello, I have update may Win8 to 8.1 and the Itunes doesnt start at all. any idea?, Hello, I have update may Win8 to 8.1 and the Itunes doesnt start at all. any idea?

    I did this several times.... not help. If I run win8.1 safe mode the Itunes stars and mentioned that video and sound driver not fit for them. After this I downgrade the driver to Win7---> not helped after this I update driver to latest--> not helped....
    This is the situation right now.

  • How to write a program to read any texts in any ABAP program?

    Hi Experts,
    How can I write a program to read specific coding section or any texts in any ABAP program?
    For example, I want to wirte a program to count how many 'LOOP' and 'ENDLOOP' are in any other program.
    Thanks!
    Best regards,
    Hao

    Hi,
    Follow the given below URL for the program to read another Program into an internal Table.
    http://abap4.tripod.com/Upload_and_Download_ABAP_Source_Code.html
    Once the Code is there in the Internal Table , you can do the necessary string search.

  • Mac Mail Issue: I was having trouble sending to hotmail accounts from my Earthlink account, they had me go into Mac Mail preferences and make changes, now Mac Mail doesn't work AT ALL - any help changing the settings back to correct Mac Mail settings? I c

    I was having trouble sending to hotmail accounts from my Earthlink account, they had me go into Mac Mail preferences and make changes (because they claimed it was Mac Mail's fault, even though the hotmail error code said it's because Earthlink is blocked by hotmail), now Mac Mail doesn't work AT ALL - any help changing the settings back to correct Mac Mail settings? I can provide a transcript of the entire tech chat session, if that will help...

    both apostrophes are used correctly, thanks
    doesn't = does not (this is called a contraction)
    it's = it is
    Mac Mail's fault = possessive
    any help with the actual issue? thanks!

  • My iPad will not turn on at all any suggestions?

    My iPad will not turn on at all, any suggestions??

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • HT1414 wifi is grayed out, also 3g is not working, i cannot connect to internet at all. any suggestions how to resolve this issue

    my wifi signal is grayed out, i cannot switch it on, also 3g on my phone has stopped working, i have updated software a few weeks ago, i also restored my phone 2 days ago, and tried to rest newtwork settings, but it does not help at all. any sggestions or comments what can be done in order to resolve this issue

    You are having a hardware failure.  You will need to bring your phone to Apple for replacement.  If not under warranty, expect to pay $199 for out of warranty replacement.

  • Is it possible to download all the ABAP example programs from ABAPDOCU

    Hi abapers,
    Is it possible to download all the ABAP example programs from ABAPDOCU .
    If so, How?
    please help me...

    Hi ramesh,
    All example programs in ABAPDOCU transactions are also in abap online help documentation with detailed explanations.
    If you want all the programs you can download a pdf file from this link.
      http://www.consolut.de/saphelp/english/Bcaba/BCABA.pdf
    Hope this helps...
    regards,
    suresh

  • All the numbers and apps are enlarged i cant use by iphone4s at all. any suggestions?

    all the numbers and apps are enlarged i cant use by iphone4s at all. any suggestions?

    Read here:
    http://help.apple.com/iphone/8/#/iph3e2e367e

  • Hello I went to wipe my 1st generation iPad and then tried to update the iOS now the iPad won't work at all any ideas what I can do?

    Hello I went to wipe my 1st generation iPad and then tried to update the iOS now the iPad won't work at all any ideas what I can do?

    You can't update the original iPad beyond iOS 5.1.1 so if you were already running that version, there was no reason to wipe the iPad to try to update.
    Won't work at all, doesn't tell me the whole story. Does it power up but not respond to anything? Does it not power up at all? Some detailed information in context would really be helpful.
    IF the device will not start up, try a reset. Hold down on the sleep and home buttons at the same time for about 10 seconds until the Apple Logo appears on the screen.

  • All/any computers i have had for 10 years are, even though stand alone..forced to be a workstation on an unknown domain whose people set global policy through mmc and every exploit and probably more..they set global policy always know my passwords

    i could go on forever and the only way i can be helped is by remote and seeing irregularities for yourself or to physically come to where i am. denial of service, controlling which updates, controlling all services, devices..many unsigned drivers..use of
    many "legacy" parts, technology in computers..changing of most file extdoing...anyone out there who could help? thanks
    ensions..and icons, control of colours themes ..of cd disk..won't let me set up a printer always know any passwords including "setup" where i will change things only to have them change back..they control of course task manager mmc and anticipate
    with all kinds of rules what i can or can't do..enough .said..i have been a teacher at college level a broker with CIBC a boat captain and owned a number of businesses and I assure you these people or organization have cost me 100/000 of frustration not to
    mention over $200,000 in cash..they often crash my computers when i get close to new information on how/what they are i am rarely able to get any advice or  help  mainly because so many "experts" don't believe it is possible..they use every
    kind of network protocol, many at once plus remote so loop ras, unp and tunnelling etc..all software or security and spyware virus programs assume that if your computer shows as being on a network/domain then all activitied by the admin of that domain are
    ok..sso no protection..this also has happened tp hundreds of computers..o.s doesn't matter or linux or apple   xp, vista windows 7 etc

    That is a legitimate Mozilla newsletter. As it says in the email:
    You're receiving this email because you subscribed to receive email newsletters and information from Mozilla. If you do not wish to receive these newsletters, please click the Unsubscribe link below.
    Unsubscribe https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/
    Modify your preferences https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/ "

Maybe you are looking for

  • Can you write an excel file on client machine instead of on the server

    I am trying to user cfSpreadSheet functon. The first question I have is, can you write the file on a client machine? I tried but they all end up on the server drive. Scecond question, is there a way to do row and column range formating in CF9.0? Spre

  • InDesign CS6 will not open

    It launches for a few seconds then disappears without completing startup.     The little launch screen says "calling early initializers" and "starting up service registry" before disappearing. I have tried the suggestions at http://helpx.adobe.com/cr

  • Script select parent group by layer

    I have complicated workflow in photoshop in which i often use selection of layers by ctrl+click (auto-select is unchecked and selecting layers is chosen) That works good for me. But some time i need quickly select parent group of active layer (only o

  • How to covert csv to Excel 2007

    Hello Can anyone knows that how to convert the CSV file to the EXCEL 2007 format (xlsx ) not to excel 2003(xls) .

  • Activating RFC authorization

    Hi Experts,          Please explain to me how to activate the RFC authorization "CV_AUTH_USERGROUP". Regards, Shynu John