Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

data type int4 justify right

Former Member
0 Likes
826

Hi,

is it possiple to save data right justifyed in a table flied type int4?

if you say yes than please explain me how, if no...why not?

I tryed severel things function modules and shift varx right, but nothing worked.

please help me.

kind regards

tk

5 REPLIES 5
Read only

matt
Active Contributor
0 Likes
798

Justification of any kind is irrelevant to numeric types like integer or floating point. Justification is a text concept.

In any case, why should you want data stored in a justified way? It's only a matter of interest when the data is displayed to the user. Surely it doesn't matter for storage.

Read only

Former Member
0 Likes
798

Hello thank you for your fast answer.

This Data is shwon for the User in a Searchhelp (WebDynpro Application), so it would be nice to show all numers on the right...(justified).

kind regards

tobias kübler

Read only

matt
Active Contributor
0 Likes
798

You have to convert it to string/character format then.

Read only

Former Member
0 Likes
798

i need a number format for my counter so string/char ist not possiple...it is strange that this simple thing is not possiple in abap...omg

Read only

matt
Active Contributor
0 Likes
798

You display the number formatted, but handle it as a number in the backend. I really don't see the problem, I'm afraid.