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: 

VK11 not able to save beyond 18 records

Former Member
0 Kudos

hi ,

i have done the BDC recording and i am trying to save the data.

but its not taking beyond 18 records.

could anyone pls help me. should i need to include the record for scroll down part.

pls help me.

thanks,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Ofcourse you need to capture the Page down event for BDC Programming to suit your requirement.

During BDC recording procedure itself, you try to append morethan 18 records in a table.

Please search SDN. There are lots of post or solution which will help you to capture page down for BDCs.

Thanks and Best regards,

Suresh

3 REPLIES 3

Former Member
0 Kudos

Hi,

Ofcourse you need to capture the Page down event for BDC Programming to suit your requirement.

During BDC recording procedure itself, you try to append morethan 18 records in a table.

Please search SDN. There are lots of post or solution which will help you to capture page down for BDCs.

Thanks and Best regards,

Suresh

Former Member
0 Kudos

would anyone pls help me on this.

logic for page down logic.

pls refer the below code

DATA: lv_lines TYPE i.

DELETE gt_file3 INDEX 1.

DESCRIBE TABLE gt_file3 LINES lv_lines.

gv_max = lv_lines DIV 18.

gv_max = gv_max + 1.

lv_max1 = 18.

IF lv_index NE gv_max .

IF lv_index LE lv_max1.

lv_page = lv_index.

ELSEIF lv_index GT lv_max1.

lv_page = lv_index - lv_max1.

ENDIF.

ENDIF.

IF lv_index GT 18.

lv_index = lv_page + 1.

ENDIF.

IF ABS( lv_index ) = 18.

PERFORM bdc_field USING 'BDC_OKCODE' '=P+'.

ENDIF.

Former Member
0 Kudos

i need for generalised way... how much ever the settings of VK11.

Edited by: Shantha Sheela on Jun 1, 2009 7:55 AM