Write Direct INFOTYPE updates to PCL4 cluster

Hi All,
We have a custom info type (9999) and that info type is being updated in a back ground program which does direct updates (Insert/Modify/Delete) to table PA9999.
We have a requirement to show change logs for this info type. After Change logs configuration, Changes done by users are working fine. However changes done in background program are not showing up in change logs.
Is there a way to write direct updates to PCL4 cluster? Please let me know if there are any Function Modules or any other way to achieve this.
Thanks,
Swapna.

Hi Swapna,
Please do not use direct updates on the infotype,
There is HR_INFOTYPE_OPERATION function module which will do the updation of infotype in many operations
MOD, INS, LIS9, DEL etc.
Read the documentation and correspondingly use it. Dont forget to lock and unlock employee before using this function moduel.
If you use these function modules rather than direct updates the change log will also be taken care of, authroization checks would be taken care of, time constraints etc.
Regards,
Divya

Similar Messages

  • Regarding database tables in which i can write directly

    hi experts,
                      i have to create a database table in which i can write directly in to the table with out using update statement,what sud i do for this plz help me......

    Hi Ravi,
    If you mean you need to directly update values on the screen, SE11 has a menu for the table maintenance generator. In there you can generate screens and everything needed for your table to allow entry with or without transports. You then capture the data through transaction SM30 or SM31.
    Cheers
    Wayne

  • Change log in HR (Table PCL4 Cluster LA)

    Hi @ all,
    when infotype logging is activated changes made in infotypes are logged into table PCL4 cluster LA.
    We have the following problem:
    HR masterdata is stored into our system from an external system via ALE. But the problem is that no change logs are written. But we absolutely need this information!!!
    Now I have coded a RFC function module which reads the log data from the external system. This also works fine. But how do I have to store the data into <b>our</b> PCL4(LA)???

    nope - I didn't try this because I don't know about the data which is needed to store the change log correct.
    Other question: I've found the function module "HR_INFOTYPE_LOG_CREATE" which seems to do what I want. But the problem is that there is no documentation available. The FM has four table parameters - does anyone how how to fill them? Has anyone used this FM? It is not used within standard programs - the "where used" function does not report any hits.
    Thx in advance

  • Applied an update to an app that records blood pressure. Am unable to retr ieve previously stored info. When following directions in update I cannot "add" data to import because message states data are stored elsewhere and I cannot find where. Help?

    Applied an update to an app that records blood pressure. Am unable to retrieve previously stored info. When following directions in update, I cannot "add" data to import because message states data are stored elsewhere, and I cannot find where. Help?

    You'll have to contact the app developer for help with this.

  • Performance tuning for data retrieval for PCL4 cluster

    Hi all,
    I am using PCL4 cluster to read history of employee data. The FM modules used are HR_INFOTYPE_LOG_GET_LIST and HR_INFOTYPE_LOG_GET_DETAIL .
    Currently it is taking lot of time. Do we have any better methods.
    Thanks in advance.
    Regards,
    tjgupta

    Hi All,
    I am also facing performance problem with PCL4 Audit cluster.
    Please guide me how to do it in an efficient way.
    I am using it is follows:
    SELECT  client relid srtfd srtf2 histo aedtm uname pgmid versn clustr INTO CORRESPONDING FIELDS OF TABLE it_pcl4
    FROM pcl4  WHERE   relid EQ 'LA'
                      AND     srtf2 EQ '00'
                      AND     aedtm IN s_aedtm.
    Where, s_aedtm-low = '20000101' & s_aedtm-high = '99991231'
    Regards

  • ABAP HR- How to see data in PCL4 cluster

    Hi Experts,
      Please let me know the t-code or procedure to see the data in PCL4 cluster.
    Thanks.

    you can use Report RPUP4D00 to display(and delete) records from PCL4 Cluster.

  • "Direct Delta" Update Method - Why need for Collective update

    Hi folks,
    I have been going through LO Cockpit in detail and read quite extensively about new update methods and still have one doubt.
    1)Why there is "Job control" for "Direct Delta" Update method in LO Cockpit?.
    If I understand Direct Delta correctly, Application data is directly posted to Delta Queue by SAP Update management using V1 and when the Delta request comes from BW it is read from the Delta queue. So...
    2)why bother about collective run and
    3)where exactly are we going to collect from - there is no intermediate storage like extraction Q or update tables?
    One more question. I noticed that Delta queue is a stopped qRFC. what does this mean?

    Hi Jay,
    These questions have been answered by Roberto Negro in full detail of his 3 episode Blog...
    Please read his blog.
    Click Weblogs above and search for Roberto Negro.
    --Jkyle

  • HCM process & Forms - Need logic to handle the Error's when Infotype Update

    Hi Experts,
    Currently im working with HCM process and forms workflow's. I have ten HCM workflow's and everything is working fine.
    Now the issue is, at the time of save, if there is any error like infotype lock or any other Master data error's, then the standard task responsible for save the data, returns the Status as Error.
    Already the approval process for the request is carried out, and it can not be make it again. So I need to save the data without re execution of the process or without re-approval.
    I searched in standard workflow also. There is no option to handle the Infotype update Error's.
    So can any one give me some hint about this? Without the re-initiation i need to save the data's.
    Thanks for your time and Suggestions.

    If you are using the framework to update specific infotypes and they are locked for "no apparent" reason you'll want to open an SAP message.  I would highly discourage you from going down the path of calling that FM, from within workflow no less.  Workflow in the framework was not intended to do such operations, this is supposed to be handled in the decoupled infotype framework (through configuration)... not to mention you won't be using the dec. infty framework by calling that function.
    While I've had to do this before, it was because of a limitation in the framework not something as trivial as a locked infotype.  Who knows, it might actually be locked for a legitimate reason?
    Andy

  • How to recover missing data from PCL4 cluster

    Hello experts,
    Is there any way to recover missing data from PCL4 cluster ?
    We recently found that some data related to W2 production run for past years was missing in the PCL4 cluster. Tables T5UXX & T5UXY has entries with the filing dates but certain data is missing in the cluster related to those table entries.
    Would there be any specific reason for such a data loss ?
    Has anyone come across this issue earlier and found resolution on the same ?
    Any feedback is appreciated.
    Thanks,
    Dipesh.

    When you delete PCL4 entries for production runs, the corresponding     
    control information in tables T5UXX and T5UXY also will be deleted. A    
    control number may be used for more than one Form number (in Tax         
    Reporter control tables). Therefore, if a control number that is         
    assigned to the Form number to be deleted was also assigned to other     
    form numbers, then this control number information from T5UXY will not   
    be deleted. These details will be displayed in the program results.      
    However, if all Form numbers that were assigned to this particular       
    control number were deleted, then the control information in table T5UXY 
    for the control number will be deleted automatically as the last        
    dependent Form number is deleted."
    Following we have two questions:                                         
    o Was PCL4 deleted?                                                      
    o Did the W2 generate without errors?                                    
    Basically if the PCL4 data is corrupted, then we have 2 options to      
    rebuild the PCL4 Cluster:                                                
    1. Delete the existing PCL4 & rerun the production run with the same     
       As of date.                                                           
    2. Overwrite the production results without deleting PCL4 data but with  
       different As of Date.                                                                               
    If the Employee data is not changed after your                           
    actual production run then overwriting the results will not cause any    
    difference in the PCL4 data.                                             
    Secondly, if you dont want PDF spools or magmedia layouts to be          
    generated during overwriting of production run, then kindly uncheck      
    the following on the PU19 screen, so that only PCL4 data is rebuild :    
    1. Uncheck Employee Copy                                                 
    2. Uncheck Authority Copy                                                
    3. Uncheck Magnetic table"                                               
    Edited by: Johan Peersman on Mar 25, 2010 4:14 PM
    Edited by: Johan Peersman on Mar 25, 2010 4:15 PM

  • IT-2001 Log in PCL4 Cluster

    Dear All,
    I need to find all records in IT-2001 that have been inserted/deleted in a certain time period, for subtype1024(LWP). For this, I need to use PCL4 cluster. I also need information about a deleted record - when it was created, when it was deleted, by whom etc.
    For this i fetch data from PCL4 with area Id SA and import header and belege.
    However, for inserted records (opera  = 'I') i am getting blank values of AEDTM and UNAME in header.
    Am i doing something wrong here??
    Please Help!

    I solved the question myself.
    Turns out the details are present in PCL4 table itself.

  • Can I write directly to a USB virtual port ?

    I am using a Zebra TLP 2844 printer connected via USB.  It does not generate a conventional serial port but is shown as a virtual printer port in the printer config.
    For some reason, the newer driver does not provide the ability to rotate my label 90 degrees and I need to send a printer cmomand straight to the printer.
    Any options for this ?
    May end up having to find the older printer driver that provides for 90 degree location.
    Note this is not a Portrait / Landscape issue as I have many other systems already printing correctly but this is yet another  "Upgrading to Windows 7" issue I have run into.
    Thanks for any thoughts...
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

    At least one other install is also Win 7 running LV 2011 though that should have no effect.  Am using the MS Word specific print functions to populate fields (bookmarks) in a word document (for a label) and sending it to the printer.
    The Word document I am using on the other machine prints fine.  On this new setup, it prints incorrectly (rotated 90 degrees so only part of the information prints on the label).  I am using the latest driver. The other machine may not though so I had considered rolling the driver back to a previous version.
    Continuing to work on it, I found that an alternate version of the label that I had on hand would print ok.  Tried to compare all the settings between the good printing label and the not good one.  Tried adjusting all that to no avail.  Finally made a copy of the good printing one and pasted the required text and bookmarks and saved it and now it will print.
    It seems that the page layout, margins and such are very critical when printing to a small label on this printer. (Label is only 1.75 wide by .75 high)  If I tried to adjust the margins and shift the content, it would change how the label printed (rotation) and I could never recover back to printing correctly.
    I am going to file this as a "barely stable document/printer situation" and hope it doesn't take a wild turn.  Will make my label document read-only so that it won't inadvertently get changed.
    The reason I wanted to write directly to the USB was to send a raw printer command to rotate the print 90 degrees.  Hopefully I won't have to figure out how to do that now.
    Case closed for me at this point.
    Thanks....
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

  • Physical Writes Direct

    Oracle 9.2.0.5 on HP-UX.
    In "Session Details" of "Top Sessions", in the section "Session I/O Activity", the "Physical Writes Direct" is muc bigger than any other values in the same section ("Disk Sorts" is zero for example).
    What does it mean?

    I have a performance problem that is apparently located on CPU. It is busy most of time at 100%.
    But, in addition to that, I would like to know how to interpret and use the value of "Physical Writes Direct".

  • HR infotype log in PCL4 and overall performance

    Hi there,
    There has been a few threads about PCL4 performance with regards to reading, but I have a slightly different question:
    We are working on an export program for HR masterdata and are considering using logging in PCL4 to be able to export only changed fields in the infotypes. To achieve this we need to add quite alot of extra fields and infotypes to the configuration in the IMG.
    Does anyone have any experience about how additional fields and infotypes affect runtime and database performance of the system? How optimized is the system with regards to writing to this cluster?
    It will obviously cause more data to be logged, and the database will grow slightly faster, but does it decrease responsiveness of PA30/40 for the end users? Is it possible to archive old data from this cluster? I'm guessing that it won't be a big problem, but any feedback is greatly appreciated.
    Best regards,
    Lars G. Gudbrandsen

    Hi Lars,
    Probably you would get a better response in the HCM section as opposed to ABAP.
    Maybe you can use change pointers, and badis rather, to acheive what you want but I am not 100% sure the requirement.
    Additional fields and infotypes don't impact the system negatively in my opinion. It wouldn't affect PA30, unless the specific infotype is selected and then provided if it has been correctly created in PM01 it should be fine, also depending how many fields you are talking about of course. PA40 would only be impacted for those transacitons for which the infotype is included.
    As for archiving, I am not sure, but once again i think HCM forum is your best bet.

  • Log records for PA infotype updates

    Hi folks,
    I have a question related to the working of how the logs gets created when an infotype record is updated. Here is the scenario: I updated an action for an employee record in action infotype through PA40 and using an upload BDC program, the process took me through screens updating infotypes 0,1,2,7,8 and 19 to complete the action process.The changes are recorded in these tables. However when I checked to see the log records, a log record was created only for infotype 0.  Also I did verify that all these infotypes are entered in V_t585A, V_t585b and v_t585C to create logs.
    My question is: why the log records was not created for other infotypes inspite of defining these infotypes in the log maintainence tables? I am trying to understand this log creation process because most of our processes is directly dependant on it and poses problems .
    Any kind of help is really appreciated.
    Thanks in advance.
    SK

    It is a standard setting. The infotypes, their field groups and field group charcterstics are defined in V_T585A, V_T585B and V_T585C. I believe the end users are missing some process. Because it started to happen since a week or so. The same program was picking the records fine earlier and it has not changed.
    I do not know what kind of process they follow. what changed now? Since I am the only SAP guy out here, got to find it out.
    They are using PA30/PA40 to enroll and the web application. Both these records did not create the log data. The reocrds went through to SAP.
    Could there be any step they might be missing?
    Thanks for the quick reply,
    SK

  • How to make kernel update easier on cluster?

    Hi experts,
      we run Windows 2008 R2 cluster like this:
    C:\usr\sap\TCP\ERS10\exe: ERS
    S:\usr\sap\TCP\SYS\exe\uc\NTAMD64: centralized kernel(S: is a shared disk)
    S:\usr\sap\TCP\ASCS00\exe: CS
    and I found I have to update these paths manually to keep all kernel up-to-date and sometimes DI even failed to start because version is inconsistent.
      How do I write start-up profile and use sapcpe.exe to let SAP automatically synchronize kernel for me?
    for example, I update in S:\usr\sap\TCP\SYS\exe\uc\NTAMD64 and restart ERS, CS, DI and all kernels will be up-to-date.
      And no "FILE is in use" warnings any more. It is really strange. I close sapmmc, disable all SAP services and copy/overwrite kernel files..but the warning message persists. I have to restart OS from time to time. How do I know which dynamic library(.dll) are not closed complete.

    Hi
    Kindly go thru the below SAP Notes
    Note 961410
    Note 913971
    Note 905029
    Regards
    S

