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: 

Problem in BDC for posting an amount feild, please help

Former Member
0 Kudos

I am doing one batch upload problem. Where I have to upload data from transparent table to amount field into Tcode FPE1. My problem is that when I tried to post this field I get the message 'Field is two big for screen field'. I debugged and found out that when I post amount field (type CURR Length 13 Decimal 2) into Internal table for type BDCDATA, the field get left aligned in Fval-bdcdata field which is of 132 character long. I also tried to change the type of amount field into Char type, but then I get the error 'Enter numeric value'. If you got any idea how to post this amount filed please to pass me.

Thanks and Regards,

Shekhar

7 REPLIES 7

Former Member
0 Kudos

Hi Shekhar,

Use the following:

DATA:

zz_menge(16) TYPE c.

WRITE bseg-menge

TO zz_menge UNIT bseg-meins.

PERFORM bdc_field

USING 'VBAP-ZMENG(01)' zz_menge.

(in the example the quantity field BSEG-MENGE is posted to the quantity field in the orderposition).

Regards,

John.

0 Kudos

hi John,

It worked....Thanks..

Regards,

Shekhar

0 Kudos

Hi Shekhar,

Glad I could help; would you please be so kind to reward the point by clicking the yellow star?

Thanx,

John.

0 Kudos

Hi John,

I will do that, but don't know which Yellow star....

Please tell me, as i am new to this forum.

Regards,

Shekhar

0 Kudos

Hi Shekbar,

You will find a yellow star in the header of each reply you have got to your message. By clicking the star on the reply that solved your problem you can reward points.

Kind regards,

John.

0 Kudos

HI John.

There is star but not yellow , and its not clickable, if i take my mouse pointer there it says 'not rewared yet'

i will check what is the problem, and then i will post the message with points to you.

Regards,

Shekhar

0 Kudos

Hi Shekbar,

In the overview click on the topic you have posted; you will get a list of all the replies to your message. Each reply of other people than yourself should have a yellow star next to the "reply" and "Email this post" buttons.

Regards,

John.