In select statement i gave right conditions but not getting data back.
When i try from se16n with these conditions it turns me one row but when i try in a program with select statement it turns me empty internal table. Here is the sample code.
gt_tcurr is an internal table that contains kurst fcurr tcurr gdatu ukurs components.
SELECT kurst fcurr tcurr gdatu ukurs
INTO TABLE gt_tcurr
FROM tcurr
WHERE kurst = p_kurst " as M
AND gdatu = p_budat " as 21.09.2011
AND fcurr = p_waers " as EUR
AND tcurr = lv_waers. " as TRY
as i said; with these conditions se16n->tcurr table turns me one row, but select statement turns me an empty row. Does anyone has any idea?
CONVERT DATE p_budat INTO INVERTED-DATE gv_date." solution :)
SELECT ukurs
INTO gs_tcurr-ukurs
FROM tcurr
WHERE kurst = p_kurst
AND gdatu = gv_date
AND fcurr = p_waers
AND tcurr = lv_waers.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.