Delete / Delimit PA Infotype

We are working in a pre-go live environment and testing data conversions.
I need to delete (or delimit) primary infotypes such as 0008 and 0009 for about 200 PERNRs.
Is there a utility in PA which you can use to mass delete or mass delimit one Infotype (with Time constraint 1) for a range of PERNRs
Appreciate any input

Hi Matt! Tks u for points!!!!
Inside SE16N, fill the parameter Tables with PAXXXX...
1) At same local where you digit the sap transactions or sap commands at top of screen (PA30, PA20 or the famous "/H"), you need fill this field with: "&SAP_EDIT", same a comand "/H" and press "enter".
The system have return this message: SAP editing function is activated.
2) Fill the parameter PERNR with ours pernr numbers and press "F8".
The next screen have the "deletion" buton (at icon format) in the ALV Toolbar.
Send-me a message to addr: mlanzoni at br.ibm.com and i will send the screenshots for you.
Regards!
Edited by: Marcello Lanzoni on Jul 18, 2008 9:27 PM

Similar Messages

  • Disable Delete Button for infotype 2001 subtype 0025

    I want to Disable Delete Button for infotype 2001 subtype 0025 only in PA30/61.
    Is there any EXIT available

    Hi
    Try it .
    Somebody already given this type of answers.
    Pls first use Search then post.
    Well FYI,
    <b>There is a standard User Exit for PA30 / 40 for PBO and PAI events.
    ZXPADU01 for PBO and
    ZXPADU02 for PAI events.
    By writing proper code in here for the IT2001, you can write your rules.
    PBAS0001 ( PA: Pers.Admin./Recruitment: Default values and checks ),</b>
    Manoj Shakya.

  • HR programming : mass deletion of PA Infotypes

    Hello !
    Does anyone know a standard way (a program , bapi ,
    function) for deletion of PA infotypes ?
    We need to do a mass deletion of PA infotypes - We need
    to delete infotypes for a lot of PERNRS
    at the same time. (So PU00 is not good enough for us).
    Thanks in advance ,
      Nitzan S.

    Hi Nitzan,
    1. HR_INFOTYPE_OPERATION
    2. This must be used.
       with this we can delete, add, edit .
    regards,
    amit m.

  • Delete an OM infotype

    How to  delete an OM infotype clearly?
    For example, I created an OM Infotye 9190, But when i delete it using T-code PPCI, the HRI9190 structure stills to be there.
    Thanks for all your help.
    victor ying

    Hi,
    Try to delete via t-code se11.
    Chen Jian

  • Delete subtype of infotype

    Hi,
    How can I delete or delimit subtype of infotype? in table V_T591A?

    It's not for all. For example: for IT2001, u can delete from T554S not fro T591A
    You can follow that one:
    1. Using view V_T582A in Sm30
    2. Select your corresponding Infotype.
    3. Open => u can find Subtype table => here is your table view (some time V_ + table or just table: try both) for your to maintain subtype.
    4. Keep using F4 to find more related configuration table. It's very useful.
    Btw the article may be useful for you.
    Tip finding Configuration Table from Infotype

  • Delimit several infotypes for Leaving Action

    Hi,
    I would like to know how to 'Send' or call a backend program to delimit infotypes called during the leaving action of the employee. thus calling several infotypes but sometimes configured in such a way it is dependent on the status of the EE or have PY record.
    Thanks!

    Hi Binoj,
    thx. i tried this:
    0000              MASSN     06     0     *     * TERMINATION - DELIMIT RECORDS*
    0000              MASSN     06     10     P     T001P-MOLGA='34'
    0000              MASSN     06     20     P     P0000-MASSN='10'
    0000              MASSN     06     30     I     LIS9,9021,,,,,(P0000-BEGDA)
    0000              MASSN     06     40     I     LIS9,9022,,,,,(P0000-BEGDA)
    0000              MASSN     06     50     I     LIS9,9023,,,,,(P0000-BEGDA)
    0000              MASSN     06     60     I     LIS9,9024,,,,,(P0000-BEGDA)
    delimit process has been done..
    but we still have to input delimit date
    btw what is '/D' for?
    looking forward to hearing from you.
    best regards,
    dhenny muliawaty (pei pei)

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

  • Delimit custom infotype.

    Hi All,
    I have created a custom infotype and it  has time constraint 3.
    Now i wat to delimit the records from infotype.
    I have used FM HR_INFOTYPE_OERATION using operation 'LIS9'. But it doesn't work for me.
    Can anybdy please let me how can i do this.
    Thanks

    Hi,
    First lock the employee number before callin HR_INFOTYPE_operation using function module BAPI_EMPLOYEE_ENQUEUE
    then call HR_INFOTYPE_OPERATION
    after that unlock the employee using function module BAPI_EMPLOYEE_DEQUEUE
    and also try to pass all exporting parameters to FM HR_INFOTYPE_OPERATION
    Regards
    Krishna

  • FM for delimit the infotype record

    Hi
    I'm new to HR-ABAP.I need to develop function modules to delimit the some infotype records (eg: 0167,0168,0014,2006 etc)
    Presently i developed the function module that has following source code.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
        EXPORTING
          number        = empno
    CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
         tclas                 = 'A'
          pernr                 = empno
          infty                 = '0167'
          begda                 = delimitdate
          endda                 = delimitdate
      BYPASS_BUFFER         = ' '
      LEGACY_MODE           = ' '
    IMPORTING
      SUBRC                 =
        TABLES
          infty_tab             = itab "itab is of the structure p0167
    enddate = itab-endda.
    MOVE delimitdate TO itab-endda.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty                  = '0167'
          number                 = empno
          subtype                = itab-subty
          objectid               = itab-objps
          lockindicator          = itab-sprps
          validityend            = enddate
          validitybegin          = itab-begda
          recordnumber           = itab-seqnr
          record                 = itab
          operation              = 'LIS9'
          tclas                  = 'A'
          dialog_mode            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
       IMPORTING
         return                 = return
      KEY                    =
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
        EXPORTING
          number        = empno
    when i use 'MOD' operation in FM 'HR_INFOTYPE_OPERATION' that FM runs perfectly.it changes the enddate to delimit date in the table PA0167.
    But, when i use 'LIS9' (delimiting) operation FM is throwing following error message
    "E PG  428 A complex application error has occurred".
    I need help regarding this error statement.can i use 'MOD' operation to delimit the records (time constraint of most of the infotype record to be delimited is 2).In which case we use 'LIS9'??
    Also any SAP function modules for delimiting IT2006 infotypes????
    Pls suggest.
    Thank u,
    shrinivas
    Message was edited by: Shrinivas

    For 167 & 168 have you looked at HR_BEN_TERMINATE_HEALTH_PLAN & HR_BEN_TERMINATE_INSURE_PLAN?
    The error message you got is actually mapped to (00)344 ie "No batch input data for screen & &"
    For the delimit operation, you probably,need to pass the delimit date separately..
    I have a feeling this function call cannot be used for the delimit operation le 'LIS9'.AS the delimit date is usually entered on a pop-up box when you do it via PA30.
    ~Suresh

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

  • Delete PERNR and Infotypes

    How do I delete PERNR and related Infotypes in PA?

    Hi Matt,
    To delete the personnel number use, Go to sa38 and give RPUDELPN and delete the number, and to delete personnel data use PU00.
    Hope this helps you,
    Reward if it is helpfull.
    Regards,
    Raghu Kumar R

  • Delimit in infotype 105

    When an employee status is withdrawn in infotype 0, then his user id(subtype 0001) is automatically delimted in infotype 105.
    However it does not delimit a custom subtype in infotype 105.
    Plz let me know on how to acheive this.

    Hi Kalyan,
    Go to SPRO: Personnel management - Personnel administration - Customizing Procedures - Actions - Define infogroups - infogroup - Select "Withdrawal" infogroup (the one which is linked to the action you're using)
    For the relevant user group make sure that entry LIS9 0105 XXXX resides where XXXX is your customized subtype for IT0105.
    If not existent, create the entry.
    Regards,
    Dilek

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

  • Vacant Positions Deletion/Delimit

    Experts,
    We have not maintained Vacancy Infotype for any of the positions maintained in the organization. But we can wee there are more than 10000 vacancies are pending in our organization which needs to be deleted or delimited.
    Kindly provide me solution on the same at the earliest.
    Regards,
    Devendra.

    Something along the same lines of delimiting, but a pre-cursor to the process.  Identifying vacant positions - Running report S_AHR_61016509, and get an error message stating that I need to specify an object ID?  I want to be able to run the report open to ensure all vacant positions are identified?  Has anyone ever had that issue?  I am wondering if there was some type of setup that was missed when implemented?
    Please advise.
    Thanks.

  • Detect change in Infotype records

    Hi All,
    Is there any FM or std program through which we can detect any change(modification/deletion/delimit) in Infotype records. If not then please suggest how it can be achieved.
    Any pointers in this regard would be helpful.
    Thanks,
    Saher

    Hi Saher,
           Use FM : HR_INFOTYPE_LOG_GET_DETAIL
    Regards,
    Srini.

Maybe you are looking for

  • Windows 8 Upgrade on Netbook

    Good day! I would like to ask how can I upgrade and use Windows 8 properly in my device if my screen resolution is limited upto 1024x600 only. I bought my device last November 2012 and don't want to buy a new device just to experience and use Windows

  • Anyone with ULRASOUNDS PROBLEMS?

    I have a K8T Neo2 FIR system with an Athlon 64 3000+, graphic card Gigabyte Radeon 9550 128 MB 128 bits, 2x512 MB Kingmax DDR memory a NEC 3500 DVD writer and a floppy. I dont' mention the HD's and the power supply because I ruled them out as the pro

  • Adobe flash player problem with IE 7 (flickering or Blinking)

    Hello! I have really anoying problem that bothers me about 2 days..so the problem is when im watching pages ex ( youtube, slo-tech..,) that includes flash.  When i looking pages or whatching videos the page and texts or picture starts flickering or b

  • Iwork template to calculate Credit Card Payments

    Anyone know of a solid template where I can enter the following; 1. outstanding balance 2. APR 3. # of months I want to pay the card off in deducts: what my payments need to be month to month Thanks JC

  • Losting the photos in iCloud..Can I get them back ??

    I got the new iPhone and back up all the photos to iCloud from my old iPhone. However, I dont know that there is 30 days rules. So, I didnt save all of my iClouds photo to my new phone. And few days ago, I found that all of my photos were gone from t