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 with ok_code in BDC

former_member587421
Participant
0 Kudos
109

Dear Gurus,

I have written a BDC program for a tcode. While doing the recording, we have to select a line and then press change button to change the value of articles. This selection mode is ok_code ' =CHAN'. But when I am running the program, this ok_code is not working. A pop up opens and says to select at least one row. If I manually select the row,then the rest of the program is doing fine. But i need to select the row automatically. Please help me.

With regards,

Rosaline.

2 REPLIES 2

former_member195402
Active Contributor
0 Kudos
48

Hi,

I think the okcode would work, if you have selected one line. You should have filled one mark field. Look at your recording, there should be a sample for that!

Regards,

Klaus

0 Kudos
48

Hi Klaus,

I have selected the line to change its attributes. But not working. I have to give a tick mark on that field, then I can do rest of the steps. But I need to auto select the row. I am doing BDC in BI(Business Intelligent) development.

Thanks,

Rosaline.

Edited by: Rosaline. on Apr 27, 2011 7:09 AM