‎2011 Mar 11 4:28 PM
Hi,
i'm using RH_PNNNN_MAINTAIN in this way:
call function 'RH_PNNNN_MAINTAIN'
exporting
act_fcode = 'INSE'
act_otype = lw_plog-otype
act_objid = lw_plog-objid
act_infty = lw_plog-infty
act_subty = lw_plog-subty
act_begda = lw_plog-begda
act_endda = lw_plog-endda
act_pnnnn = lw_plog
suppress_dialog = '2'
act_vtask = 'S'
act_commit_flg = space
importing
act_ok_code = lw_ok_code
act_pnnnn_out = lw_plog
act_mess_info = lw_msg
tables
act_hrtnnnn = <lf_1xxx>
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 .
act_commit_flg is initial...however, the record is written to the database, why?
Regards,
Rocco
‎2011 Mar 11 5:03 PM
DATA: commit_flag TYPE hrrhap-commit_flg value ''.
use commit_flag as parameter instead of "space" and check.
‎2014 Oct 14 12:31 PM
Hi, sorry for reopening an old post, but I have the same problem here. Did you find a solution to this?
‎2014 Oct 14 12:41 PM
Hi Jozef,
I have find only a solution, use act_vtask = 'B' and act_commit_flg = space for test, when i want to write the change I'm using act_vtask = 'D' and act_commit_flg = 'X'.
Regards,
Rocco