cancel
Showing results for 
Search instead for 
Did you mean: 

characteristic is not ALPHA -converted

Former Member
0 Kudos

In update rules (3.x) I am loading infoobject1 (NUMC 😎 to infoobject2 (CHAR 10). Infoobject2 is of type ALPHA. At the time of loading I get the error characteristic is not ALPHA -converted. If I take out ALPHA from infoobject2 and load it, the load is proper. But the infoobject2 takes 8 digit values. I want 10 characters (preceeding 0). So in my opinion I can not remove alpha. What can be the solution?

Accepted Solutions (1)

Accepted Solutions (1)

former_member181964
Active Contributor
0 Kudos

Hi,

Copy past the following program in SE38 an dtyen check it and use the same logic in routines.

you also have reverse to the below routine i.e. 'CONVERSION_EXIT_ALPHA_OUTPUT'

REPORT  ZALPHA_INPUT.

Data: ni(4) type n,
      no(10) type n.

ni = '1500'.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    INPUT         = ni
 IMPORTING
   OUTPUT        =   no   .

Write:/   ni.
Write:/   no.

Thanks

Reddy

Answers (0)