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 FIELD VARIABLE

Former Member
0 Likes
768

Dear All,

Here i am creating BDC for the MM01 , on MRP 1 view there is field ,called FIXED LOT SIZE field name MARC-BSTFE , so i defined the same while declaring variables as BSTFE LIKE MARC-BSTFE,

but it was not working , After i changed the same to BSTFE(4) now it is working, how can i identify how to declare the same as integer?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
670

Hi,

While developing BDC, it is always safe to declare all the fields as CHAR, bcoz u never know that the data which will be uploaded is declared with what datatype.

to find the no. of characters, u can see the data element of the screen field.

Hope this will help u.

Regards,

Aleem.

3 REPLIES 3
Read only

Former Member
0 Likes
671

Hi,

While developing BDC, it is always safe to declare all the fields as CHAR, bcoz u never know that the data which will be uploaded is declared with what datatype.

to find the no. of characters, u can see the data element of the screen field.

Hope this will help u.

Regards,

Aleem.

Read only

0 Likes
670

Dear ,

Why BSTFE LIKE MARC-BSTFE, is not working thr ?

Regards

Read only

former_member585060
Active Contributor
0 Likes
670

Declare always the fields into which the data is coming as Character type, and for the maximun length check the correcponding data element or field in SAP data dictionary