Skip to Content

SAP HCM pernr field display

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

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

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2016 at 06:20 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2016 at 07:06 PM

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

    Regards,

    Add comment
    10|10000 characters needed characters exceeded