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

error in BDC

Former Member
0 Likes
639

hi all,

In BDC I am getting one error for quantity Field.The Error is for "MENGE"field.

The error is "The length of the field is more than the screen field."what should i have to do???

Here i am not getting this field from flat file.

it is selected from stpo table based on flat file data.

please reply.

Thanks & Regards,

Reddy.

6 REPLIES 6
Read only

Former Member
0 Likes
621

Take that field/value and convert using WRITE <A> TO <B> while passing to screen.

Read only

Former Member
0 Likes
621

hi,

Before passing the field value to your BDC Program ... pass it to a variable with write to statement and then pass it to your BDC program ..

Regards,

Santosh

Read only

Former Member
0 Likes
621

Hai,

Declare the corrsponding variable in your Report as char type as below:

Data:

w_var(Maximum possible length of menge,an integer expected) type c.

Accept the value into this variable and then write to statement.

Hope this helps you.

Regds,

Rama chary.Pammi

Read only

0 Likes
621

Please use when you upload the data from file to SAP R/3 Transaction,use currency field and Quantity field as CHAR,Otherwise you get error.

data : l_menge(15) type c.

then you will not get any problem.

Use Reward Points.

Thanks

Seshu

Read only

0 Likes
621

hi sir im a fresher nice meeting u

Read only

Former Member
0 Likes
621

Thank you for all of your suggestions.

Problem Solved with write statement.

Thanks&Regards,

chandra.