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

Update IT0380

Hi People,

I am trying to Update employee record in IT0380 based on field PCT01. But I'm having difficulty, since IT0380 can only be updated in <i>Compensation Administration</i>. How can the updates be forced in this infotype? Is there an available function module for this? I would really appreciate all the help. Thanks 😊

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2004 at 09:44 AM

    Hi Colin,

    Thanks for the reply 😊

    yep... i already tried HR_INFOTYPE_OPERATION earlier. A part of the code is attached:

    CALL FUNCTION 'HR_INFOTYPE_OPERATION'

    EXPORTING

    infty = '0380'

    number = i0380-pernr

    record = i0380

    operation = 'INS'

    IMPORTING

    return = v_ret

    key = v_key.

    IF sy-subrc = 0.

    WRITE: /'Successfully Updated'.

    ENDIF.

    However, even if the sy-subrc returns a successful value, the table has not been updated. By the way, I think I must also include the information that i am coding using LSMW.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Vance

      As Colin mentioned, since the program MP038000 exists (and as I guess the corresponding dialog module exists), the FM can be used. However, one should inspect the program MP038000 (and may be the FM itself) whether there is a restriction to prevent maintenance.

      Nevertheless, give a try which conveniently applies the FM as described in my previous post.

      *--Serdar

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2004 at 09:20 AM

    Hi,

    Use function HR_INFOTYPE_OPERATION. Action is MOD I think.

    If you need any further help, please let me know.

    Kind regards

    Colin 😊

    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.