Mastering SAP Infotype 1000 Updates: A Step-by-Step ABAP Guide
A guide to updating HR infotypes in SAP ABAP. Get the code to read, modify, and write data using core function modules.

Read the infotype 1000 data
DATA: lt_p1000 TYPE TABLE OF p1000, lv_p1000 LIKE LINE OF lt_p1000, lv_object TYPE hrobject. CALL FUNCTION 'RH_READ_INFTY_1000' EXPORTING plvar = lv_object-plvar otype = lv_object-otype objid = lv_object-objid begda = sy-datum endda = sy-datum TABLES i1000 = lt_p1000
Modify the name in infotype
lv_p1000-stext = lv_stext_new. MODIFY lt_p1000 FROM lv_p1000.
Update the infotype in buffer
CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'B' "Buffer commit_flg = ' ' authy = 'X' workf_actv = ' ' TABLES innnn = lt_p1000.
After all changes are made, write update to the DB
CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING vtask = 'S' workf_actv = ' '.
How to correct endda rhgrenz4
SUBMIT rhgrenz4 AND RETURN "VIA SELECTION-SCREEN WITH pchplvar EQ '01' WITH pchotype EQ 'C' WITH pchobjid EQ lo_limit_notuse->cwa_notuse-objid WITH pchistat EQ '1' WITH pchobeg EQ defaultbegda WITH pchoend EQ defaultendda WITH pchbegda EQ defaultbegda WITH pchendda EQ defaultendda WITH g_dat EQ sel_endda WITH new_end EQ dsl_endda WITH test EQ 'X' WITH anzeige EQ 'X'.
We have brand-new report rhgrenz4
Subscribe
Connect with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
Connect with
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
0 Comments
Newest
Oldest
Most Voted
Inline Feedbacks
View all comments
