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

problem with currency and quantity field

Former Member
0 Likes
432

Hi,

I have done a couple of BDC and watched that if some currency or quantity field is there and i want to run the BDC the particular currency/quantity field will not populate the value inspite of i have declared the same table field that it refers to in the screen in the internal table.

But, if i declare a character string in the internal field having same length as the screen field it will populate at run time. Why so?

Regards

Sandeep

Hi,

I have done a couple of BDC and watched that if some currency or quantity field is there and i want to run the BDC the particular currency/quantity field will not populate the value inspite of i have declared the same table field that it refers to in the screen in the internal table.

But, if i declare a character string in the internal field having same length as the screen field it will populate at run time. Why so?

Regards

Sandeep

2 REPLIES 2
Read only

Former Member
0 Likes
391

Yes , I am not sure what is the reason , but it is genaerally advised to use char fields when using a BDC.

Read only

Former Member
0 Likes
391

Hi,

Even i have experienced the same problem many a times and use a character string as a work around to solve it.

I guess one reason for it is for the currency and quantity fields, the actual defined length and the output length are different with output length being 3 or 4 bytes greater than that of actual lenght and also the fact that these fields are always right justified. hence some bytes of the field is getting truncated which the system does not allow and discards the whole value.

regards,

Mahesh