cancel
Showing results for 
Search instead for 
Did you mean: 

Data type for Real in ABAP API

Former Member
0 Kudos

Hi ,

In MDM i have one field named Gross-Weight which is of type Real.

When I try to pass data to MDM through API i need to define one structure with field code of The field Gross weight but i am unable to find the equivalent data type for real.I tried using FLTP ,UNIT ,QUAN etc.but still its giving me error message "FORBIDDEN TYPE" when trying to create data.

Please suggest me an equivalent data type urgently.

Thanks and Regards,

Neethu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Neethu,

Try changing the real data type to float, long or currency.

Real data type is not supported.

Refer

Hope it helps.

Thanks,

Minaz

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try using MDM_GDT_Double or MDM_CDT_Amount as both represent 8 byte Floating point.

Regards

Nisha