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

Facing error when creating employee using HR_MAINTAIN_MASTERDATA

$
0
0

Hi All,

 

I am trying to create external number range PERNR  records IT0000 (actions)by using HR_MAINTAIN_MASTERDATA. but facing error

 

Enter a personnel area when i provide explicitly then it asks to

Enter an employee group and Enter an employee subgroup once i provide those details - it through error "Personnel number does not exist. Select a hiring action".

 

Please find the code below.pls help me it is very urgent for me.

 

CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'

       EXPORTING

         pernr              = pd_pernr

         actio              = 'INS'

         tclas              = 'A'

         begda              = pd_begda

         endda              = pd_endda

         seqnr              = pd_seqnr

         werks              '23AH'

         persg              '6'

         persk                     = '31'

         dialog_mode        = '0'

         luw_mode           = '1'

         no_existence_check = 'X'

         no_enqueue         = ' '

       IMPORTING

         return             = gd_return

         return1            = gd_return1

         hr_return          = gd_hr_return

       TABLES

         proposed_values    = gt_proposed.

 

I have populated internal table gt_proposed table perfectly.

Pls help me .

 

Thanks.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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