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 the quantity field in bdc?

Former Member
0 Likes
988

Hi,

i have to populate a quantity field in bdc .

for ex 123.00. but the bdc accepting only in the form of 123,00.

How can I do this .

I tried by changing the user profile, but went in vain.

Suggest me how to convert ?

Thanks.

Hi,

i have to populate a quantity field in bdc .

for ex 123.00. but the bdc accepting only in the form of 123,00.

How can I do this .

I tried by changing the user profile, but went in vain.

Suggest me how to convert ?

Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
788

Hi,

Please move the quantity field to character field then use the character field for your BDC input.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
788

Hi,

Create a variable of TYPE CHAR.Write your quantity field value into this variable and pass this variable to the BDC. This is the way of passing quantity fields to BDC.

DATA: V_AMOUNT(22) TYPE C.

WRITE ITAB-DMBTR INTO V_AMOUNT.

Pass this V_AMOUNT to BDC flow.

Hope this helps.

ashish

Read only

0 Likes
788

Thanks for your responce.

i am using the t/c : mb1a.

the field is mchb-clabs.

after converting into characte also i am geting the same as 123.00.

but i need 123,00.

Thanks

kumar

Read only

0 Likes
788

Hi,

for the user id, get the decimal settings (DCPFM) from table USR01. Check the amounts accordingly in the required format. And pass this amount to your BDC. You still need to pass it to a character variable and then to BDC.

ashish

Read only

0 Likes
788

Hi

try this code..


REPLACE ALL OCCURRENCES OF '.' IN mchb-clabs WITH ','.