Hı experts
my select statement doesnt record any data
ı cant fıgure out why ıt dıdnt work
when ı delete my where condıtıons on select and desıgn ıt as select * from blaa blaa ınto blaatable up to .. rows.
ıt records data but ın my sıtuatıon on where condıtıons ıt just doesnt work
any help wıll be apprıcate..
here ıs my codess :
type-pools : slis.
tables : ZFI_T_MAHSUP. " yenı mahsup surecı tablosu
types : begin of st_outputdata,
sozlesme like zfi_t_mahsup-sozlesme, " sozlesme
kunnr like zfi_t_mahsup-kunnr, " musterı no
dt_tutar like zfi_t_mahsup-dt_tutar, " dt tutar
dt_waers like zfi_t_mahsup-dt_waers, " dt tutar para bırımı
prim_tutar like zfi_t_mahsup-prim_tutar, " prım tutar
prim_waers like zfi_t_mahsup-prim_waers, " prım tutar para bırımı
mahsup_tutar like zfi_t_mahsup-mahsup_tutar, " mahsup tutar
mahsup_waers like zfi_t_mahsup-mahsup_waers, " mahsup tutar para bırımı
mahsup_kkurs like zfi_t_mahsup-mahsup_kkurs, " mahsup kur
* oo_tutar like zfi_t_mahsup-oo_tutar,
* oo_waers like zfi_t_mahsup-oo_waers,
* oo_bukrs like zfi_t_mahsup-oo_bukrs,
* oo_gjahr like zfi_t_mahsup-oo_gjahr,
* oo_belnr like zfi_t_mahsup-oo_belnr,
* oo_buzei like zfi_t_mahsup-oo_buzei,
* oo_budat like zfi_t_mahsup-oo_budat,
* bukrs like zfi_t_mahsup-bukrs, "
gjahr like zfi_t_mahsup-gjahr,
belnr like zfi_t_mahsup-belnr,
* buzei like zfi_t_mahsup-buzei,
budat like zfi_t_mahsup-budat,
bldat like zfi_t_mahsup-bldat,
ft_date like zfi_t_mahsup-ft_date,
ft_belgesi like zfi_t_mahsup-ft_belgesi,
ft_tutar_try like zfi_t_mahsup-ft_tutar_try,
virman_date like zfi_t_mahsup-virman_date,
virman like zfi_t_mahsup-virman,
denk_date like zfi_t_mahsup-denk_date,
denklestirme like zfi_t_mahsup-denklestirme,
* ab_date like zfi_t_mahsup-ab_date,
* ab_gjahr like zfi_t_mahsup-ab_gjahr,
* ab_belgesi like zfi_t_mahsup-ab_belgesi,
durum like zfi_t_mahsup-durum,
imei like zfi_t_mahsup-imei,
model like zfi_t_mahsup-model,
zsktarihi like zfi_t_mahsup-zsktarihi,
comnt(100) TYPE c,
cell_color TYPE lvc_t_scol,
end of st_outputdata.
DATA: t_outputdata TYPE st_outputdata OCCURS 0 WITH HEADER LINE.
DATA: v_repid LIKE sy-repid.
DATA: t_layout TYPE slis_layout_alv,
t_fieldcatelog TYPE slis_t_fieldcat_alv,
t_listheader TYPE slis_t_listheader,
t_events TYPE slis_t_event,
t_sortinfo TYPE slis_t_sortinfo_alv.
DATA: ls_cellcolor TYPE lvc_s_scol.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS so_bukrs LIKE zfi_t_mahsup-bukrs DEFAULT '1100' NO-DISPLAY.
SELECT-OPTIONS so_sozle FOR zfi_t_mahsup-sozlesme.
SELECT-OPTIONS so_zskta FOR zfi_t_mahsup-zsktarihi.
SELECT-OPTIONS so_kunnr FOR zfi_t_mahsup-kunnr.
PARAMETERS so_gjahr LIKE zfi_t_mahsup-gjahr.
SELECT-OPTIONS so_ft_da FOR zfi_t_mahsup-ft_date.
SELECT-OPTIONS so_ft_be FOR zfi_t_mahsup-ft_belgesi.
SELECT-OPTIONS so_virma FOR zfi_t_mahsup-virman_date.
SELECT-OPTIONS so_virmn FOR zfi_t_mahsup-virman.
SELECT-OPTIONS so_denk_ FOR zfi_t_mahsup-denk_date.
SELECT-OPTIONS so_denkl FOR zfi_t_mahsup-denklestirme.
PARAMETERS so_durum LIKE zfi_t_mahsup-durum.
SELECT-OPTIONS so_imei FOR zfi_t_mahsup-imei.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS r_list RADIOBUTTON GROUP g1.
PARAMETERS r_grid RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b2.
BREAK-POINT.
******* end of data declaratıon *********************
INITIALIZATION.
v_repid = sy-repid.
end-of-SELECTION.
PERFORM build_outputdata.
PERFORM build_fieldcatelog.
PERFORM build_eventsinfo.
PERFORM build_sortinfo.
PERFORM build_listheader.
PERFORM build_layout USING t_layout.
IF r_list = 'X'.
PERFORM display_listreport.
ELSEIF r_grid = 'X'.
PERFORM display_gridreport.
ENDIF.
*&---------------------------------------------------------------------*
*& Form BUILD_OUTPUTDATA
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
FORM build_outputdata .
select *
from zfi_t_mahsup into CORRESPONDING FIELDS OF TABLE t_outputdata
*select
* zfi_t_mahsup~sozlesme
* zfi_t_mahsup~kunnr
* zfi_t_mahsup~dt_tutar
* zfi_t_mahsup~dt_waers
* zfi_t_mahsup~prim_tutar
* zfi_t_mahsup~prim_waers
* zfi_t_mahsup~mahsup_tutar
* zfi_t_mahsup~mahsup_waers
* zfi_t_mahsup~mahsup_kkurs
* zfi_t_mahsup~gjahr
* zfi_t_mahsup~belnr
* zfi_t_mahsup~buzei
* zfi_t_mahsup~budat
* zfi_t_mahsup~bldat
* zfi_t_mahsup~ft_date
* zfi_t_mahsup~ft_belgesi
* zfi_t_mahsup~ft_tutar_try
* zfi_t_mahsup~virman_date
* zfi_t_mahsup~virman
* zfi_t_mahsup~denk_date
* zfi_t_mahsup~denklestirme
* zfi_t_mahsup~durum
* zfi_t_mahsup~imei
* zfi_t_mahsup~model
* zfi_t_mahsup~zsktarihi
* into CORRESPONDING FIELDS OF TABLE t_outputdata
* from zfi_t_mahsup
where
sozlesme in so_sozle and
zsktarihi in so_zskta and
kunnr in so_kunnr and
gjahr = so_gjahr and
ft_date in so_ft_da and
ft_belgesi in so_ft_be and
virman_date in so_virma and
virman in so_virmn and
denk_date in so_denk_ and
denklestirme in so_denkl and
durum = so_durum and
imei in so_imei.
*BREAK-POINT.
ENDFORM. " BUILD_OUTPUTDATA