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

Former Member
0 Likes
726

hi,

i am doing a bdc using call transaction

but i am get an error when flat file transfer in the field WRBTR

where wrbtr type bseg-wrbtr,

in my internal table

types: begin of lt_output,

wrbtr type bseg-wrbtr,

end of lt_output.

when i give value 95000 by flat file into this field

than it gives a message as

field BSEG-WRBTR input value is longer than screen field

plz provide me solution for this

thanks jayant

6 REPLIES 6
Read only

Former Member
0 Likes
706

Hi,

In bdc while using the amount fields the same problem occurs, so try to use the following code.

declare a local variable and proceed.

clear l_kbetr.

l_kbetr = it_material-kbetr.

condense l_kbetr.

perform bdc_field using : 'KONP-KBETR(01)' l_kbetr.

Hope this helps you.

Reward points if helpfull.

Thanks & Regards

Y.R.Prem Kumar

Read only

Former Member
0 Likes
706

Hi declare like this,

types: begin of lt_output,

wrbtr(16),

end of lt_output.

Read only

Former Member
0 Likes
706

wrbtr type bseg-wrbtr,

l_variable = itab-wrbtr.

condense l_variable .

and then pass it into bdc.

hope it helps

Regards

Read only

Former Member
0 Likes
706

condense and pass taht to BDC routine

Read only

Former Member
0 Likes
706

Dear,

Define the other filed.

Amount(13).

COpy the value of WRBTR into Amount .

amount = wrbtr.

Pass Amount as a FVAL.

Regards,

Read only

0 Likes
706

HI EXPERTS,

thanks to all of u solve my problem

thanks