Hi all,
In SAP table MARA the material/article number is zero padded as the field is 18 characters long. In display in SAP source system you dont necessarily see the zero padding. However, in HANA the table output shows the zero padding.
I have a requirement to export this data without the zero padding. I know you can create Virtual columns in the SQL logic of the database table and then use this as the display in the output but I really dont want to have to create manual code at the database level which isnt even transportable.
Is there a way to strip the zeros in the output using SQL syntax in Stored Procedures? I have tried to specify the output data types as different types such as integer but this doesnt work.
Any knowledge around this area for outputing the same material number less the padding?
Any help would be greatly appreciated. As always im interested in minimising performance impact as much as possible!
Kind regards,
Danielle