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

avoiding the decimals in BDC

Former Member
0 Likes
570

Hi all,

In the BDC for FB01 i am passing the value to the Taxcode(BSET-FWSTE) field as one of the fields..

The value i am passing for the TAXCODE is "200"..

But when i am running the BDC in Append mode and checking it is taking the value as "200.00"

But i need it to be as "200" only.

How can i do this

Regards

Ajay

Hi all,

In the BDC for FB01 i am passing the value to the Taxcode(BSET-FWSTE) field as one of the fields..

The value i am passing for the TAXCODE is "200"..

But when i am running the BDC in Append mode and checking it is taking the value as "200.00"

But i need it to be as "200" only.

How can i do this

Regards

Ajay

3 REPLIES 3
Read only

Former Member
0 Likes
529

in ur i.tab specify the Taxcode as

Taxcode ( ) type c.

and not as

Taxcode type BSET-FWSTE

Read only

Former Member
0 Likes
529

I had declared it as

taxamount(16) type C.

Read only

0 Likes
529

Instead of moving an amount to this character field use

write: v_amt to taxamount decimals 0.

Darren