Skip to Content
1

SAP HCM pernr field display

Dec 13, 2016 at 03:34 PM

65

avatar image
Former Member

Hi HCM Experts,

i am struggling with HCM pernr field display.

as we know it is 8 digits numc field and our customer employee number is 6 digits char type. if employee number is 000001 only 1 is display in PA30 header line so i want to know is there any way that we can display 000001.

best regards,

jin dal

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Dec 27, 2016 at 09:53 AM
2

Hi,

Yes you can display by using this FM "CONVERSION_EXIT_ALPHA_INPUT

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "Conversion exit ALPHA, external->internal
  EXPORTING
    input =                     " emp_numb         
  IMPORTING
    output =                    " result_emp_number.  

example of output.

'1234 ' --> '00001234'

Best regards

Filipe

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 14, 2016 at 06:20 PM
1

Hi,

Yes you can display by using this FM "CONVERSION_EXIT_ALPHA_INPUT

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "Conversion exit ALPHA, external->internal
  EXPORTING
    input =                     " emp_numb         
  IMPORTING
    output =                    " result_emp_number.  

example of output.

'1234 ' --> '00001234'

Best regards

Filipe

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 14, 2016 at 07:06 PM
0

Hi Song, you can try apply the Module Function that Filipe recommended into an Exit created by cmod/prfb..

Regards,

Share
10 |10000 characters needed characters left characters exceeded