Application Development 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: 

Hi all How to define data type 'P' in structure.

Former Member
0 Kudos

Hi all,

I need to create data element having type <b>P</b> with 2 decimal pt in se11.

Plz suggest me which type should I use to create such element as there is no data type as <b>P</b> in se11.

4 REPLIES 4

Former Member
0 Kudos

You can use the type CURR.

- April King

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try data element DEC* i.e. DEC8_2.

Regards,

Ferry Lianto

varma_narayana
Active Contributor
0 Kudos

Hi

If the Field needs to Store amount use CURR.

If the Field needs to Store Quantities use QUAN.

Otherwise use Type DEC.

All these are Equal to Type P.

REWARD IF HELPFUL

Former Member
0 Kudos

Hi,

Yes there is no data type 'P' in se-11 for data element.

there two way you can define the D.E

-one is by define with type 'CURR' and give length and decimal places suppose if you define cust_money as curr length is 12 with in you can give decimal places as 2 or 3 etc a/c your requirement.

-secon one is you can use the type as 'DEC' and give the legth and decimal places as explained above.

before creating the data element you can check r they any built in dataelements avialbe suppose for DEC* give in se11 and press F4 then u can find out the list of D.E like there are already some d.E like dec8_2,dec25,DEC11_2 etc...

<b>Reward with points if helpful.</b>

Regards,

Vijay