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 table control page wise

Former Member
0 Likes
462

Hi expert,

i am working for MEK1 tcode this bdc working fine when i am using single page with 14 records

but is data is more than one page i.e 24 records then how to deal with it..

I haver recorded Next page button also.

perform bdc_field using 'BDC_OKCODE' '=P+'.

Code is ok but ... how to evoke next page whan first page is full-fill.send hint...

thanks..

**********Point is assured **********

Hi expert,

i am working for MEK1 tcode this bdc working fine when i am using single page with 14 records

but is data is more than one page i.e 24 records then how to deal with it..

I haver recorded Next page button also.

perform bdc_field using 'BDC_OKCODE' '=P+'.

Code is ok but ... how to evoke next page whan first page is full-fill.send hint...

thanks..

**********Point is assured **********

2 REPLIES 2
Read only

Former Member
0 Likes
419

see my following code in my case there was 5 records

perform bdc_screen using 'SAPMM07I' '0701' 'X'.

perform bdc_field using 'RM07I-IBLNR' docno.

perform bdc_field using 'BDC_OKCODE' '/00'.

perform bdc_screen using 'SAPMM07I' '0731' 'X'.

i = 1.

loop at itab_stock.

quantchar = itab_stock-menge.

concatenate 'ISEG-ERFMG(' i ')' into fnam.

perform bdc_field using 'BDC_CURSOR' FNAM.

perform bdc_field using fnam quantchar.

  • BREAK-POINT.

if i = '5'.

perform bdc_field using 'BDC_OKCODE' '/00'.

perform bdc_screen using 'SAPMM07I' '0731' 'X'.

i = 0.

endif.

i = i + 1.

endloop.

perform bdc_field using 'BDC_OKCODE' '/00'.

perform bdc_screen using 'SAPMM07I' '0731' 'X'.

perform bdc_field using 'BDC_OKCODE' '=BU'.

call transaction 'MI04' using itab_bdcdata mode 'A'.

Read only

Former Member
0 Likes
419

Thanks madan,

Point has been given