Skip to Content
0
Former Member
Jun 05, 2009 at 08:02 PM

SHDB print sapscript

50 Views

Hi,

On the screen, press the button to print sapscript manually today. I need to automatically generate a SHDB of this action is to print?

someone help me?

MY SHDB

PERFORM bdc_dynpro USING : 'SAPMZQM005' '0100'.

PERFORM bdc_field USING : 'BDC_OKCODE' '=EXEC',

'BDC_CURSOR' 'J_1BNFDOC-NFNUM',

'J_1BNFDOC-NFNUM' i_nfnum,

'BDC_CURSOR' 'J_1BNFDOC-SERIES',

'J_1BNFDOC-SERIES' i_series.

PERFORM bdc_dynpro USING : 'SAPLSTXC' '0100'.

PERFORM bdc_field USING : 'BDC_CURSOR' 'ITCPP-TDDEST',

'BDC_OKCODE' '=PRNT'.

ENDIF.

vg_modo = c_n.

  • Chamando transação ZQM010 com os devidos dados.

CALL TRANSACTION c_zqm010

USING ti_bdcdata

MODE vg_modo

UPDATE c_s

MESSAGES INTO ti_msg.

thanks

Edited by: Carlos Alberto Torres on Jun 5, 2009 10:08 PM