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

HR_maintain_masterdata

Hi,

We are giving below parameter in FM

CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'

EXPORTING

pernr = lv_pernr

actio = 'COP'

tclas = lc_a

begda = sy-datum

dialog_mode = lc_dialog

luw_mode = '4' or '1'

IMPORTING

return = rc

return1 = rc1

TABLES

proposed_values = proposed_values1.

Can anybody give any pointer what should be the value for LUW_mode parameter if want to rollback or commit.

Thanks in advance,

shweta

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 19, 2008 at 12:55 PM

    display the FM in SE37 and click on 'Documentation'. It is clearly explained there!

    UPDATE : Sorry, it is only avaliable in German... 😔

    I translate shortly:

    0 - no COMMIT WORK, no ROLLBACK WORK ==> has to do manually after the FM returns

    1 - COMMIT will be done in one go by the FM if everything is OK, otherwise ROLLBACK

    2 - COMMIT or ROLLBACK will be done on any single infotype (one by one)

    3 - can be used for simulation

    (DIALOG_MODE has to be '0', otherwise any of the above makes no sense)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2008 at 06:41 AM

    Hi Shweta,

    LUW MODE = 0 then Rollback

    LUW MODE = 1 then Commit

    Regards,

    Darshan Mulmule

    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.