Skip to Content
0
Former Member
Sep 22, 2005 at 03:26 PM

need change Batch input transaction me21

254 Views

Hi all,

I have to modify a existing report that load data via bdc,

i have to add ekko-wkurs field in bdc.

my question is, after put the field wkurs in internal table with other data, how can modify the bdc?

writing this: perform bdc_field using 'EKKO-WKURS'

tab-01-tst-cambio.

and if it the right way, where I exactly put this piece of program?

I paste a piece of report where I put this:

perform bdc_dynpro using 'SAPMM06E' '0100'.

perform bdc_field using 'EKKO-LIFNR'

TAB-01-TST-CODICE_FORNITORE.

perform bdc_field using 'RM06E-BSART'

'ZAPI'.

perform bdc_field using 'RM06E-BEDAT'

TAB-01-TST-DATA_ODA.

perform bdc_field using 'RM06E-BSTNR'

TAB-01-TST-NUM_ODA.

perform bdc_field using 'EKKO-EKORG'

'Z535'.

perform bdc_field using 'EKKO-EKGRP'

'Z34'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'/00'.

perform bdc_dynpro using 'SAPMM06E' '0514'.

perform bdc_field using 'EKKO-BUKRS'

TAB-01-TST-SOCIETA.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'ENTE'.

perform bdc_dynpro using 'SAPMM06E' '0120'.

perform bdc_field using 'BDC_OKCODE'

'=KOPF'.

perform bdc_dynpro using 'SAPMM06E' '0101'.

perform bdc_field using 'EKKO-ZTERM'

TAB-01-TST-CON_PAG.

perform bdc_field using 'EKKO-WAERS'

TAB-01-TST-DIV_ODA.

  • aggiunta del campo wkurs

PERFORM BDC_FIELD USING 'EKKO-WKURS'

TAB-01-TST-CAMBIO.

PERFORM BDC_FIELD USING 'EKKO-IHREZ'

'CONVERSIONE'.

perform bdc_field using 'BDC_OKCODE'

'AB'.

thanks all.