2014 May 23 12:09 PM
WHEN '40'.
perform bdc_field using 'RF05V-NEWBS'
ITAB-NEWBS. "'40'.
perform bdc_field using 'RF05V-NEWKO'
ITAB-NEWKO. "'39000660'.
perform bdc_dynpro using 'SAPLF040' '0300'.
perform bdc_field using 'BDC_CURSOR'
'RF05V-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ITAB-WRBTR. "'16000'.
perform bdc_field using 'BSEG-BUPLA'
ITAB-BUPLA . "'NMUJ'.
perform bdc_field using 'BSEG-ZUONR'
ITAB-ZUONR. "'F/S - APRIL-14'.
perform bdc_field using 'BSEG-SGTXT'
ITAB-SGTXT. "'F/S FOR APRIL -2014'.
perform bdc_field using 'RF05V-NEWBS'
ITAB-NEWBS. "'40'.
perform bdc_field using 'RF05V-NEWKO'
ITAB-NEWKO. "'39000660'.
I want to fetch next record of itab-newbs and itab-newko in a single loop or case statement.
2014 May 23 12:24 PM
use READ TABLE with the next index,
pseudo code :---READ TABLE itab INDEX (sy-tabix + 1)
2014 May 23 12:24 PM
use READ TABLE with the next index,
pseudo code :---READ TABLE itab INDEX (sy-tabix + 1)
2014 May 24 11:46 AM