‎2008 Aug 25 9:20 AM
Hi,
Can anyone tell me how to create, delete and change the infotype HR in code? Can I use just 'insert', 'delete' and 'update' directly to change the table for exemple 'PA002' or 'PA0001'?
Thanks!
‎2008 Aug 25 9:24 AM
Hi ,
yes u can use , check this FM and its documentation
HR_INFOTYPE_OPERATION
Operation =
COP Copy
DEL Delete
DIS Display
EDQ Lock/unlock
INS Create
LIS9 Delimit
MOD Change
INSS Create for Actions is not converted to Change
regards
prabhu
‎2008 Aug 25 9:24 AM
Hi ,
yes u can use , check this FM and its documentation
HR_INFOTYPE_OPERATION
Operation =
COP Copy
DEL Delete
DIS Display
EDQ Lock/unlock
INS Create
LIS9 Delimit
MOD Change
INSS Create for Actions is not converted to Change
regards
prabhu
‎2008 Aug 25 9:37 AM
hi wuyia nata
modify the records in table or infotype level is not an proper way.
do it in Transaction way, here infotype records time depend records
regards
deva
‎2008 Aug 25 9:41 AM
Hi,
You can use FM HR_INFOTYPE_OPERATION.
Using this Fm you can perform several Functions on the INfotype Supplied.
But you have to take care of the fact that you have to pass all the Mandatory filed Values into the FM to get a result.
It will give you an error if any of the mandatory field in the INFOTYPE screen is left blank.
Regadrs
Sumit Agarwal