Maybe you are looking for

  • New Bank A/C Creation Error

    Hi everyone, While creating a new bank Account i am getting following error.... "Unable to verify the value entered into the OrgName field. Please select the List of Values icon for this field to select a valid value." this error actually arrises whe

  • PDF with Chinese text is unreadable?

    Hi, Ive tried the language packs but they don't help. We have a chinese client who sends us PDFs with Chinese and English text in them, but the fonts are all messed up? It is unreadable because all the text appears to have really thick bolding, and t

  • Same Sequence# with different applied value in v$archived_log

    Hi everyone, I have an issue with one of the dataguard servers here. Basically, looking at the v$managed_standby, it is still applying the latest archived log sequence. However when I checked for unapplied archived log from v$archived_log, I found at

  • Hyperion 8.5 PROD to DEV

    Hi Guru's, We are in the phase of migrationg from Hyperion 8.5 to oracle EPM. In between one of our group wants the sync Hyperion 8.5 PROD to Hyperion 8.5 DEV.  we can say DEV environmet is used by few members and it is almost a plain environment. is

  • Exporting DW8 site

    Hello! I just upgraded from DW8 to CS5.5 because DW8 would no longer work under Lion (and it was time!). However, I can't open my old sites using CS5. I did a search on the forums, and it was recommended to Export the site from DW8 then import to CS5