step1: Po13 Tcode is used to create Position Object or Maintain position.
or via below program.
data: w_objid type hrobjid.
data:s_date type sy-datum.
data: s_pos type char40.
CONCATENATE gs_input-begda+6(4) gs_input-begda+3(2) gs_input-begda(2) into s_date.
s_pos = gs_input-plans.
call function 'RH_OBJECT_CREATE'
exporting
plvar = '01'
otype = 'S'
stext = s_pos
begda = s_date
endda = '99991231'
importing
objid = w_objid
exceptions
text_required = 1
invalid_otype = 2
invalid_date = 3
error_during_insert = 4
error_ext_number = 5
undefined = 6
others = 7.
if sy-subrc eq 0.
COMMIT work.
endif.
Step 2:
ppom_old Tcode is used to create organisational Plan or Organizational structure.
or
ppom for Tcode is used to create all objects ( Position, Job, Orgunit etc. )
Step 3:
Create relationship in Tcode P013 or PP01
Note : PP01 is used to maitain all objects and P013 is used to maintain only position objects.
No comments:
Post a Comment