2007 Oct 22 7:33 AM
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 **********
2007 Oct 22 8:10 AM
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'.
2007 Oct 25 11:19 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |