Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Modify / Insert/ Delete a Infotype using Class / Methods

$
0
0

Hi Experts

 

We need to update several infotypes and we tried it with FM HR_INFOTYPE_OPERSTION. But this FM is not working properly and its not released for customers. So we have to do it via the Classes. We found many Classes, but no one has a example within SAP and all the threads I found are not really helpful for me.

So can somebody give me a good example to do a action on a infotype with Classes? I tried it with if_hrpa_plain_infotype_access and cl_hrpa_infotype_ nnnn, both are not working. An error occures releated to grpval CP. CP is not used in this system.

I tried it with cl_hrpa_infotype_container and this is also not working. I have to change the keys, and the method modify_primary_record throws a dump when I want to change the begda.

 

It would be really great if somebody can give me a helping hand.

 

Many Thanks

 

Marco


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>