Learn how to read and update SAP Organizational Management Infotype 1000 with ABAP, validity dates, object keys, standard function modules, buffering, commits, verification, and error handling.

SAP Organizational Management Infotype 1000 stores the name and basic validity data for objects such as organizational units, jobs, positions, and other OM object types. Updating it safely requires more than changing HRP1000-STEXT: the object key, plan version, object type, validity interval, language, authorization, lock, buffer, and commit behavior all matter.
This guide focuses on practical ABAP patterns for reading and updating Infotype 1000 through standard Organizational Management function modules. It avoids direct database updates to HRP1000 and shows how to verify the result, handle dates, protect concurrent updates, and diagnose failed changes.
Infotype 1000 key fields
PLVAR: plan version, commonly01.OTYPE: object type, for exampleOfor organizational unit orSfor position.OBJID: the OM object ID.ISTAT: planning/status indicator.BEGDAandENDDA: validity interval.LANGU: language key for the object text.SHORTandSTEXT: short and long object names.
Always confirm the actual DDIC structure P1000 in the target SAP release. Field availability and function-module signatures can differ between SAP ERP, SAP S/4HANA, and customer enhancements.
Read Infotype 1000 with RH_READ_INFTY_1000
DATA: lt_p1000 TYPE STANDARD TABLE OF p1000,
ls_p1000 TYPE p1000,
lv_plvar TYPE plvar VALUE '01',
lv_otype TYPE otype VALUE 'O',
lv_objid TYPE hrobjid VALUE '1000'.
CALL FUNCTION 'RH_READ_INFTY_1000'
EXPORTING
plvar = lv_plvar
otype = lv_otype
objid = lv_objid
begda = sy-datum
endda = sy-datum
TABLES
i1000 = lt_p1000
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE 'Infotype 1000 could not be read' TYPE 'E'.
ENDIF.
READ TABLE lt_p1000 INTO ls_p1000 INDEX 1.
IF sy-subrc = 0.
WRITE: / ls_p1000-stext,
/ ls_p1000-begda,
/ ls_p1000-endda.
ENDIF.
Use a date interval that matches the business question. Reading only sy-datum can miss a future-dated or historical record.
Read a complete validity interval
DATA lt_p1000 TYPE STANDARD TABLE OF p1000.
CALL FUNCTION 'RH_READ_INFTY_1000'
EXPORTING
plvar = '01'
otype = 'O'
objid = '1000'
begda = '19000101'
endda = '99991231'
TABLES
i1000 = lt_p1000
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
IF sy-subrc = 0.
SORT lt_p1000 BY begda endda langu.
ENDIF.
Do not assume that one object has only one Infotype 1000 row. Different validity intervals and language keys can produce multiple records.
Change the object name in memory
Update the row returned by the standard read function, rather than constructing an incomplete P1000 record manually.
DATA: lt_p1000 TYPE STANDARD TABLE OF p1000,
ls_p1000 TYPE p1000.
CALL FUNCTION 'RH_READ_INFTY_1000'
EXPORTING
plvar = '01'
otype = 'O'
objid = '1000'
begda = sy-datum
endda = sy-datum
TABLES
i1000 = lt_p1000
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE 'No valid Infotype 1000 record found' TYPE 'E'.
ENDIF.
READ TABLE lt_p1000 INTO ls_p1000
WITH KEY langu = sy-langu.
IF sy-subrc <> 0.
READ TABLE lt_p1000 INTO ls_p1000 INDEX 1.
ENDIF.
IF sy-subrc = 0.
ls_p1000-short = 'HQ'.
ls_p1000-stext = 'Headquarters'.
MODIFY lt_p1000 FROM ls_p1000 INDEX sy-tabix.
ENDIF.
Preserve the key fields, validity dates, language, and status values returned by SAP. Change only the fields required by the business rule.
Write Infotype 1000 with the standard OM update flow
Many classic OM implementations use RH_UPDATE_INFTY to place changes in the OM buffer and RH_UPDATE_DATABASE to persist the buffer. Confirm the exact parameter behavior in the target release and test in a non-production client first.
CALL FUNCTION 'RH_UPDATE_INFTY'
EXPORTING
vtask = 'B'
commit_flg = space
authy = 'X'
workf_actv = space
TABLES
innnn = lt_p1000
EXCEPTIONS
error_during_update = 1
no_authority = 2
OTHERS = 3.
IF sy-subrc <> 0.
ROLLBACK WORK.
MESSAGE 'Infotype 1000 buffer update failed' TYPE 'E'.
ENDIF.
CALL FUNCTION 'RH_UPDATE_DATABASE'
EXPORTING
vtask = 'S'
workf_actv = space
EXCEPTIONS
error_during_update = 1
OTHERS = 2.
IF sy-subrc <> 0.
ROLLBACK WORK.
MESSAGE 'Infotype 1000 database update failed' TYPE 'E'.
ENDIF.
COMMIT WORK AND WAIT.
The exact exception names and parameters should be checked in SE37 for the installed SAP release. Do not copy a function-module call blindly between systems.
Complete safe update example
REPORT z_update_om_infotype_1000.
PARAMETERS: p_plvar TYPE plvar DEFAULT '01',
p_otype TYPE otype DEFAULT 'O',
p_objid TYPE hrobjid DEFAULT '1000',
p_text TYPE stext DEFAULT 'Updated object name'.
DATA: lt_p1000 TYPE STANDARD TABLE OF p1000,
ls_p1000 TYPE p1000,
lv_ok TYPE abap_bool.
START-OF-SELECTION.
CALL FUNCTION 'RH_READ_INFTY_1000'
EXPORTING
plvar = p_plvar
otype = p_otype
objid = p_objid
begda = sy-datum
endda = sy-datum
TABLES
i1000 = lt_p1000
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
IF sy-subrc <> 0 OR lt_p1000 IS INITIAL.
MESSAGE 'No current Infotype 1000 record found' TYPE 'E'.
ENDIF.
READ TABLE lt_p1000 INTO ls_p1000 INDEX 1.
IF sy-subrc <> 0.
MESSAGE 'Unable to select an Infotype 1000 record' TYPE 'E'.
ENDIF.
ls_p1000-stext = p_text.
MODIFY lt_p1000 FROM ls_p1000 INDEX 1.
CALL FUNCTION 'RH_UPDATE_INFTY'
EXPORTING
vtask = 'B'
commit_flg = space
authy = 'X'
workf_actv = space
TABLES
innnn = lt_p1000
EXCEPTIONS
error_during_update = 1
no_authority = 2
OTHERS = 3.
IF sy-subrc <> 0.
ROLLBACK WORK.
MESSAGE 'Infotype 1000 update was rejected' TYPE 'E'.
ENDIF.
CALL FUNCTION 'RH_UPDATE_DATABASE'
EXPORTING
vtask = 'S'
workf_actv = space
EXCEPTIONS
error_during_update = 1
OTHERS = 2.
IF sy-subrc <> 0.
ROLLBACK WORK.
MESSAGE 'Infotype 1000 database update failed' TYPE 'E'.
ENDIF.
COMMIT WORK AND WAIT.
lv_ok = abap_true.
IF lv_ok = abap_true.
MESSAGE 'Infotype 1000 was updated' TYPE 'S'.
ENDIF.
In a productive program, replace interactive MESSAGE TYPE 'E' statements with the application’s error protocol and include the object key in the log.
Update a future-dated record safely
Do not overwrite today’s record when the business requirement is a future change. Read the complete interval, select the row whose BEGDA matches the requested change, and validate that the new interval does not overlap another record.
DATA: lv_change_date TYPE datum VALUE '20270101',
ls_future TYPE p1000.
READ TABLE lt_p1000 INTO ls_future
WITH KEY begda = lv_change_date.
IF sy-subrc <> 0.
MESSAGE 'No future-dated Infotype 1000 record found' TYPE 'E'.
ENDIF.
ls_future-stext = 'Future object name'.
MODIFY lt_p1000 FROM ls_future INDEX sy-tabix.
Validity dates are business data. Test boundary dates such as the first and last day of a period, open-ended records, and overlapping intervals.
Verify the update by reading it again
DATA lt_verify TYPE STANDARD TABLE OF p1000.
CALL FUNCTION 'RH_READ_INFTY_1000'
EXPORTING
plvar = p_plvar
otype = p_otype
objid = p_objid
begda = sy-datum
endda = sy-datum
TABLES
i1000 = lt_verify
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
READ TABLE lt_verify INTO DATA(ls_verify) INDEX 1.
IF sy-subrc <> 0 OR ls_verify-stext <> p_text.
MESSAGE 'Infotype 1000 verification failed' TYPE 'E'.
ENDIF.
A successful function-module call is not enough. Read the record again after the commit and verify the object, language, validity dates, and changed text.
Read-only checks against HRP1000
Direct SQL can help diagnose a problem, but it should not be used to update HRP1000. Use the standard OM APIs for changes so authorization, buffering, integration, and consistency rules are applied.
SELECT plvar,
otype,
objid,
istat,
begda,
endda,
langu,
short,
stext
FROM hrp1000
INTO TABLE @DATA(lt_hrp1000)
WHERE plvar = @p_plvar
AND otype = @p_otype
AND objid = @p_objid
AND begda <= @sy-datum
AND endda >= @sy-datum.
Use this as a diagnostic comparison only. Never bypass the standard update function modules with direct UPDATE HRP1000 statements.
Mass update with validation and a test mode
For mass maintenance, separate selection, validation, update, and commit. Add a test mode so the same selection can be reviewed before any database change.
PARAMETERS p_test AS CHECKBOX DEFAULT abap_true.
LOOP AT lt_objects INTO DATA(ls_object).
CALL FUNCTION 'RH_READ_INFTY_1000'
EXPORTING
plvar = ls_object-plvar
otype = ls_object-otype
objid = ls_object-objid
begda = sy-datum
endda = sy-datum
TABLES
i1000 = DATA(lt_object_p1000)
EXCEPTIONS
nothing_found = 1
OTHERS = 2.
IF sy-subrc <> 0 OR lt_object_p1000 IS INITIAL.
APPEND VALUE #( objid = ls_object-objid
message = 'No valid Infotype 1000 record' ) TO lt_errors.
CONTINUE.
ENDIF.
LOOP AT lt_object_p1000 ASSIGNING FIELD-SYMBOL(<p1000>).
<p1000>-stext = get_new_name( ls_object ).
ENDLOOP.
IF p_test = abap_true.
CONTINUE.
ENDIF.
CALL FUNCTION 'RH_UPDATE_INFTY'
EXPORTING
vtask = 'B'
commit_flg = space
authy = 'X'
workf_actv = space
TABLES
innnn = lt_object_p1000.
ENDLOOP.
IF p_test = abap_false.
CALL FUNCTION 'RH_UPDATE_DATABASE'
EXPORTING vtask = 'S'.
COMMIT WORK AND WAIT.
ELSE.
ROLLBACK WORK.
ENDIF.
For mass updates, record every rejected object, limit the batch size, and confirm whether workflow integration must be active. A single global commit can make rollback and restart difficult.
Common Infotype 1000 update problems
No record found
Check PLVAR, OTYPE, OBJID, language, and validity dates. A record may exist historically or in a different plan version.
Update succeeds but the name does not change
Verify that the changed row was included in the table passed to RH_UPDATE_INFTY, that the database update was executed, and that COMMIT WORK completed.
Authorization failure
Check the user’s OM authorization for the plan version, object type, object ID, infotype, and activity. Do not “solve” an authorization problem by direct database update.
Wrong language or validity interval
Read all relevant records and select the intended language and date interval explicitly. Do not assume the first internal-table row is always the correct row.
Changes are visible only after a restart
Check OM buffers, application caches, and the update task. Verify the record again after the commit and use the normal SAP transaction or API that consumes the object data.
Infotype 1000 developer checklist
- Confirm the plan version, object type, object ID, status, language, and validity dates.
- Read the current record with the standard function module.
- Preserve key fields and change only the required text or date values.
- Use the standard OM update flow instead of direct HRP1000 SQL updates.
- Check
sy-subrcafter every function-module call. - Handle authorization and workflow behavior explicitly.
- Use test mode for mass updates.
- Commit only after all validations pass.
- Read the object again after commit and verify the result.
- Log rejected object keys and safe diagnostic messages without sensitive data.
Summary
A safe SAP ABAP Infotype 1000 update reads the correct OM record, respects plan version and validity dates, changes a complete standard structure, uses the standard update function modules, checks authorization and return codes, commits deliberately, and verifies the persisted result. This approach is more reliable than editing HRP1000 directly or assuming that a successful function call means the business data was saved.
