Skip to Content
author's profile photo
Former Member

FUNCTION EXIT_SAPFP50M_001 - Infotypes with dec fields

Following an upgrade to 4.7 we have a problem with the above function exit in HR. (Function Group XPAD)

Using the SAP example code 'MOVE INNNN to I0008' given in include LXPADF01 produces the following message on activation when we try to use it for infotype 386:

"<b>I0386" and "INNNN" are not mutually convertible. In Unicode programs,

"I0386" must have the same structure layout as "INNNN", independent of

the length of a Unicode character</b>.

All worked Ok in 4.5B and we think it is caused by the fact that the Infotype contains non-character fields causing a conversion problem. Does anyone have an easy solution to this problem?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jul 05, 2004 at 03:09 PM

    Don't worry I found the answer myself!!

    Using objects/methods

    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN

    EXPORTING

    PRELP = INNNN

    IMPORTING

    PNNNN = I0386.

    etc to do the conversion.

    Add comment
    10|10000 characters needed characters exceeded