Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Re: Read positions of Objectid with function module

$
0
0

Hi Juan,

So now u have the org unit ID.

 

Use the same FM RH_STRUC_GET now to get all the position IDs which are belongs to that org unit.

 

Pass act_otype = 'O',act_objid = ourg unit ID that u have,act_wegid = 'B003' and in the result_tab u will get all the positions under this org unit.

 

Now u use the same FM to get the pernr which holds these positions.

Loop in the result tab."as u need to get pernr for all those positions

 

Use the FM RH_READ_OBJECT to get the position validity begin date and validity end date.

Pas the values in the same order as above  'S',result_tab-objid,'A008' and in the result tab u will get pernrs.

 

Now use the FM HR_READ_INFOTYPE to get first name for IT0002-VORNA by providing the pernr.

 

Now use the FM HR_READ_SUBTYPE to get user ID from IT0105 subtype 0001 field USRID by providing the pernr.

 

Populate all these data to final itab.

Endloop.

 

 

Thanks

Hafizul


Viewing all articles
Browse latest Browse all 8695

Trending Articles



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