‎2008 Jan 03 3:01 PM
Hi All,
I am facing a problem related to abap hr in customized infotype (9001) i am passing some value after calculation in structure p9001 but its not reflecting in to the table pa9001.
if u have any solutation plz replay asap.
Regards,
Aman.
‎2008 Jan 04 10:14 AM
hi Aman,
i cant understand what prob. did u phase....
plz specify it..
i am also n abap-hr n i did it successfully..
plz caring while u creating ur custom infotype and than else u r no satisfied then refer folowing pdf...
Custom Infotype Creation Tips and Tricks with Radio Buttons and Check Boxes.pdf
u can search it eazily..
k??
reward pts plz if it helpz u..
regards,
Bhumit Mehta
‎2008 Jan 04 10:31 AM
Hi Aman,
U can use the below function Module ,
Hope u find it usefull,
Reward points if found usefull.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = C_9102
NUMBER = WA_IT_INFTY-PERNR
LOCKINDICATOR = 'X ' RECORD = WA_9102
OPERATION = C_INS
TCLAS = C_A
NOCOMMIT = TEST_RUN
IMPORTING
RETURN = RET_CREATE.
IF RET_CREATE-TYPE <> C_E AND
RET_CREATE-TYPE <> C_A.