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.

Similar Messages

  • Deletion of Parked Invoices - Mass deletion

    Can any one please guide the T.code for the Mass deletion of parked IRs.
    With regards,
    Gokul.

    Mass Archived/Deletion of Parked Invoice Document:
    T.code : MRA2 -Delete Documents/Archiving Invoice
    You can excute the standard program for invoice deletetion RM08RADE  the invoice documents from Invoice Verification that were archived with program RM08RARC (object MM_REBEL) from the database. Also this will execute in Test mode But its Records are deleted from the following tables:
    RBKP: Document Header: Invoice Receipt
    RBTX: Taxes: Incoming Invoice
    RSEG: Document Item: Incoming Invoice
    RBCO: Account Assignments
    RBWS: Withholding Tax Data, Incoming Invoice
    KONV: Conditions in the Incoming Invoice
    NAST: Message Status
    RBVS: Splitting the Vendor Line Item
    CDHDR/CDPOS: Change Documents
    Prerequisites :
    Documents that have reached the end of the retention period set in Customizing. For the retention period, the posting date in the invoice document header is relevant. If no retention period is set in Customizing, the system uses 9999 days as the minimum retention period.
    Procedure
    1. If the program is only for testing purposes, that is you do not want it to actually delete any data, select the option Test run.
    The variant entered in the Archive Customizing (Environment -> Customizing) under Settings for the deletion program in the field Test run variant, is used in this case.
    (If the test run option is not flagged, then the system will use the variant which is specified in  Archive Customizing in the field Productive run variant.)
    2. Specify which data should be deleted with the pushbutton Archive selection.
    3. Specify when the job should run with the pushbutton Start time.

  • Mass deletion of vendor

    Dear Gurus,
    I want executing mass deletion of the vendor using XK99 for Vendor (3000) and puchasing organization. for which i hve seleted
    tables: vendor master records purchasing organization data
    fields: del flag. porg (Lfm) = LFM1-LOEVM, but upon selection and save, system is giving error.
    Field LFM1-LOEVM. is not an input field
    Message no. 00347
    Diagnosis
    A transaction is processed using batch input.
    System Response
    The runtime error field xxx occurs (invalid entries)
    Procedure
    Correct the batch input data. Depending on the processing scenario, this can affect either of the following objects:
    Batch input session
    CATT procedure
    Application program
    Kindly help
    REgards,
    Prashanth Pai

    Hi all,
    This thread says its answered. But, the solution is not given. I request the threads starter to kindly put up the solution as I am facing the same problem.
    I don't have this problem in Quality or Development, but only in Production. Also there is no version change in the program of the MASS transaction in any of the three systems.
    Also, will the thread starter post what error message he got on running xk06 for the concerned vendor and purchasing organization?
    Thanks!

  • Mass deletion of batches - SAP Archiving Object MM_SPSTOCK

    __SAP Archiving Object MM_SPSTOCK (Batches and Special Stocks)__
    Would like to know if there is any standard program or report available through which the batches (to be deleted) can be set with a deletion flag. We are in the process of implementing the archiving object MM_SPSTOCK and the batches have not been flagged. There is no pre-processing job for MM_SPSTOCK that can be used to set the deletion flag for all eligible batches.
    This object MM_SPSTOCK does not have any date or selection criteria for the write job. All batches with set deletion flag will be archived/deleted.
    We are in the process of implementing LO_CHVW (Batch where-used data) for which imlementing MM_SPSTOCK is a pre-requisite.
    Would appreciate any leads around this. Any other suggestions around the MM_SPSTOCK & LO_CHVW will be great.
    Thanks
    Sam

    I am basically looking for a method (program / report) through which mass deletion flag can be set for eligible batches prior to using MM_SPSTOCK archiving object to archving / deleting the batches.
    Thanks
    Sam

  • Mass deletion of IDOC

    Hi,
    I have experienced alomost 7K IDOCs in errors. We need to delete them ASAP. Can you Let me know how to perform the Mass deletion of IDOCs ?
    Thanks in advance,
    JIgar

    Hi,
    Thanks a lot for responding. I had tried "SARA" Transaction and had put in "IDOC" as an ARCHIVING OBJECT. After that when I click on "DELETE"; I do not find any way where I can input the number of IDOCs to be deleted.
    Can you help me with this?
    Meanwhile I found one Program "RC1_IDOC_SET_STATUS" through which we can change the Status of the IDOC from 51 to 68. And we can delete the Workitem using TCode "SWWL".
    Thanks,
    Jigar

  • Mass deletion of Outbound deleveries

    Hi
    Can any one pls let me know if theres any transaction for mass deletion of Outbound deliveries? We have some 600 OBDs to be deleted. Jus want to know if theres any such trxn or we need to create a BDC prog for that?
    Thanks!
    BR,
    Sri..

    Hi
    there is no process of deleting deliveries in Mass.  If it is a one time activiity you can record a transaction VL02N for delete delivery.  Download the same to excel and update all your deliveries and upload the file and run the recording.  This will delete everything in back ground.
    You need to create a file something like this for all deliveries in one file with this recording.
         0000     T     VL02N     
    SAPMV50A     4004     X          
         0000          BDC_CURSOR     LIKP-VBELN
         0000          BDC_OKCODE     /00
         0000          LIKP-VBELN     82212977
    SAPMV50A     1000     X          
         0000          BDC_OKCODE     /ELOES_T
    If it is a permenent thing then you have to go for a BDC program.
    Regards
    Yatin Thakkar

  • Mass deletion of orders in Livecache using Internal Number (GUID)

    Dear Experts
    I use program /SAPAPO/OM_DELETE_INCON_ORDERS to delete Orders from livecache using internal order numbers.
    However on the selection screen, we can enter only a single Order GUID. I would like to mass process the deletion of orders. do you know an equivalent program or a way to mass delete a list of order GUID rather than deleting one by one?
    Thanks for your answers
    Elynn

    Hi,
        Which Orders you want to delete from livecache? you can use the BAPIs available where you can pass more than one ORDER GUIDs to delete the orders from livecache.
    Deletion of Planned Independent Requirements- BAPI_PIRSRVAPS_DELMULTI
    Deletion of One or More Sales Orders- BAPI_SLSRVAPS_DELMULTI
    Deletion of One or More Procurement Documents- BAPI_POSRVAPS_DELMULTI
    Delete Manufacturing Orders - BAPI_MOSRVAPS_DELEMULTI
    Regards,
    Saurabh

  • Mass deletion of variants for Total Records

    Hi there,
    during tranings we create a lot of variants for the Total Records (UCWB->Analysis->Total Records->Save Variant). Is there a way to do a mass deletion of those variants?
    The standard options of deleting variants only allows to delete one variant per selection.
    We work with a SEM BCS EHP 4.
    Thanks for all help,
    Helge

    Helge
    you can do a mass deletion of variants.
    First you will need to find the program name for the Totals Records.  This can be found from the totals records screen when you click the Get Variant button. Across the top of the dialogue box you will see;
    "Variant catelogue for program XXXXXXXXX". 
    Note this program ID.
    Go to TCode SE38
    Key in the program - make sure the Short description for the Program is "List of Totals Records"
    Check the Variants checkbox
    Click on Display
    From the menu - go Variants > Catelogue
    This should give a list of the variants for the Totals Records. If not then you must have the wrong program.
    Click the button which has the picture of the rubbish bin with the words "Selection Criteria".
    This will then allow you to put a check mark against all the variants you want deleted.
    Click the button which has the picture of the rubbish bin with the word "Variant"
    This will then mass delete your variants.
    Regards

  • Mass deletion or cancellation of background Jobs.

    hi,
    Can anybody tell me the program name or the Job name by which we can cancel or delete all the jobs i.e mass deletion or cancellation of background Jobs.

    Hi,
    One clarification:
    BTCTRNS1 report/program suspends all Released jobs (not Scheduled status) and make the status 'Released/Suspended' - so that they will not run during your activity.
    When you will run report/program BTCTRNS2 (using se38/sa38) it will release them again.
    Note: You can not freeze/suspend jobs which are event triggered. You have to set them using sm37 (released -->scheduled) - option is available in the menu.
    Jobs in scheduled status never run.
    Don't release/submit any job after BTCTRNS1, the new job will run (it will not be suspended). Please instruct other user also not to submit any job further.
    Thanks,
    Subrata

  • Mass Deletion of Sales order line items

    Dear Gurus..
    There is a transaction VA02 for change and deletion of sales order line items. it takes time to delete line item of sales order one by one.. is there any abap program to do this process..
    if so please let me know
    regards
    Saad Nisar

    Hi,
    You can use trx MASS with object type BUS2032 to change sales order items. Please check this link:
    Re: Mass deletion of  sales orders
    Or try LSMW.
    Regards,
    Csaba
    Edited by: Csaba Szommer on Apr 10, 2009 8:18 AM
    Edited by: Csaba Szommer on Apr 10, 2009 8:21 AM

  • Mass deletion of duplicates

    I bought a new computer and copied Itunes Music from a backup hard drive and now I have duplicates of over 2000 songs.( I placed all folders in ITunes Media) How can I mass delete all duplicates or how can I reload all music without getting duplicates.

    same question? It looks like you have to use an outside program...none look good

  • Any program for Deletion the normal Parked documents in Standard SAP

    Hi All,
    is there any program for delete the normal parked documents in Standard SAP ??  we have nearly 2000 documnets so we can't do manually one by one at FBV2/FBV6.
    please help.
    Raj

    Hi,
    You can create a CATT/LSMW project, by recording the relevant transactions and then make a mass change by executing it.
    Regards,
    Eli

  • 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

  • Mass Delete of products

    Hi,
    How to mass delete the Products in CRM
    With Regards
    Selvam T

    HI,
    Right way via archiving - Tcode sara.
    But you can use program COM_PRODUCT_DELETE_SINGLE (Tode se38)
    Check how you can use this program
    Denis

  • Set Mass Deletion Flag for production orders

    Hi,
    I am planning to set mass deletion flag for production orders using programme PPARCHP1.
    My users dont have access to SE38/SA38 and they cant run this program from directly.
    I dont wnat my users to do this preprocessig using SARA or CO78 as it will give access to them for whole archiving process + it only works in background.
    I am thinking to create a Z tocde for this program and use it in dialogue mode also. Do you guys see any aftereffects with this process?
    Let me know if creating a Z tocde sounds a good idea?
    Edited by: santosh sarda on Mar 10, 2011 3:23 AM
    Edited by: santosh sarda on Mar 10, 2011 3:28 AM

    The standard SAP procedure to set the archive is that
    - you run COAC in background to set deletion flag and deletion indicator.   It should be set as the variant and run periodically (i.e., monthly). 
    - The system get all orders with DLV status in the past xx days depending on your variant to set deletion flag. 
    - Also it will change the status DLFL to DLT based on your residence time 1. 
    - The orders with DLT that reside in system longer than residence time 2 then archive.
    This should be done by IT department or background jobs.  Not the users.
    Which, in my opinion, is enough.  However, if you do need the user to select by themselves which orders they want to set deletion flag (why is that?).  Then you may want to explore enhancement. 
    For the sake of simplicity, I will recommend to use user status (normal cohv can change that, as we know; therefore no new fancy screen needed).  Then develop the user exit to set deletion indicator in PPCO0002 - EXIT_SAPLCORE_001 based on user status.  The rest of the procedure should remain the same.
    If you want to allow user to do every steps and develop some Z* screen for users, they must have the authorization for archiving anyway.  They just don't have the t-code COAC, and SARA.  In my opionion, it is overkill.  Plus in terms of users, I don't think they have skills enough if there is some errors during archiving (i.e., logical file error, etc.).
    Hope it helps.

Maybe you are looking for