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

Regarding BDC

Former Member
0 Likes
879

Hi all,

I am facing a problem in BDC. I am not sure about OK_Code funda used here, as I am just modifying the program; I dont know why OK_CODE '<b>=P+</b>' is used here.

Error while running the BDC is:

<b>Field FEBMKA-KWBTR(15) is not an input field</b>

The field is of length 13 in the mentioned table but in the program has been

assigned length 15 as it was needed.

Please suggest.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
841

FEBMKA-KWBTR(15),

This is table control field, (15) means 15th row in a table control. check ur program

to handle table control.

7 REPLIES 7
Read only

Former Member
0 Likes
842

FEBMKA-KWBTR(15),

This is table control field, (15) means 15th row in a table control. check ur program

to handle table control.

Read only

Former Member
0 Likes
841

OK_CODE is your sy-ucomm if u go to any screen program - attributes u will find thhe element list last variable as OK_CODE,

FEBMKA-KWBTR(15) its not pointing to the lenght but to the no of rows in the table control, it should be that there are 14 rows in the TC and you are trying to pouplate the 15 the row,

=P+ is the OK_CODE for page down, see by all screen 'A' mode to see if your =P+ is working or not.

santhosh

Read only

0 Likes
841

After you assign the OK code you need to specify the screen again.

Read only

Former Member
0 Likes
841

P+ means page down.

Regarding <b>Field FEBMKA-KWBTR(15) is not an input field</b>

Please tell me the tcode for which u are creating a BDC. and whether u have used recording method to create program .

Because it seems that the field which u are using in ur program does not exists in that screen or that field is display only.

Read only

0 Likes
841

The T/Code used here is FF67 of FI module.

In a screen there (named DISPLAY MANUAL BANK STATEMENT) there is a field

called Amount (FEBMKA-KWBTR) .

Till now no error was detected as the no. of rows did not exceed,

now that it has exceeded the length of the screen, this error is flashing.

Kindly suggest.

Message was edited by:

Amit Srivastava

Read only

0 Likes
841

got ur problem..

Earlier there were lesser no of rows in the input file

may be similar or lesser in number than the fields visible in the screen

Solution:...

suppose the no of rows visible in the screen are 14,

then u have to take a variable and after every 14th entry u shud call p+ (page down) and for the fifteenth entry the screen field name will be

FEBMKA-KWBTR(01) again.so u shud generate the screen field FEBMKA-KWBTR at run time.

ie

var1 = 'FEBMKA-KWBTR('

var2 = variable (1 to 14)

var3 = ')'

and concatenate var1 var2 var3.

Read only

0 Likes
841

Thanks a lot