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 problem

Former Member
0 Likes
2,066

Would you please tell the data type, which the integer part is 13 length, decimal is 0.

it is better for QUAN. normally the quan 13, 3 exist

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,595

hello kevin

You can create your dataelement ,i.e first create a domain hvaing 13 length and Quantity type and decimal places as 0.

ok then replace it in your created dataelement .

I think this will help u .if its then please give marks ok.

Thank you

regards

lavanya.a

7 REPLIES 7
Read only

Former Member
0 Likes
1,595

data : quan type p

or

data : quan type p decimals 0.

regards

shiba dutta

Read only

0 Likes
1,595

the quantity type, no data type in data dictionary?

Read only

0 Likes
1,595

data: d1 type p decimals 0,

d2 type p.

or use datatype PAD_AMT7S. (data element) or CCM_QUANT.

Read only

0 Likes
1,595

quan is dictionary data type you can not assign it in your abap type.

you can use

data : menge like mseg-menge.

it will take default 13 decimal 3.

or

data : menge type p decimals 0.

regards

shiba dutta

Message was edited by:

SHIBA DUTTA

Read only

Former Member
0 Likes
1,595

The data types that we frequently use in QUAN is of QUAN length 13 and Decimals 3.

But you can define ur own data type with TYPE P, TYPE QUAN 13.

If it is not there creat ur own data type adn use the same.

Message was edited by:

Judith Jessie Selvi

Read only

Former Member
0 Likes
1,595

Hi,

You can create your own datatype in the Data Dictionary with the lenght 13 and decimal 0 and use that data type in the Program.

even you can declare the same in the Program directly...

DATA: VAR(13) type P Decimals 0.

Regards

Sudheer

Read only

Former Member
0 Likes
1,596

hello kevin

You can create your dataelement ,i.e first create a domain hvaing 13 length and Quantity type and decimal places as 0.

ok then replace it in your created dataelement .

I think this will help u .if its then please give marks ok.

Thank you

regards

lavanya.a