‎2009 Mar 18 5:34 AM
Hi
Iam looking to update 1001 infotype and i found FM RH_UPD_INFTY.
I dont know the reason why its not updating table HRP1001..
Can anyone help me on this??
Main thing is i need to update PO10 tcode and i figured out its updating HRP1001 table at backend.
Thanks in advance
‎2009 Mar 18 5:39 AM
Hi,
Use the Fm
CALL FUNCTION 'RH_PNNNN_MAINTAIN'
EXPORTING
act_fcode = p_fcode
act_plvar = p_plvar
act_otype = p_otype
act_objid = p_objid
act_infty = p_infty
act_subty = p_subty
act_pnnnn = p_pnnnn
act_gdate = sy-datum
suppress_dialog = '2'
act_vtask = 'D'
act_commit_flg = l_commit_flg
clear_buffer_plog_tab = ''
IMPORTING
act_mess_info = l_hrrhad_msg
EXCEPTIONS
infty_not_valid = 1
no_plvar = 2
object_not_defined = 3
otype_not_valid = 4
no_authority = 5
action_rejected = 6
no_gdate = 7
fcode_not_supported = 8
OTHERS = 9.
CALL FUNCTION 'RH_UPDATE_DATABASE'
EXPORTING
vtask = 'D'
buffer_upd = space
EXCEPTIONS
corr_exit = 1
OTHERS = 2.
‎2009 Mar 18 4:34 PM
Hi Avinash,
I tried this,but throwing error.
What should i pass in PNNN?
can you suggest anythign else?
Thanks
‎2009 Mar 18 6:48 PM
Hi,
This will Definately help you to move further
It talks about Function Moule RH_RELATION_MAINTAIN and program RHINTE00.
By the way you can also check code for RHINTE00 to unerstand how it works.
Pls let me know how it goes.
Regards
Shital