Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

change infotype in code

Former Member
0 Likes
531

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!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
486

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

3 REPLIES 3
Read only

Former Member
0 Likes
487

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

Read only

Former Member
0 Likes
486

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

Read only

Former Member
0 Likes
486

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