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

BDC error

Former Member
0 Likes
783

Dear Friends,

When doing BDC in F-02 TC , the amount field value giving error message ' Field BSEG-wrbtr input value is longer than screen field ' . But the in flat file value is not longer than screen field.

plz urjent help me.

Thanks & regards,

Subash

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
719

Hi Suba,

do't declare that field as any other table field. Declare it as

wbrtr(16) type c.

It will definately work ...

regards,

sg

4 REPLIES 4
Read only

Former Member
0 Likes
720

Hi Suba,

do't declare that field as any other table field. Declare it as

wbrtr(16) type c.

It will definately work ...

regards,

sg

Read only

Former Member
0 Likes
719

AS BSEG-WRBTR is a currency field , you have to declare a variable of type C of length 16 because

wrbtr currrency field of 13 + 2 decimals.

data : temp_curr type c length 16.

13 + 2 + (.) decimal = 16.

move the value of bseg-wrbtr into temp_curr before moving it to the BDCDATA table.

Reward if helpful

Read only

0 Likes
719

After Declare it as

wbrtr(16) type c.

the same error is comming.

can any body solv it?

Regards

Shovan

09238344747

Read only

Former Member
0 Likes
719

Hello Subash-

In sap the domain for currency fields is WERT7.

You need to declare the field by referring domain or just by packed value.

For ex:

data:wrbtr type WERT7, *** Referring domain

wrbtr(16) type p decimals 2. ***Referring data type.

I think this will solve your issue.

Cheers,

~Srini....