hi friends,
i am testing Z-ABAPS after upgrading from R/3 46c to mysap erp 2005 (ECC 6.0):
at the end-of-selection i am submitting another z-abap which the
parameter sy-spono.the spool will be transmitted into PDF in this z-abap and then got mailed.
BUT: under ECC 6.0 SY-SPONO is always EMPTY ! i have debugged the same program with R/3 4.6.c now and with ecc 6.0. with 46c it is working, sy-spono is allways filled, i can use it as parameter. but in ecc 6.0 it is empty.
any ideas for that ?
reg, Martin
END-OF-SELECTION.
IF sy-batch = 'X'
AND ( p_ftp = 'X' OR p_mail = 'X' ).
SUBMIT zzfl_convert_pdf USING SELECTION-SET 'MIS'
<b>WITH spoolno EQ sy-spono</b>
WITH download EQ p_ftp "03a
WITH p_file EQ lf_file
WITH p_mail EQ p_mail "03a
WITH p_vert EQ p_vert "03a
WITH p_betr EQ p_betr "03a
AND RETURN.
ENDIF.