You are on page 1of 1

DATA: it_seltab type standard table of rsparams.

* Pone los parametros y Select options en la tabla it_seltab


CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = 'ZPP00210'
* IMPORTING
* SP =
TABLES
selection_table = it_seltab
EXCEPTIONS
not_found =1
no_report =2
OTHERS =3
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

SUBMIT zpp00050 WITH SELECTION-TABLE it_seltab


TO SAP-SPOOL DESTINATION 'DSPI'
LIST NAME 'ZPP00210'
LIST DATASET 'LST_OF'
LINE-SIZE 120
NEW LIST IDENTIFICATION 'X'
WITHOUT SPOOL DYNPRO
AND RETURN.

You might also like