04-02-2006 3:05 AM
Hi All,
I have been trying to use 'RH_RELATION_MAINTAIN' to transfer an employee from one position to another. I can assign the employee to the position by using FCODE= INSE. But somehow the FCODE = CUTI which is to delimit does not work.
I also tried FCODE = AEND to change the relation by changing the end date and I thought it worked but it doesnt work either properly.
I would REALLy appreciate if anyone could help me with this or if there is a better way to handle this with an RFC.
Thanks,
~Mark
04-04-2006 11:54 AM
04-04-2006 12:28 PM
Hi,
Check the import parameter ACT_GDATE. It should not be initial.
I think only the follwing function codes are valid codes.
IF ACT_FCODE NE INSERT AND
ACT_FCODE NE CUTI AND
ACT_FCODE NE DELETE AND
ACT_FCODE NE CHANGE AND
ACT_FCODE NE DISPLAY AND
ACT_FCODE NE PLVO AND
ACT_FCODE NE AKTI AND
ACT_FCODE NE BEAN AND
ACT_FCODE NE GENE AND
ACT_FCODE NE ABLN AND
ACT_FCODE NE COP AND
ACT_FCODE NE LIST AND
ACT_FCODE NE LISD.
RAISE FCODE_NOT_SUPPORTED.
ELSEIF SUPPRESS_DIALOG GT 0 AND
( ACT_FCODE EQ DISPLAY OR
ACT_FCODE EQ LISD OR
ACT_FCODE EQ LIST ).
RAISE FCODE_NOT_SUPPORTED.
ENDIF.
--
venkatesh