2007 Dec 31 11:25 AM
hi
how to save selection criteria into a ztable?
thanks in advance
hi
how to save selection criteria into a ztable?
thanks in advance
2007 Dec 31 11:28 AM
Hi,
Usually Selection criteria stores in table TVARV . U can select that from TVARV table insert into z table.
Regards,
Prashant
2007 Dec 31 11:32 AM
TVARV Table contains the selection criteria.
Type is the field where we give type of variant i.e. Select-Options (S) or Parameters(P).
Awrd Points if useful
Bhupal
2007 Dec 31 11:35 AM
Hi vinatha,
*Get the list of selection parameters
v_prog_name = sy-repid.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = v_prog_name
TABLES
selection_table = lt_seltab
EXCEPTIONS
not_found = 1
no_report = 2.
IF sy-subrc <> 0.
"Do nothing
ENDIF.
Here, u can get selet options variables and values using SELNAME,SIGN, OPTION, LOW, HIGH
like,
LOOP AT lt_seltab INTO lwa_seltab.
..........
..........
ENDLOOP.
and then insert in to Ztable.
Points if useful !!
REgards,
Nimesh
2007 Dec 31 1:38 PM
hi, nimesh
my ztable contains Fields
MANDT
LGNUM
LFART
ROUTE
LGORT
VSTEL
and my internal table for collecting select-options is of structure rsparms with fields selname, kind, sign, option, high and low.
i have internal table with sturcure of my ztable.
once i collect the values in internal table(rsparms struct)
how do i pass them to my internal table (ztable sturct)??
i want all the range of that select options to be passed to my ztable ,
it wud be of great help.
thanx.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |