Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Character Field Query

Hi Friends,

I have declared a character field <b>'Amount'</b> of length 16(<b>Amount</b> Type <b>char16</b>).It is collecting the value from <b>Reguh-rwbtr</b>.(<b>rwbtr is of TYPE CURR with 2 dec places in table Reguh</b>).

<b>Now the problem is that the value is populating correctly but it is showing the blank spaces

for the spaces which are not filled in field 'Amount'.</b>The data is coming right align.

But i want to fill the preceding spaces with zeros.

For eg: MXN 2990.00Mr. Camberl

After MXN there is 16 char space for 'Amount (not shown here).The data is populating but preceeding spaces are to be filled with zeros.

I have tried FM "CONVERSION_EXIT_ALPHA_INPUT" but its not working.

Kindly suggest some solution.Urgently required.



Points will be rewarded surely for gud solutions.<i></i>

Former Member
Not what you were looking for? View more on this topic or Ask a question