Delete infobject NE A*

Hi there,
We have a cube Zcube in which I have an infoobject ZABC, which has data like A01, A02.. A99, XP1, CP1...
My requirement is I want to delete the data for infoobject ZABC which is not equal  A*
I tried using end routine like this Delte Result_package whre ZABC NE 'A*'. But it seems to be wrong, I'm getting zero added records.
could any one please help me ..
Many thanks
J

concerning the offset, i'm not sure you can do this in the delete statement. just try. if it's not allowed you need to loop over the package.
in that case it will be something like this :
loop at result_package
ind = sy-tabix
if zabc(1) eq 'A'
delete result_package where index eq ind
endif
endloop

Similar Messages

  • Problem in deleteing the request

    H All,
               We ran a load to Master Data (info provider)object.The Load got failed due to invalid data entries.Wheb i tried to dele that particular request from infoprovider .Request is not getting deleted and got folloed msg.
    You want to delete request(s) from InfoProvider 0AUVEHICLE
    The data target is a master data table
    The records in the request are no longer transparent in the table
    Only the control entry that shows that the request has been updated
    already, is deleted.
    This means that the request can be updated again.
    Can you please help me in deleting this request.
    Kranthi

    Kranthi,
    This means that even though you delete the request - the master data entries still remain. This happens for Master Data.
    You will have to delete the same and reload the data back in.
    For example if you data load has :
    1|BCD|Sales
    and this is part of your master data load , even if you delete the request the entry is not deleted - the entry still remains - you can delete the request in the manage atb and reload the data once again.... SAP is just givig you information that Master Data Objects are not like a DSo where if you delete the request the entries go away. This is because the Infobject tables do not have any request based data - al the data gets updated into the same tables and once you load the data - the data remains there till a manual delete is triggered and request based deletion is not possible...

  • Created Infobects in DEV server and Transported to QA now I want to delete

    Hello All
    Created Infobects(10) in DEV server and Transported to QA now I want to delete two infobjects from QA/NOW how to delete in QA?
    should I delete in DEV and transport to QA,if I do like this will that deleted objects will disappear from QA?should I maintain same transport request number orelse different one?
    cAN V DELET OBJECTS IN QA?
    pL LET ME KNOW THIS?
    Many Thanks
    balaji

    Hi,
    Once you have done a Transport of elementary objects such as InfoObjects from Development to Quality and you want to delete the InfoObjects from Quality system then you cannot delete those objects with the another transport requests. Instead you should have an authorization to delete those objects in Quality.
    But you can remove those requests from the Transport Queue so as to avoid the requests accidentally transported to production.
    If you take other objects like cube or ODS or Multiproviders and you want to delete some infoobjects from those infoproviders you can make the changes in development and you can transport to quality system. In this case the objects will be overwritten with the new version.
    Same is the case also with InfoObjects. You can change the property but you cannot delete in quality.
    Hope this is clear to you.
    Regards,
    K.Manikandan.

  • Enahncement - lenth of object cause deletion of data

    hello friends ,
    need some info .
    I am working one one enhance ment , where 2 feilds have been added to the data source and counter infoobject also been created in BW. 
    Now the problem , one another fields lenth has been changes in R/3 from 14 to 15 . and so i have to also change the lenth of counter info-object from 14 to 15 .
    When i do so , it's been asking me to delete the data from ODS , as this infoobject has been used there .
    could you please let me know , how can i do it with out deleting data , because when i transport thie things in productioj , it will also ask me to delte the data in prdouction ,.
    I do not want to delete huge data in prod , but also want to change the lenth of object frm 14- to 15 .
    Is it possible ?
    regards

    >
    > I am working one one enhance ment , where 2 feilds have been added to the data source and counter infoobject also been created in BW. 
    >
    > Now the problem , one another fields lenth has been changes in R/3 from 14 to 15 . and so i have to also change the lenth of counter info-object from 14 to 15 .
    >
    > When i do so , it's been asking me to delete the data from ODS , as this infoobject has been used there .
    >
    > could you please let me know , how can i do it with out deleting data , because when i transport thie things in productioj , it will also ask me to delte the data in prdouction ,.
    >
    > I do not want to delete huge data in prod , but also want to change the lenth of object frm 14- to 15 .
    >
    > Is it possible ?
    >
    > regards
    hi,
    in a simple way, create new infoobject(15) for the cube and make the previous infobject as noupdate.

  • Infobject still used in infosource Zods1 ( default)

    Hello Experts,
    A small issue while deleting a infobject.
    I am trying to delete an infobject which was earlier included in the ODS and the corresponding Infosource. I deleted the infobject entry in the infosource Zods. But I am not in a position to delete the infobject.
    it gives me following error:
    (green) Deletion of objects with type infobjects.
    (red) Using Infobject Zinobject1:
    (red) Still being used in infosource Zods1 ( default).
    (green) Infobject Zinobject1 cannot be deleted due to above references.
    As far as I know there are no references left. I have deleted all the references of that infobject Zinobject1.
    Any suggestions appreciated.
    Thanks,

    I checked in the Metadata repository. It show that the infobject is used by the infosource. But I have already deleted it from the infosource. If I go into the infosource and search it not present.
    Any idea if this a known problem.
    Thanks in advance for the suggestions...

  • Re: delete master data

    Hi All,
    How to delete master data. I tried delete master data from the context menu of infoobject.
    But it says some of master data not delted. I deleted all the transaction data exist for that master data.
    But still  i am not able to delete the master data.
    Pls provide me the solution.
    Regards,
    Anand

    1.Ideal way is right click and delete master data .
    2.Also you may right click > maintain master data->execute-->select all >click on delete icon>SAVE
    3.You may use func module SUBST_DELETE_TABLE_CONTENT.
    Kindly check  where used list of that infobject in transport connection , delete data from dependent infoproviders and then try deleting master data.
    Edited by: Neetika Sharma on Jun 22, 2010 9:43 AM

  • Regarding the Generic Selective deletion Program

    Hi Gurus,
    I have to create a deletion program for any target CUBES/ODS. The program should do selective deletion for ther target on the basis of the parameters provided.
    e.g.:
    Usually target ZXXXX_XXX is requested to load. ZXXXX_XXX  is loaded from DSO ZYYYYYY. So first we have to selectively delete data from both the target and then start loading data. Create a program that should accept the target and selection conditions and then delete the data from the target according to input conditions.
    We can consider FM RSDRD_SEL_DELETION for reference.
    Please help me with the details of the FM RSDRD_SEL_DELETION & its parameters. Please also suggest if any other solution.
    Thanks in Advance,
    Sourabh Deo

    Check the following details :
    Suppose selective deletion on the basis of company code
    data: L_THX_SEL TYPE RSDRD_THX_SEL.
    data: LN_THX_SEL like LINE OF L_THX_SEL.'' this will contain InfoObject  which is to be refered for sel deletion and the range of values for that info object .
    data: L_RANGE TYPE RSDRD_S_RANGE. " used for internal calculations
    data: L_T_MSG     TYPE RS_T_MSG.
    data: T_TR_RELOAD TYPE ZIB_TR_RELOAD OCCURS 0 WITH HEADER LINE. "used for internal calculations
    SELECT * FROM XYZ  into TABLE T_TR_RELOAD. "retrieve company codes from a database table
    LN_THX_SEL-IOBJNM = '0COMP_CODE'. '' infobject for company codes .
    L_RANGE-SIGN = 'I'.
    L_RANGE-OPTION = 'EQ'.
    L_RANGE-KEYFL = 'X'.
    "affect all the company codes for  selective delete retrieved previously by a select to a DB table
    Loop at T_TR_RELOAD.
      L_RANGE-LOW = T_TR_RELOAD-COMPANY.
      APPEND L_RANGE to LN_THX_SEL-T_RANGE. range of values for company code for which data is to be deleted.
    endloop.
    insert this selection to a table
    INSERT LN_THX_SEL INTO TABLE L_THX_SEL.
    "call the function for selective deletion
      CALL FUNCTION 'RSDRD_SEL_DELETION'
           EXPORTING
                I_DATATARGET      = 'Cube1 ' "InfoCube you want to do the selective deletion
                I_THX_SEL         = L_THX_SEL "table containing details abt values to be deleted for the given infoobject
                I_AUTHORITY_CHECK = 'X'
                I_THRESHOLD             = '1.0000E-01'
                I_MODE                  = 'C'
                I_NO_LOGGING            = ''
                I_PARALLEL_DEGREE       = 7
                I_NO_COMMIT             = ''
                I_WORK_ON_PARTITIONS    = ''
                I_REBUILD_BIA           = ''
                I_WRITE_APPLICATION_LOG = 'X'
           CHANGING
                C_T_MSG                     = L_T_MSG.

  • Add infobject to cube-- reload?

    Hello BW Experts,
    I have to add 0material to the cube1. cube1 is already existing in production with lots of data.
    -- can i add the 0material without deleting the data
    -- after adding 0material do i need to reload the data, if i have to only need the 0material info going forward?
    Please let me know the usual approach of adding the infobject to the cube1.
    Suggestions appreciated.
    Thanks,
    BWer

    Might be worth taking a look at this paper by Dinesh Lalchand - speaks to your question and broader applications as well
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f421c86c-0801-0010-e88c-a07ccdc69601

  • Delete File From Mounted Volume

    Hey,
    I am trying to delete the "Calendar Cache" files on both my laptop PowerBook G4 and the Mac Pro Quad that I sync my calendars with. I am using ChronoSync and the individual calendars sync fine, but there is a little house keeping needed with the cache file. They need to be deleted on both systems in order to "refresh" the views of the calendars.
    So after the sync of calendars, I have the software initiating an AppleScript that deletes both. Here's the script:
    +(* PowerBook Files / delete cache file *)+
    +(* Please note that both systems have the same username. This may be arise a conflict *)+
    +tell application "Finder"+
    + activate+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "useranthony"+
    +end tell+
    +(* Mac Pro Quad/ delete cache file *)+
    +tell application "Finder"+
    + mount volume "afp://10.10.10.1/anthonyabraira"+
    + tell application "Finder" to delete file "Calendar Cache" of folder "Calendars" of folder "Library" of disk "/volumes/useranthony"+
    +end tell+
    I am having trouble addressing a deletion on the networked Mac Pro Quad.

    why send it to the trash — just delete it...
    (* PowerBook Files / delete cache file )
    try
            do shell script "rm -rf /Library/Calendars/Calendar\\ Cache"
    end try
    you may need a delay for the Mac Pro Quad to mount
    ( Mac Pro Quad/ delete cache file *)
    --the mount and then the delay
    delay 4
    try
            do shell script "rm -rf /THE-CORRECT/PATH-HERE/Library/Calendars/Calendar\\ Cache"
    end try
    Tom

  • How to delete the members in one dimension use the maxl script

    i have question that i want to delete the members in one dimension useing the maxl script, but i do not know how to do it. can the maxl delete the members in one dimension? if can, please provide an sample script, thank you so mcuh.

    MaxL does not have commands to alter an outline directly, except the reset command which can delete all dimensions but not members selectively. The best you could do would be to run a rules file (import dimensions) using a file that contains the members you want to keepload rule for the dimension. As typical the warning is to test this first before you do it on a production database

  • Error while deleting a mapping

    Hi all,
    I am getting the following error while deleting a mapping. My client version is 10.2.0.4.36
    API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
         at oracle.wh.util.Assert.owbAssert(Assert.java:51)
         at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
         at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
         at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
         at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
         at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks in advance!
    Sebastian

    These type of Internal Errors are all too common in OWB and it's difficult to diagnose the exact problem.
    I'd suggest closing the Design Centre, going back in and trying to delete it again, this will often resolve Internal errors.
    There's also an article on Metalink Doc ID: 460411.1 about errors when deleting mappings but it's specific to an ACLContainer error, so may or may not be of use.
    One of the suggestions is to connect as the Repository Owner rather than a User and try to delete the mapping.
    Cheers
    Si
    Edited by: ScoobySi on Sep 10, 2009 11:44 AM

  • Adobe cloud tries to load addon which I have deleted in Extension manager

    when Adobe Cloud starts it tries to load an application (Edge FX lite) that I have deleted in Adobe Extension Manager cc. I get the error message ' unable to install the addon EdgeFX lite  error 603. How do I stop this?
    Also in Adobe Exchange in 'My Stuff'  there are showing addons which I have removed in Adobe extension Manager cc which I would like to be removed from this listing as I will never use them, but if I right click to uninstall I fail to get rid of them.

    Apologies, without making the assumption that you are signed in
    1) Go to https://creative.adobe.com/addons/
    2) In the top right hand corner select sign in and enter your Adobe ID and password
    3) Once logged in, on the center of the screen at the left hand side, select the link 'All your purchases and shared items'
    4) You will then be taken to a page that is the equivalent of your My Stuff panel.
    5) You can then install individual add-ons/extensions.
    Kind regards,
    Lea

  • IPhone voice memos can't be deleted

    I have unchecked voice memos and eleted others from my itunes library, but they still show in Voice Memos on the iphone (when viewed from itunes. How do I get rid of them from the iphone. I think this is why I have 4GB of OTHER cluttering my iphone memory

    Thanks, selecting Manually Manage allowed me to delete the errant voice memo files. Curiously, it did not delete within the general Music folder so had to dlete from there as well. I think they are gone, but saw no reduction in space used. Have to look somewhere else for that.

  • IPhone Deletes Exchange Emails To Wrong Folder

    Hello all!
    I have a Microsoft Exchange mail account setup on my iPhone 4 (iOS 6.1) which works wonderfully, short of one aspect:  Emails deleted from my phone do not go to the accounts standard 'Trash' folder, but to a different 'Deleted' folder.  I can see no way to change this setting.  Any ideas?

    Thanks Templeton.  This is the only definitive answer I've found anywhere.  Turns out my iPhone was correct and my other email clients are sending to the wrong folder!

  • When I sync my iPod to my MacBook through iTunes new events do not show up and old events are not deleted. I am using Snow Leopard  and not iSync.

    I am using Snow Leopard on a MacBook. I have an iPod touch 3G. I do not use iSync it Mobile Me. When I sync my iPod through iTunes new events on my iPod do not show up on my Mac and old events do not delete. I have read help instructions that include deleting the data on the iPod. The iPod has the correct data and the Mac does not so I have not followed those instructions. I need help as the only reason I bought the Mac was to be able to sync, back up, view and print my calendar. Currently it is useless. If only Apple could have learned from the elegance of the Palm software.

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

Maybe you are looking for

  • Trouble setting up new device with iCloud backup

    I am trying to set up a new Mac Book Pro, and a new iPad Air. I wasn't sure which to choose, set up as new or from iCloud backup. I was having challenges backing up to iCloud from my iPhone, so I chose set up as new, thinking when I logged into iClou

  • Creating your first AIR application for Android with the Flex SDK

    This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac25d3d8c712b2d86751e-8000.html

  • How to install skype without it detecting my user ...

    Hi All I am giving my laptop to family member and have cleaned it up and re-installed skype so he can set it up for his own use, however I notice upon downloading again Skype automatically detects MY user profile. How can I uninstall and re-install s

  • Address book won't save changes to note field

    Like the header says. Address book won't save changes to note field. There's another thread with the same header:  https://discussions.apple.com/thread/2591053?threadID=2591053  But it's archived so I had to post this new one. If I made a change in a

  • Stock material to fixed asset- STO

    Hello Guys, I have a typical requirement from our client. When equipment is ordered for our company, it arrives first at the warehouse.  The logistics people want to treat this like a material so they can see a stock overview of e.g. ovens.  But when