LSMW 2001 infotype delete Recording

Hi,
I want to write a LSMW for deleting all the record IT2001 for any Subtype entering begda and enda in the period.
For Eg: if i select subtype as 0300 in date 01-01-2001 to 01-01-2003 and 10 records are present, then it should delete all 10.
Kindly advice me that how should, I go abt the recording and what all i should default other than perner, subtype, begda, enda.

Hi,
In PA71 Tcode screen, enter the Infotype, subtype and the period from and to and execute.
The next screen provides the list of all 2001 records for the period and the subtype.
If you want to delete all the entries, select all and delete all option available in the task bar.
Also, if there is a set of personnel numbers IT2001 records to be deleted, as creating a file for LSMW, the same file can be used to be uploaded into the PA71 screen and select all and delete all.
It is a simple process which can be executed by an end user too and there is no LSMW recordings required.

Similar Messages

  • Need to track deleted records only in all infotypes

    Hi all,
    I want to track all the deleted records only from all infotypes. PCL4 stores all the changes records. But I want only the deleted records.
    Please suggest how to achieve it?

    hi,
         try this t.code PC00_M99_UDIR  for restore the payroll results directory
    RupaPrasad.

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

  • How to trace a deleted record from a Infotype

    Hi all,
    My question is simple.
    When a record is deleted from a Infotype.
    How do I trace it?
    Which table do I have to look at for the list of deleted records in a day.
    The second question is," Does this table show the complete deleted record or does it just tell us, which Infotype and which date it was deleted."
    Warm regards,
    Hari Kiran

    Hi,
    Change log function is shut off by default. If you want trace deletion action of a certain infotype, pls check following steps:
    1-Tcode:SCDO
    2-Config view:T77CDOC
    3-Report:RHCDOC_DISPLAY
    After step1 and step2, report RHCDOC_DISPLAY will show the deletion records of a certain infotype
    Br,Kee

  • Time issue how to reset the laeve in 2001 infotype

    Hi All,
    In my client place, one user maintained the infotype 2001 as 5.82 days out of 7 days quota.Clients wants to make the no of abscences to zero by deleting all leaves from 2001 infotype.By deleting when I went to 2006 quota overview that last one vale i.e deductions 5.82 days reflecting.By the same time when I'm checking in 2001 infotype I found only two infotypes.
    Plz tell me how to chage the 5.82 days to 2 days.Its very urgent.Plz help.
    Thanks,
    SKM

    Dear Santosh ,
    Please open your record on Change mode and just change the Start - To date... because System automatically calculate the number of days.
    Hope its will be helpful.
    Riz

  • Delete records from internal table

    hi all,
    i want to delete records from intenal table which are starting with a particular starting number .
    eg internal table
    10000
    20000
    90000
    91000
    92000
    88880
    i want delete the records starting with 9 i.e. 90000 91000 92000.
    Thanks in Adv
            RAJ

    You can test this piece of code.
    DATA:
    i_tab TYPE STANDARD TABLE OF mara,
    wa_tab TYPE mara.
    wa_tab-matnr = '1000'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    wa_tab-matnr = '1001'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    wa_tab-matnr = '1002'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    wa_tab-matnr = '1003'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    wa_tab-matnr = '2001'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    wa_tab-matnr = '3001'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    wa_tab-matnr = '4010'.
    APPEND wa_tab TO i_tab.
    CLEAR wa_tab.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Aug 8, 2008 4:49 PM

  • Is there any retro effect for this changes we made in 2001 Infotype for

    HI Experts...
    Please advice me on the follwing absence issue.
    In my clients company.... .... one of Personnel areas employees Earned leave records are not updating in 2001 Infotype from the begining.
    Now they wish to have to update in 2001 Infotype.
    What  are the  Retro effects after updating the EL s in 2001 IT for previous dates.
    Is there any retro effect for this changes we made in 2001 Infotype for the past dates.
    We dont need retro effected from those changes.
    Please advice...
    Sai.

    HI Vincent....
    Thanks for the reply.
    Last month professional tax rates were shown up correctly only.
    For the employees slab rates are similar  that is  200 per month.
    Last month professional  tax rates  were correct only.
    For the current month also the prof tax amount is showing up correctly only.
    Please advice to get the professional tax amount in the payslip.
    Regards,
    V Sai.

  • History of the Infotypes deleted through PA30.

    Hi FOlks,
    Is it possible to see the history of the Infotypes deleted through PA30.
    Eg: In IT2001 sick leave applied on 20.01.2009 being deleted though PA30. After this deletion, would we be able to see who has deleted and what record has been deleted???
    If u2018yesu2019 wht is the tcode to see that???
    Rgds,
    Sekar.

    Hi,
    As mentioned by Archana,
    SE38 > RPUAUD00 > execute > Give PERNR in personnel number field > give IT2001in infotype field > select long term documents > Excecute > Double click on particualr recors > the you can see old value and new value. There is column named action. From that column you can see whether particular record is created or updated or deleted....

  • Absence 2001 Infotype leave approval.

    Hi guru,
    Since i am new to this area of maintaining dynamic action and mail generation, can any one help me for the below scenario.
    The scenario is:
    As per the company policy an employee who look for leave should request before one month (30 days), where leave request should reached to the reporting person (ei., as per organization hierachy) and he should decide whether he can approve or reject it.
    Note: we are not using ESS/MSS.
    When iam trying to write a dynamic action, it is not working.
    The dynamic action are given below.
    The concept behind of writing this dynamic action is when an administrator create a absence 2001 infotype of subtype CL casual leave, the dynamic action should check the absence infotype (casual leave) start date with the system date, when the absence infotype (casual leave) date is greater than 30 days then it should trigger a mail through M2001 feature.
    2001  CL   06  01  P T001P-MOLGA="40"
    2001  CL   06  02  P  P2001-BEGDA>P2001-SYDATUM
    2001  CL   06  03 M  M2001       where i copied the feature M0001 to M2001
    and the another combination of dynamic action is
    001  CL   06  01  P T001P-MOLGA="40"
    2001  CL   06  02  P  P2001-BEGDA>(P2001-SYDATUM + 30)
    2001  CL   06  03 M  M2001       where i copied the feature M0001 to M2001
    So i really stuck in middle of  creating a dynamic action, so i request any one of them send me the dynamic action code to satisfy my scenario.
    Note: we are not using ESS/MSS.
    Thanks,
    Shreyasen

    Hey Shreya, P2001 will not have field SY-DATUM instead use AEDTM ( Changed on).
    So it will have the date on which you are trying to create the record.
    2001 CL 06 01 P T001P-MOLGA="40"
    2001 CL 06 02 P P2001-BEGDA>(P2001-AEDTM+ 30)
    2001 CL 06 03 M M2001 where i copied the feature M0001 to M2001
    Im not sure if this is going to work but give it a try and please dont open multiple threads on the same issue
    cheers
    Ajay

  • PP02: Create Qualification Management (infotype 1055) record for a job

    Hi Experts,
    I would like to create Infotype 1055 records via PP02 for a job (Otype: C). I'm able to create Object type 'Qualification' and Object id 'XXXXXXXX'. There is another field Proficiency which is disabled. But we do want to maintain Proficiency at this point.
    When I checked the code behind the screen, I found that this field is enabled for input only when the OTYPE is 'QB' (Qualification Block).
    How do I enable this in order to maintain it. Any user exit/config setting to enable it would be highly appreciated.
    Regards,
    Ramesh

    Suresh/Om, Thanks for the quick replies. My screen MP105500 (screen 2000) is not available in T588M. So I thought I cannot use this method.
    Gary, I do not want to use PPPM as it is difficult to manage it via BDC or LSMW and the most important thing is that PPPM creates relationships but I want to create entries in HRP1055.
    Any other ideas/thoughts ? My first thoughts are to use an enhancement. But couldn't find one.

  • Delete record from the form and from the database

    hi,
    i want delete record from the form and the database ,but the record is only delete from the from !!!
    this is my code :
    if //condition then
    delete_record;
    commit;
    end if ;
    Any solutions ??
    thnx

    You have unique key field(s) on the table you are trying to insert which actually restricts you from inserting the same value again.
    When you are deleting the record and issue commit there is a record to be inserted in the table which is a duplicate that's why you are getting this unique error.
    As oracle is not able to insert your commit fails and stops your deletion of record from table

  • Delete records from tableA which are not in tableB

    Table A contains milions of records which is the best way to delete records from tableA which are not in tableB
    delete from tableA where empno not in (select empno from tableb)
    or
    delete from tableA where empno not exists (select empno from tableb
    where b.empno=a.empno)
    any help

    Hi
    If you can do this, do with this:
    create table tableC
    as select a.*
    from tableA a,
    (select empno from tableA
    minus
    select empno from tableB) b
    where a.empno = b.empno;
    drop table tableA;
    rename table tableC to tableA;
    Ott Karesz
    http://www.trendo-kft.hu

  • Delete recording from VSMS server

    In VSMS server, how can delete recording from storage? and can delete some of recording, like 1 hour from all recording or 1 day?

    Hello mshah,
    This is not recommended at all to delete recording files manually or for certain durations since every files has reference id created which are being associated to cameras.Deleting files in such can cause issue to the server.
    What is the reason behind deleting those files from server?
    Regards
    Nadeem Ahmed

  • How to delete record from table control in BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    Hi,
    While doing recording check for Filter button available for the table control, if it available then do the recording for the same.
    Once it is done while passing the data from internal table put the value into Filter field.
    Hope it resolves your issue.
    Thanks & Regards.
    Nagaraj Kalbavi

  • How to delete record from table control using BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    One option is to identify the table and find out the location as the number of row which should be deleted from the table and then in the bdc program instead of postioning the cursor on the row 1(using the statement perform bdc_cursor ....(01)), replace the 01 with the row number.
    Second option is that if a filter control is available for the table control, then filter the data each and every time with the material number to be deleted and then delete the first row.
    Regards
    Farzan

