Master data error due to ALPHA
We have scenario where i have CHAR1 created as CHAR20 which has a text master data to the same and no 'ALPHA' conversion. there is a flag set as compounding
In transaction DSO, we write a routine to assign the key for CHAR1 so that in reports it should be able to read both key and text as CHAR1 is a text MD.
MD looks like
|E||10041 - DISREGARD||ABC - DISREGARD|
in the routine
If flag = P, CHAR1 = MAT_ID
(MAT_ID = 10041)
else concatenate MAT_ID 'DISREGARD' into CHAR1 separated by '-'.
now this is throwing error while activation, as CHAR1 is getting value as 00000010041 and 00000010041 - DISREGARD, plus with some changes i even manage to activate but unable to read the text from master data in the reports.
Please suggest how can i get this issue resolved for concatenation, leading zeros and getting the text in reports.