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: 

Conversion exit

Former Member
0 Kudos

Hi all

i am trying to upload the AP through BDC.

i have a field for amount (bseg-wrbtr).

when i process the session an error comes saying the input value is longer than the screen field and there no value appears in the field

do i need to declare that field in a different manner(since i am referring to the table BSEG field)?

is there any conversion exit available which will solve the problem?

waiting for the reply

regards

sandeep

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This happens a lot with quantity fields and BDC. What I usually do is move the value to another field defined differently, then use that field in the BDC.

data: bdc_qty(10) type c.

  bdc_qty = bseg-wrbtr.

  perform bdc_field       using 'BSEG-WRBTR'
                                BDC_QTY.

This always seems to work for me.

Regards,

Rich Heilman

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

This happens a lot with quantity fields and BDC. What I usually do is move the value to another field defined differently, then use that field in the BDC.

data: bdc_qty(10) type c.

  bdc_qty = bseg-wrbtr.

  perform bdc_field       using 'BSEG-WRBTR'
                                BDC_QTY.

This always seems to work for me.

Regards,

Rich Heilman

0 Kudos

Thanks a lot Rich

it worked for me

regards

Sandeep

Former Member
0 Kudos

Always Use character fields for Numeric in case of BDC.