cancel
Showing results for 
Search instead for 
Did you mean: 

ALPHA setting at Info-object

Former Member
0 Kudos

Hi All,

I have one master data characterstic as CHAR 8 with ALPHA set.

Now I am getting values like :

Master Data value Master TExt

17 Information technolugy

017 human resource

0017 Sales

Can you siggest me how to design teh CHar master data so that I can have master data values as 17,017 and 0017 all distinct.

also when user do F4 values on variable based on this char they should have all values listed.

Thnaks

Mukesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member181964
Active Contributor
0 Kudos

Hi,

See the following program, and the same logic you can apply in Transfer Rules/Transformations. Take ABAPer help. Change the Code as per your requiremets, first copy and past this code in SE38 and see the result.

REPORT  ZALPHA_INPUT.
 
DATA: ZI(18) TYPE C,
      ZO(12) TYPE C.
 
 
DATA: ZS(12) TYPE C,
      ZR(18) TYPE C.
 
      ZI = '000000099999889925'.
      ZS = '099999889925'.
 
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT         = ZI
   IMPORTING
     OUTPUT        = ZO.
 
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    EXPORTING
      INPUT         = ZS
   IMPORTING
     OUTPUT        =  ZR  .
 
Write:/   ZI.
Write:/   ZO.
 
Write:/   ZS.
Write:/   ZR.

Thanks

Reddy

Answers (2)

Answers (2)

0 Kudos

Remove the ALPHA conversion routine from the infoobject.

Former Member
0 Kudos

Hi,

If you select master data as Alpha converted, then it will 17, 017 and 0017 as seperate numbers.

You can follow your source system how it was designed.

If it is Alpha converted, and if you press F4, it will show all the values 17, 017, 0017 etc...

Thanks,

Former Member
0 Kudos

No its not treating them different , when i try to load it gives me duplicate error.

When i check remove duplicate error at info-package level it only appends as 17.

problem here is we have "000" in front and ALPH do the appending of 00000 as per teh lenghth of teh CHar.

Can you suggest any other solution

Thanks

Mukesh