Skip to Content
author's profile photo Former Member
Former Member

0HR_PT_2 Extractor Delta Load

We are extracting actual employee times from R/3 to BW using the SAP extractor 0HR_PT_2 in delta mode plus a user exit. It came to our attention a while back that changes made directly in CATS to the debited activity type or debited cost center (transaction CAT2) were not picked up in the delta load for this extractor.

We raised this in an OSS note with SAP, and they told us that we needed to do a config change in R/3 in order for changes to the debited act type or debited cost center to be considered for determination of delta records.

So far, we have been unsuccessful in implementing the right configuration. We have managed to get the changed data picked up via the delta load (which is a step ahead of where we were before), but when it is extracted to BW, it comes across twice: once with time type 9616 (loans and borrows), and once under the correct time type.

Has anyone implemented such a config change, and can you point us in the right direction?

Thanks for any help you can provide.

Rachel McGregor

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 03:35 PM

    Hello Rachel,

    We were able to show SAP what the issue was with our time that was entered via CAT2 that wasn't getting picked up with delta. They issued note 890650. After this note was issued there were still some situations which did not update infotype 0439 so they gave me an additional code change:

    I would like to ask you to make an additional change in the

    coding of function module HR_PA_MODIFY_RETRO_INTERFACE.

    Please insert the line marked with <<<<<:

    lt_p0439 = i0439[]. "SERN890650

    • Über alle IT-Sätze loopen

    LOOP AT IT_RECORD INTO WA_IT_RECORD.

    i0439[] = lt_p0439[]. <<<<< insert this

    CALL FUNCTION 'HR_TIM_GET_CHANGE_LOG_DATE'

    EXPORTING

    RECORD_BEFORE = WA_IT_RECORD

    RECORD_AFTER = WA_IT_RECORD

    TABLES

    C_I0439 = I0439

    EXCEPTIONS

    • DATE_UNDEFINED = 1

    OTHERS = 2.

    IF SY-SUBRC <> 0.

    RAISE DATE_UNDEFINED.

    ENDIF.

    I tested this and it picked up type of changes in delta.

    I don't believe this last piece of code is in the note yet.

    After I made the code changes mentioned above, I had to reload our 0PT_C01 cube which meant reinitializing and I was able to successfully do this, however, I am currently receiving an error on our new delta infopackage where our old infopackage for delta worked successfully with the exception of the intermittent missing data.

    Good luck

    Ann Bohn

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.