FM to know opeartion performed on infotype record...

Hi Friends,
In my requirement i have to display the infotype change logs for each pernr. i.e the infotype records that are changed or deleted or inserted. can you please suggest me the function module or table which gives these details. i.e operation performed on infotype record ( insert or delete or change).
Thanks in advance,
Phani Shankar.K

Try  the  FMs     <b>HR_INFOTYPE_LOG_GET_LIST</b> , <b>HR_INFOTYPE_LOG_GET_DETAIL</b>    ,they might be Helpful . Also try the Report<b> RPUAUD00</b>

Similar Messages

  • How to know whether infotype record is created using PA30 or PA40

    Hi,
    can any one suggest is there any way to know how a record is created in database i.e by performing actions in  PA40 or from PA30.
    Thanks
    Deepthi

    Hmmmm...
    are you asking Record or actions???
    If records then forgot about PA40 it will perform actions not records.
    Coming back PA30-> TO create , modify display
                          PA20 -> TO DISPLAY.
    For PA30 -> after record is created come back to original pa30 screen input the Pernr number , Select/input  infotype number
    then click on the icon Overview button (or SHift + F8) then you can see the data , records.
    or you go and see in SE11 OR SE16 another direct method
    Regards
    sas

  • Infotype records not saving when action is performed.

    Hello all-
    We have an action named: personnel information changes which is having Infotype 0002, 0006, 0105 to show up one after the other.
    When we perform the action and click on save, its saving the data and moving to next infotype, but after the action is completed, the infotype records in PA20 or the table pa0002, pa0006 etc does not contain any data.
    Please advice!
    The employee is having a reference personnel number.
    Thanks,
    Chakri.

    Hi Chakri,
    Go to SPRO> Personnel Management>Personnel Administration--> Customizing Procedure -->Actions --> Define Infogroups and then click the Infogroup.
    Give your action number "same used for Personnel Information Changes"
    Check the following items,
    1. check the Reference User Group... is it similar to your required one?
    2. Check the "operation" column....it should be COP, INS or MOD.
    Please check it ...hopefully it will work...Award points if you think so....
    Regards
    Rao

  • Locking of a Infotype record in BDC

    Hi,
    I need to lock the infotype record (PA30) before saving the same during the BDC process. I tried to supply the OK code as 'EDQ'. But BDC is skipping the same and updating the record without locking the record. Could you let me know how to make this work?

    Proivde the DYNPRO screen number again before updating the data:
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    'EDQ'.
      PERFORM bdc_dynpro      USING 'MP001400'
                                    '2000'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    'UPD'.

  • HR_INFOTYPE_OPERATION - Need help w/Deleting infotype records

    Hello all,
    We have an issue where infotype records got created where the ENDDA is less than the BEGDA (ENDDA = 06/30/2006 and BEGDA = 07/01/2006).  We are trying to delete these using HR_INFOTYPE_OPERATION but we are getting message PG-009 (No data stored for 9001 in the selected period) returned in our tests. 
    BTW, 9001 is one of our customer infotypes. 
    I know I can remove these records using a direct SQL statement, but I would prefer to remove them more gracefully if possible.  Is there a way around this error?  I actually think function module HR_READ_INFOTYPE is raising the error.
    Any suggestions would be greatly appreciated.
    Thanks,
    Al

    You can check report RHRHDC00, I think it can help you with custom infotype too.
    Otherwise you might need to delete the records forcefully using DELETE statement, which is not suggested since all the  standard FM consider BEGDA and ENDDA and in your case they will always return blank.
    You can also check FM -
    HR_ECM_DELETE_INFOTYPE
    Regards,
    Amit
    Reward all helpful replies.

  • Delete InfoType records using Idoc HRMD_A05?

    Hello,
    We have some unwanted 167 and 168 infotype records in our database that we would like to clean up.  Can we use HRMD_A05 to delete them?  I can't seem to find a delete function in the Idoc fields...I would truthfully like to use the LSMW, anyone know a way other than a simple recording?
    Thanks.
    --Jack

    Hi Eswar
    Thanks for the reply. I could not get what PFAL is. Actually, I am using IDocs to migrate data through LSMW. And I want the new HR objects to be numbered internally. However, if I leave the object ID field null and use 'Insert' for operation (OPERA) it gives error and does not post the application document (IDoc). It also gives error for operation 'Update'.
    I was expecting it would generate new numbers but it did not. And what I had in the IDoc documentation does not work.
    So do you or anybody has experienced such an issue before?
    Thanks

  • Infotype record create, edit

    Hi All,
    Can anybody tell me the steps involved in creating, editing employee;'s own infotype records through WD ABAP view.
    I have infotype (IT0057) record which need to be displayed, create, edit. We are also supposed to attach a custom workflow template with this application so that whenever employee updates, creates his own record - a workflow item will be triggered and sent to concern person for approval.
    We have designed the customer workflow template for the same. Please tell me the steps to display, create, update infotype record through WD View.
    Regards,
    Anil Kumar

    Hi,
    If you want to perform some additional logic on these buttons then the standard buttons on the ALV cannot be used.
    You need to have your own buttons and provide coding or you can also use the Normal TABLE UI element.
    At first i'm explaining the process for TABLE UI element.
    First,
    Design the context node in the component controller for that table of contents with the apt columns.
    Map this node to the view1.
    Now, In the view1,
    Create the TABLE UI element and using CREATE BINDING option bind it to this node, while doing this
    select the apt type of UI element for each column( I mean if there are any columns for Inputfield/drodpdown etc).
    and also you can design the buttons ADD, EDIT,DELETE and implement the actions.
    After designing this, try to display the data by reading that infottype and fill the context node by using
    the BIND_TABLE of if_wd_context_node.
    By default for the table, one row is selected(lead selection). If you want mutltiple ones then use the option
    Leadselection(Multi).
    The BAPI you specified is for the save/update the infotype.
    Now you can start of with this information...Once this is done I can help you out..for further process.
    Regards,
    Lekha.

  • Maintaining / Displaying Text for Infotype record

    Hi,
    How do we maintain infotype text for the record. Or how to display the text maintained for infotype record (I used PA20/PA30 for IT0001 record but could not locate infotype text).
    Regards,
    Avinash Josalkar.

    Hi,
    If you want to know the text of a infotype then goto the table
    V_T582A.
    eg:0000  actions
    0001 organisation assignment.
    But if you want to change the standard text of a infotype then you need to have access key to change.
    But if you are asking the text table for the fields in 0001.
    then goto se11
    enter Pa0001--dislay
    click the tab entry help/check then you can see the table names in the column check table for each field.

  • 4-eye principle for Deletion of Infotype records

    Hello,
    Can anyone let me know if we can implement the 4-eye principle to delete Infotype records ?
    Regards
    Jai

    Hi,
    Yes possible through Asymmentric authorization principle.
    Good Luck.
    Om.

  • Position 1000001 not available for the start date of the infotype record

    Dear Experts/Gurus,
    I am getting the following error message "Position 1000001 not available for the start date of the infotype record" while trying to upload employees HR Master data in PA40.
    I know the reason why because the position is created on 01.05.2009 & employee DOJ is 01.02.2006 both are mismatch & the position date has to be changed earlier date than DOJ but i don't know how to do.
    Please let me know how to sort out this issue asap.
    Rgds,
    Vikrant

    Dear Friend,
    Use  PP02, select the position no, select infotype 1000 (Object), select planning status & validity(date) and then use the copy function to change the start date.
    Regards,
    Aks

  • Creating / Updating Custom Infotype Records

    Hello everbody,
    We implement alot of custom HR infotypes in our system, both PA &  HRP.
    For the past several we have been using BDC (Batch-Input) recorded functions in order to update / create the records in our infotypes.
    We're currently facing an upcoming ECC upgrade , and I would like to lead a change that will eventually lead to us using generic SAP supplied functions.
    I've researched a few functions that might do the trick:
    RH_INSERT_INFTY:
    This one is giving me an SY-SUBRC 2 error code - Insert error, I tried to select a current record and insert it as different objid but this doesnt work.
    HR_INFOTYPE_OPERATION:
    I've read of several people that recommended using this function, but it is not released by SAP and I couldnt get it to work as well.
    BAPI_HRMASTER_SAVE_REPL_MULT:
    This one seems to work for sap infotypes but I dont think it suits custom infotypes.
    What is the "official" way of doing such operations?
    thanks in advance,
    Eli.

    Hello Dilak,
    Im currently trying to insert a new infotype record of infotype HRP9226.
    First I call function RH_GET_NEXT_NUMBER to get an objid.
    then I fill an HRP9226 line.
    after this i call the function:
    call function 'RH_INSERT_INFTY'
    exporting
    FCODE = 'INSE'
    vtask = 'S'
    ORDER_FLG = 'X'
    COMMIT_FLG = 'X'
    AUTHY = ' '
    PPPAR_IMP =
    OLD_TABNR = ' '
    REPID = ' '
    FORM = ' '
    KEEP_LUPD =
    WORKF_ACTV = 'X'
    tables
    innnn = hrp9226_line
    ILFCODE =
    EXCEPTIONS
    NO_AUTHORIZATION = 1
    ERROR_DURING_INSERT = 2
    REPID_FORM_INITIAL = 3
    CORR_EXIT = 4
    BEGDA_GREATER_ENDDA = 5
    OTHERS = 6
    I'm getting an "Error_During_Insert" and Im out of options regarding what I can possibly do.

  • Difference between changes in OM/PA infotype records

    Hi people,
    can you pls help me with one topic.
    Is there any way to diference changes infotype records between changes done by program upload (lsmw or custom programs) and manually via pa30/pa40.
    Can it be stored somewhere in the infotype structure that records are done by mass uploading.
    Thanks for ideas.
    Best regards,
    Romano

    Hello Romano,
    As mentioned in the earlier posts that all entries have a UNAME attached to it in the Infotypes which tell us the owner who marked/initiated the change.
    There are options to achieve the type of design which you want. Lets say we maintain a Custom Table which would store the UNAME , T-CODE and DATE fields.
    In the PA User Exits we develop the copy that in each PAI action update the Custom Table. It should solve your case.
    It is not a very staright forward solution , but it would serve your cause.
    Thanks & Regards,
    Rohit Sharma

  • Adding read infotype records to payroll

    Dear ,
    i 've used the code mentioned in this link to read the infotype records .
    Use SAP defined methods instead of Logical Database(LDB)
    now i want to add this record to the tree in the payroll . could u plz tell me how to add it to a node in the additional payment tree node.
    Edited by: Kathy_Adam on May 22, 2010 3:40 PM

    Hi,
    1. Create new payroll function code in payroll driver exist. Starts with FU<custom name>.
    2. Create new function via PE04 with custome name.
    3. Add custom function to payroll schema.
    Custom name should start with special character, e.g. %, &, :, etc.
    User exit is special for every country driver, check payroll driver program and figure out its name.
    Cheers

  • 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

  • Modifying SPRPS field in an infotype record

    Hi experts,
    I have a requirement in which i need to modify the lock indicator value of an existing 2001 infotype record. That is, initially when a record is created, i need to update the lock inidicator field as 'X'. Then after few approvals, i need to read the same recoed from infotype 2001 and need to modify the lock indicator with blank. Can the same requirement be achieved using HR_INFOTYPE_OPERATION ?
    Is it possible to modify the SPRPS field with the value blank ' ' using HR_INFOTYPE_OPERATION'?
    Regards,
    Shanthi

    Yes it is. All you need is to provide correct key fields of the record vis this FM exporting parameters and for record parameter pass structure for the record with all the target data (new data for the record).
    So basically the structure will hold all the information as it is right now + field SPRPS with changed value. To ensure you provide correct data, you can first read appropriate record entry with HR_READ_INFTY -> get required entry from result list -> then change only field SPRPS and pass it back to HR_INFOTYPE_OPERATION on input.
    Please refer http://www.sapdev.co.uk/fmodules/fms_HR_INFOTYPE_OPERATION.htm.
    Regards
    Marcin

Maybe you are looking for

  • Adobe Application Manager error 10045

    I have bought Creative Cloud. However, I cannot install the software on my laptop. My system is Windows 7 x64 Professional PL. First, the downloader of Application Manager responded with "Server does not respond in the proper manner" message. Here is

  • Adcfgclone.pl on db tier errors out...

    Running adcfgclone.pl on db tier errors out at 50% stage with the following error RC-50004 :Fatal : Error in ApplyDatabase :Control file creation failed. THe ApplyDB<> log file shows the following error: getConnectionUsingAppsJDBCConnector() --> APPS

  • Pleasehelp me with a problem(LT06).

    Hello, everyone        I processed Goods Receipt Purchase Order 4500000045 by MIGO and successfully created a material document 5000000091, then I tended to created Transfer Order for Material Document of 5000000091, but a message popped up saying yo

  • Average Conundrum

    I have a need to create the sales report for a specific sales rep, but also to compare the performance to the average of all sales rep. Assume below is the raw data: User Month Dollar A Jan 100 B Jan 200 A Feb 200 B Feb 400 From the above, I need to

  • Cannot find the main class

    Hello, I am running Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing) on both Windows 2003 Server and Windows XP Professional. Whan I try to run any java program