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

Conversion exit

Former Member
0 Likes
880

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
756

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
757

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

Read only

0 Likes
756

Thanks a lot Rich

it worked for me

regards

Sandeep

Read only

Former Member
0 Likes
756

Always Use character fields for Numeric in case of BDC.