Regarding delete entreis from infotype

hi experts,
i need to delete multiple records from the custmized infotype one at a time plz suggest me how to do that plz dnt suggest loop at itab,hr_infotype_opertaion as i already used but it is taking so much of time for deleting 4000 to 5000 entries.
plz help me .....

Rajat,
  You can go for this Njoy Transaction SE16N which is a direct delete at the database
give any specific selection criteria .Normally when you trigger this tcode selection screen appears and as per your selection criteria the output appears in the ALV Grid output without delete buttons. To Ensure Delete buttons After providing the selection criteria give &SAP_EDIT in tcode bar and press enter .. this will ensure you the delete buttons in the GRID output . At a time you can delete 4-5k of entries ...
Cheers,
Jacks.

Similar Messages

  • Deleting records from infotype 0587 - PF

    Hi,
    I have a requirement to delete some records from the infotype 0587 which is having the TimeConstraint 1. For that one of my friends suggested me to use the Function module SE16N_INTERFACE to delete those records. Is this method suggestable?
    will there be any problem if i delete those records through that function module.  Can any body please suggest me.
    Thanks
    Karthik

    Hi....
    the function module which your friend suggested SE16N_INTERFACE is used to Display table as full screen..
    it cant be used to delete record for an infotype..
    And also there is no function module to do forbidden actions.
    but there are lot of indirect methods to delete the data.  But when a time constraint is set it is not advisable to delete.
    Anyways.. you only can do it with DELETE statement in report program.
    select single dbtab from t777d into gv_dbtab where infty = p_infty.
    delete from (gv_dbtab) where pernr in p_pernr.
    OR
    delete (dbname) from (work area).
    else ..you can use SE16N with editing mode set to active and then delete it .. BE CAREFUL in doing this ... Not to be used in Production.
    Hope this helps!
    Regards,
    Jhings.

  • Change of functionality in deleting songs from iCloud/iTunes Match with the 11.0.2 version of iTunes?

    I updated to iTunes 11.0.2 and this version brought a change of wording regarding deleting songs from iCloud/iTunes Match, and I'd like to know if there are any changes in functionality to match the change in wording:
    With version 11.0.2, when I try to delete any song (uploaded, matched or purchased) I'm presented with a pop-up dialog box that asks me if I'm sure and also gives me a "Also hide this song from iCloud?" option.
    In prior iTunes versions the pop-up dialog box would ask instead "Also delete this song from iCloud?".
    Has the functionality changed? If so, what's the difference in functionality between 11.0.2 and previous versions? If the functionality of deleting songs has changed, how do I delete an uploaded song from both my local library and iCloud/iTunes Match?

    I am having the same issue- pelase could anyone help? Mods?

  • Help needed in deleting nodes from RAC database

    Our DB is 10g RAC database and the servers are Window 2003 server. Initially the database was configured to have 4 nodes. For some reason we stopped the instances in the first two nodes and the current database is running on node3 and node4. I queried the v$thread view and it shows 3 records. Thread 2 is closed and disabled. Thread 3 is open and public and thread 4 is open and private. Now we need to disconnect nodes 1 and 2 from RAC db and cluster ware (We use Oracle cluster ware) and plan to use those two servers for other purposes. Although I read through the Oracle doc regarding deleting node from RAC “11 Adding and Deleting Nodes and Instances on Windows-Based Systems” and wrote down the steps we need to take but I am still not comfortable in doing it since it is production env and we don’t have any dev env to practice those steps. So I would like to borrow your experiences and your lessons learned while you were doing those. Please share your thoughts and insights with us.
    Thank you so much for your help,
    Shirley

    what's your full version? I can warn about specific issues in 10.1.0.3 and 10.2.0.1 - for example, in some cases (depending on how the listener was configured), it will be impossible to delete the listener for the deleted node. Known bug.
    To avoid many many known bugs, you may want to upgrade to at least 10.2.0.2 before removing a node (from my experience, this is the first stable RAC version).
    In any case, deleting a node is a rather delicate process. I really really recommend practicing. Take any pc/laptop, install VMWARE, define two virtual machines, install RAC and remove one node. It will take you an extra day or two, and could save your production.

  • Regarding deletion of archives from asm

    Dear Gurus
    I want to delete archivelogs from ASM and want to schedule a script for same in crontab.Please tell me the way for same.
    Also i removed archives manually from asmcmd.But when i runned below command,i didn't observed any change in the free_space.
    select total_mb,free_mb,(total_mb-free_mb) used from v$asm_diskgroup;
    Regards

    First of all: always, always include your four digit Oracle version and platform information,
    Moreover, crontab is a paleolithic tool, which you don't need as there is a more powerful scheduler in both database control and the database itself.
    But more importantly: One doesn't remove archivelogs using OS commands, as that will make RMAN backups don't function correctly anymore.
    You need
    delete obsolete archivelog all
    in RMAN
    Doing so, the RMAN catalog in your controlfile and the OS will be consistent.
    Sybrand Bakker
    Senior Oracle DBA

  • Regarding workflow for OM infotype 1000,1001

    Hi all,
    i am having one scenerio.
    i have to trigger a mail when there in any create,delete,change in infotype 1000,1001.
    it should trigger a mail to the personal admin which is stored in 0001 infotype of that employee.
    how this can be achived?
    is there any workflow exists for this one or thrgh dynmaic action.
    Please suggest any solution for this one....
    Regards,
    Manjunath

    Hi Manjunath,
    I think there is a standard workflow for that, otherwise you could create one. I think you will need to make sure for which changes exactly you need to trigger this workflow.
    You need an event raised when a change is done, and then the workflow will start and you can send the e-mail. You probably need to create a new rule to determine the personal admin from infotype 0001.
    Regards,
    Martin

  • Function for deleting and modifying Infotype 2011 : HR_TMW_DB_UPDATE_TEVENT

    Hello experts,
    we have and requirement where we have to insert/delete or modify specific clock in/out posts from infotype 2011. Looking trough this forum I was not able to find how to delete or modify specific events from SAP correctly.
    We are able to insert new record via FM : HR_INFOTYPE_OPERATION with ease, but can not use the same function module to either delete or modify the same record.
    I was able to find FM: HR_TMW_DB_UPDATE_TEVENT and tried it in combination with HR_TMW_DB_READ_TEVENT, with out any succes.
    My question is: in what way must the tables be filled for deletion or modification, for FM HR_TMW_DB_UPDATE_TEVENT to work?
    With testing deleting a record, function explicitly demands taht all four tables are set
             del_teven      = t_teven_del
             ins_teven      = t_teven_ind
             del_teven_more = t_teven_more_del
             ins_teven_more = t_teven_more_ins 
    , but still the record is not deleted form table TEVEN.
    Thank you in advance for any given anwsers,
    Matevž

    Hello Rajesh,
    the code goes:
    * get original data:
        CALL FUNCTION 'HR_TMW_DB_READ_TEVENT'
          EXPORTING
            pernr    = iv_pernr
            fromdate = iv_begda
            todate   = iv_endda
          IMPORTING
            result   = result_tmw.
    * get next seq. nr.:
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        nr_range_nr                   = lv_ragne
        object                        = lv_object
    IMPORTING
       NUMBER                        = lv_number
    EXCEPTIONS
       INTERVAL_NOT_FOUND            = 1
       NUMBER_RANGE_NOT_INTERN       = 2
       OBJECT_NOT_FOUND              = 3
       QUANTITY_IS_0                 = 4
       QUANTITY_IS_NOT_1             = 5
       INTERVAL_OVERFLOW             = 6
       BUFFER_OVERFLOW               = 7
       OTHERS                        = 8.
          LOOP AT result_tmw INTO s_result_tmw.
            s_teven = s_result_tmw-teven.
            IF s_teven-ldate = iv_ldate AND s_teven-ltime = iv_ltime AND s_teven-satza = iv_satza.
              "set TEVEN_DEL tables for reading
              APPEND s_teven TO t_teven_del.
              APPEND s_teven_more TO t_teven_more_del.
              "set status for change to TEVEN_INS tables
              s_teven-pdsnr = lv_number.
              s_teven-ldate = iv_ldate.
              s_teven-ltime = iv_ltime.    
              s_teven-satza = iv_satza.
              APPEND s_teven TO t_teven_ins.
              MOVE-CORRESPONDING s_teven TO s_teven_more.
              APPEND s_teven_more TO t_teven_more_ins.
              EXIT.
            ENDIF.
          ENDLOOP.
    * execute deletion of current record:
          CALL FUNCTION 'HR_TMW_DB_UPDATE_TEVENT'
            TABLES
              del_teven      = t_teven_del
              ins_teven      = t_teven_ins
              del_teven_more = t_teven_more_del
              ins_teven_more = t_teven_more_ins
            EXCEPTIONS
              insert_failed  = 1
              update_failed  = 2
              OTHERS         = 3.
          COMMIT WORK.
    Now I am using the following code, that is working:
    * get original data:
        CALL FUNCTION 'HR_TMW_DB_READ_TEVENT'
          EXPORTING
            pernr    = iv_pernr
            fromdate = iv_begda
            todate   = iv_endda
          IMPORTING
            result   = result_tmw.
    ********************************************************************** modification
    * CODE :                            MODIFY CLOCK IN/OUT
        IF iv_operation = 'MOD'.
          LOOP AT result_tmw INTO s_result_tmw.
            s_teven = s_result_tmw-teven.
            IF s_teven-ldate = iv_ldate AND s_teven-ltime = iv_ltime AND s_teven-satza = iv_satza.
              "set TEVEN_DEL tables for reading
              APPEND s_teven TO t_teven_del.
              APPEND s_teven_more TO t_teven_more_del.
              "set status for change to TEVEN_INS tables
              APPEND s_teven TO t_teven_ins.
              MOVE-CORRESPONDING s_teven TO s_teven_more.
              APPEND s_teven_more TO t_teven_more_ins.
              EXIT.
            ENDIF.
          ENDLOOP.
    * execute deletion of current record:
          CALL FUNCTION 'HR_TMW_DB_UPDATE_TEVENT'
            TABLES
              del_teven      = t_teven_del
              ins_teven      = t_teven_ins
              del_teven_more = t_teven_more_del
              ins_teven_more = t_teven_more_ins
            EXCEPTIONS
              insert_failed  = 1
              update_failed  = 2
              OTHERS         = 3.
          COMMIT WORK.
    * insert new (updated) record of clock registration:
          s_p2011-pernr = iv_pernr.
          s_p2011-infty = '2011'.
          s_p2011-ldate = iv_ldate_new.
          s_p2011-ltime = iv_ltime_new.
          s_p2011-erdat = sy-datum.
          s_p2011-ertim = sy-uzeit.
          s_p2011-satza = iv_satza_new.
          s_p2011-origf = 'E'.
          s_p2011-begda = iv_ldate.
          s_p2011-endda = iv_ldate.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty            = '2011'
              number           = iv_pernr
    *         SUBTYPE          =
    *         OBJECTID         =
    *         LOCKINDICATOR    =
              validityend      = iv_begda
              validitybegin    = iv_endda
              recordnumber     = f_recordnumber
              record           = s_p2011
              operation        = 'INS'                       
              tclas            = 'A'
              dialog_mode      = '0'
    *         NOCOMMIT         =
    *         VIEW_IDENTIFIER  =
    *         SECONDARY_RECORD =
            IMPORTING
              return           = fm_return
              key              = personaldatakey.
          COMMIT WORK.
    ENDIF.
    Kind regards,
    Matevž

  • Process Chain - Delete File from Application Server

    Hi Gurus,
    Im working with Process chain, and i have a load from a flat file, so my question is :
    How can i delete that file from the application server after was loaded ?
    THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
    Marcos

    hi,
    I have gone through the forum you have posted for deleting files from application server through process chain.
    I have similar reuirement in my project.
    Can you please provide me the solution?
    Your inputs will be highly appreciated.
    Thanks in advance.
    Regards,
    Lavanya.

  • Delete file from folder only (not from list)

    Hi all,
    I've searched a lot and didn't succeed so far, that's why I need your help. In a cloud context, I'm actually creating and uploading files (pdf and/or xml files) "on the go" to sharepoint folders via the SOAP API and this is perfectly working. But
    in a cloud context, I also need to decomission services which is translated into deleting files into Sharepoint.
    That's where it became complicated, because according to the API we cannot delete files if they are not part of a list structure, which is not my case. Is that true ?
    The only info I have when trying to delete a file via the SOAP Api is : its name, its folder, and the endpoint where the folder is. So my question remains simple I guess : is this possible ? If so, how to (a link to the SOAP body would be usefull)
    Thanks a lot
    Regards
    Baptiste

    Hi,
    According to your post, my understanding is that you want to delete file from folder.
    In SharePoint 2010, It is recommended to use Client Object Model to achieve it, the following code snippet for your reference:
    string siteURL = "http://siteurl";
    ClientContext context = new ClientContext(siteURL);
    //specific user
    NetworkCredential credentials = new NetworkCredential("username", "password", "domain");
    context.Credentials = credentials;
    Web web = context.Web;
    context.Load(web);
    context.ExecuteQuery();
    string relativeUrl =web.ServerRelativeUrl +"/DocumentLibraryName/FolderName/FileName";
    File file = web.GetFileByServerRelativeUrl(relativeUrl);
    context.Load(file);
    file.DeleteObject();
    context.ExecuteQuery();
    If you still want to use SOAP API, we can use the UpdateListItems method under Lists web service to achieve it.
    http://www.dhirendrayadav.com/2010/06/delete-list-items-using-web-service.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/61466984-1844-48a1-8c1e-1c59a0f9876a/move-and-delete-files-remotely-using-sharepoint-web-services-?forum=sharepointdevelopmentlegacy
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Delete file from directory which

    Hi ,
    I want to delete files from a directory in  Application server.
    I have the file name as fn_13/07/2007.txt
    Have a condition that files should be deleted which are less  than 10 days.
    Is there any function module to do this.
    Thanks in Advance.
    Regards,
    Indhra

    Hello Indhra,
    These methods may help ( from CL_GUI_FRONTEND_SERVICES )
    <b>DIRECTORY_BROWSE</b>     Static Method     Public          Shows a Directory Selection Window
    <b>DIRECTORY_CREATE</b>     Static Method     Public          Creates a Directory in the Client
    <b>DIRECTORY_DELETE</b>     Static Method     Public          Deletes a Directory in the Client
    <b>DIRECTORY_EXIST</b>     Static Method     Public          Checks if a directory exists
    <b>DIRECTORY_GET_CURRENT</b>     Static Method     Public          Returns the Current Directory
    <b>DIRECTORY_LIST_FILES</b>     Static Method     Public          Lists Files in a Given Directory
    <b>DIRECTORY_SET_CURRENT</b>     Static Method     Public          Sets the Current Directory (Do NOT Use)
    <b>ENVIRONMENT_GET_VARIABLE</b>     Static Method     Public          Gets an Environment Variable
    <b>ENVIRONMENT_SET_VARIABLE</b>     Static Method     Public          Sets an Environment Variable
    <b>EXECUTE</b>     Static Method     Public          Starts an Application or Opens a Document in the Client
    <b>FILE_COPY</b>     Static Method     Public          Copies a File
    <b>FILE_DELETE</b>     Static Method     Public          Deletes a File

  • Error while deleting image from picture library

    Facing issue in deleting pictures from picture library from a site collection created in SharePoint 2010 mode in SharePoint 2013.  Though we can open the picture and delete it from 'Delete Item' from the ribbon, we cannot delete the pictures from Actions
    -> Delete option.  
    Here is the exception
    Level:Medium Category: General
    Application error when access /_layouts/DeleteMu.aspx, Error=Object reference not set to an instance of an object.   at Microsoft.SharePoint.WebControls.DeltaPage.LoadPageStateFromPersistenceMedium()    
    at Microsoft.SharePoint.ApplicationPages.DeleteMultipleItemPage.<LoadPageStateFromPersistenceMedium>b__0()     at Microsoft.SharePoint.ApplicationPages.LoadViewStateHelper.LoadViewStateOrNull(Func`1 loadPageStateFunc)    
    at System.Web.UI.Page.LoadAllState()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     

    Hi Shivayogi,
    Whether you migrate SharePoint 2010 to SharePoint 2013, and kept in 2010 mode.
    If yes, please create a new site collection, then test again, compare the result.
    Whether other libraries could work correctly.
    Whether this issue occurres for 2013 mode site collections.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error  While  Deleting Data  From ODS

    Hi all,
    We are getting short dump while deleting data from a perticular ODS.
    Part of short dump is--
    trigger Location of Runtime Error
       Program                                 SAPLRSAC
       Include                                 LRSACU75
       Row                                     535
       Module type                             (FUNCTION)
       Module Name                             RSAR_TRANSTRUCTURE_ACTIVATE
    help is desperately required
    Regards
    Srini--

    try to activate InfoSource and later delete data.
    Check if all ODS related objects are consistent and active.
    also pls attached the whole dump for more clarity if this does not work.

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

  • HT201269 I am trying to save memory on my iPhone 4S/ ios6. Can I back up all photos to icloud and the external hard disk I normally use for photos? If I then delete photos from the iPhone do the get deleted on iCloud?

    I am trying to save memory on my iPhone 4S/ ios6.
    1) Can I back up all photos to icloud and the external hard disk I normally use for photos? If I then delete photos from the iPhone do the get deleted on iCloud?
    2) Can I back up the newsstand to iCloud and save memory on the iPhone?
    3) Can I back up the bookshelf to icloud and save memory on the iPhone?

    1. What format is the external drive? It sounds like it's ina format that Macs can't write to. Is it a NAS or NTFS?
    2. Easiest thing: just move your iPhoto Library to the external
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Regarding deleting index

    Hi Friends,
    If I delete the whole content of an Infocube and then do the reload,is it require to delete the index seperately.
    If I don't delete the index how is it going to impact the load?
    Regards,
    Debjani...

    It doesn't mean that Indexes will delete permanently .. Structure will remain same!
    When you delete data from cube it also deletes the generated indexes which are existed .. there is no point of having indexes on deleted records .. it's logical
    even it doesn't hold any data it allows you to create index and generate stats(ex. create a dummy cube and try to generate)
    For the moment I don't have any document for it..  I will let know
    For your 2nd ques.
    Only for huge loads droping index will be usefull which will improve the loading performance!
    For daily delta load with less volume of data you need not to drop Indexes .. if you do so it will take lot of time to rebuild the indexes(on whole data)

Maybe you are looking for

  • Blurry/fuzzy fonts on external display (Dell 2209WA)

    Hi, I recently bought a Dell 2209WA and I'm not too happy with how the fonts are displayed on it. All the fonts seems blurry/fuzzy/jagged. I have tried to change the sharpness of the display as well as the font smoothing style(I get best results on M

  • Can't access mail, contacts, calendar tab will not open

    I can not access my emails.  I updated my password on my PC and tried to updated my password for my email account on my iPad but when I go to the account settings page and tap on "mail, contacts, calendar" tab it will not open.  I have the original i

  • Can't Stop Receiving Alias Mail

    After setting up the iCloud mail service I chose to take advantage of the alias options. At one point in the past I had my main account + all three aliases.  Having finished with the alias in question, I naturally deleted it (but did not un-check "se

  • Can i do assessment in WBS

    Hi, Can i do Assessment with WBS or only setllement. if so what is the tcode. Bye, Ramesh

  • Hi i need some help.

    This is the code i am using to read from this file: tony blanco 43 20.25 Lucy Ricardo 42 24.50 Ethel Mertz 18 18.00 each line alone and put the name in an array of strings and the number in array of int and doubles. when i run this code: import java.