Maybe you are looking for

  • My family has 1 apple id. Can my kids have separate IM accounts with this 1 apple id

    my family has 1 apple id. Can my kids have separate IM accounts with this 1 apple id

  • Rman backup command hangs for datafile ,works with archivelogs backup.

    Issue is archivelogs backup is going fine ,But when we go for datafile backup its hanging there from oracle side as not able to give file handle. RMAN session started with debug it gives only DBGRPC: ENTERED krmqgns [expect.cpp/673] 16:00:40.19 DBGRP

  • Iphoto 11 is freezing on importing videos

    3 questions I hope some can help me with 1. Every time I try to import videos the "Import Preparing to import" Icon shows but then locks up. I have to Force Quit (get application not responding message) to get out of iPhoto 2. My old videos thumbnail

  • Premiere Pro CC 2014 Frequent crashes

    Does anyone know how to resolve frequent crashing of PP CC 2014.  About every 10 minutes (sometimes less) the program crashes, particularly when adding Key Frames or when in the middle of exporting media. Any Suggestions?  Getting way beyond frustrat

  • BDC upload - FF67

    Dear friends, I need ur help for uploading the BRS datas in FF67 thru BDC object.I've created one object and did some coding.But while recording/executing the object...its recording/taking only one line item of my jtab table items,which i've marked i