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

Error while handling quantity in BDC

Former Member
0 Likes
379

Hi

I am updating the scheduled quantity of the schedule line using BDC. FIrst i will fetch the scheduled quantity and then the delivery quantity and will replace the scheduled quantity with the difference of these quantity. BDC is throwing an error saying the format is not acceptable. How to change the format of the quantity to the format mentioned in the user profile.

This is an urgent issue.

Regards

shaju

2 REPLIES 2
Read only

Former Member
0 Likes
357

HI,

do like this,

data: qty(16) type c,

kwmng type vbak-kwmeng. " let us assume scheduled qty.

move kwmng to qty.

after this assign thie <b>qty</b> to your bdc.

this will work well

Read only

0 Likes
357

Hi

I used the same code. If i change the user profile setting us 1 234 567,89, the BDC is rejecting the value (eg: 5.000). Please help me resolve this issue.

Thanks in Advance

shaju