Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR_maintain_masterdata

Former Member
0 Likes
2,831

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

2 REPLIES 2
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,136

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)

Read only

Former Member
0 Likes
1,136

Hi Shweta,

LUW MODE = 0 then Rollback

LUW MODE = 1 then Commit

Regards,

Darshan Mulmule