Application Development 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: 

what is the error

former_member198275
Active Contributor
0 Kudos

hi all...

i am making bdc for FICO...

i m passing data from BDC to FBB1 ...in second screen currency field is not being filled by BDCDATA-fval value..and message coming is ->

field Field BSEG-WRBTR. input value is longer than screen field...<b>though

I am passing a variable of type WRBTR to the work area of BDCDATA table.</b>

plz help..

regards....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

chek whether the BSEG-WRBTR. is there in the screnn

and you have to conver the amount field into character field and then

populate it

then only it wil work

as the bdcdata -fval is off character type

thanks & regards,

Venkatesh

9 REPLIES 9

Former Member
0 Kudos

Does the screen field use WRBTR as the data element.

0 Kudos

YES

Former Member
0 Kudos

Hi,

chek whether the BSEG-WRBTR. is there in the screnn

and you have to conver the amount field into character field and then

populate it

then only it wil work

as the bdcdata -fval is off character type

thanks & regards,

Venkatesh

0 Kudos

BSEG-WRBTR is a currency field in BDC.and while posting to BDC i need upto 2 decimal piont values. So if i convert the currency/amount field to character then hoe can i get upto 2 decimal pt value?

Former Member
0 Kudos

use a character field like

data w_wrbtr(16).

w_wrbtr = BDCDATA-fval.

now pass this W_WRBTR to BSEG-WRBTR in BDC.

Reward points if useful.Get back in case of query...

Cheers!!!

and dear you don't need to worry bout decimal point and values, its taken care of...

Message was edited by:

Tripat Pal Singh

0 Kudos

when im debugging the BDC in that FVAL is taking the value but when im running the BDC in forground its not taking the value for that particular field only...

so now what to do???

0 Kudos

Buddy, dont see the value in debugging, while inserting values in BDC using wrbtr field SAP inserts the commas in between depending upon your settings, so the field length increase, kindly take the WRBTR field into a Character field as told in my previous post.

Reward points if useful.Get back in case of query...

Cheers!!!

0 Kudos

thanks...u have solved my problem..here is ur rewords

0 Kudos

Oh!!!

already answered..

regards..