Skip to Content
0
Jul 19, 2016 at 02:01 PM

SAP MARA-BISMT query usage

109 Views

Hi experts,

In our SAP system, the value MARA-BISMT is stored without leading zeros. I want to add the leading zeros in a query and reuse this value further on in some join statements. I used this code at start of selection:

data: lv_char18 like MARA-BISMT.

call function 'CONVERSION_EXIT_ALPHA_INPUT'

exporting

input = lv_char18

importing

output = lv_char18.

move lv_char18 ro mara-bismt.

Unfortunatelly the value remains the same and nothing is changing in my query. I do not have advanced ABAP qnowledges to go further with this.

Can you please give me a hint?

Thank you in advance!