08-09-2017 8:48 PM
Hi all,
I am using function 'REUSE_ALV_GRID_DISPLAY' to display some records in ALV grid. The record displays material, the quantity of the material consumed and the unit of measure (UoM) of the quantity. I am fetching the data from the table AUFM and the field I am using for UoM is ERFME.
The problem is that when the UoM is displayed in the ALV, it is displayed as KAR but when i print the report or check the print preview, the UoM is displayed as CAR. I want to display CAR also in the ALV.
I have tried using the function 'CONVERSION_EXIT_CUNIT_OUTPUT' which converts the KAR to CAR in the ALV, but when I print it or check the print preivew , it shows asterisks (*) in the UoM field.
Can anyone tell me why this is happening and how I can solve this problem? Any help will be greatly appreciated.
Regards,
Glauco Diogo
08-09-2017 8:50 PM
By passing wa_fieldcat-edit_mask = '== CUNIT' and the error persists. Try using wa_fieldcat-no_convext = 'X'.
08-09-2017 8:50 PM
By passing wa_fieldcat-edit_mask = '== CUNIT' and the error persists. Try using wa_fieldcat-no_convext = 'X'.
08-09-2017 8:54 PM
Using wa_fieldcat-no_convext = 'X'. also solved my problem.
Thanks Glauco Oliveira!