‎2008 Jul 25 3:01 AM
Hi guys,
I have this code:
select result from ztable into v_result where field1 = c_russia.
where c_russia = Отправитель...
i have this in the ztable but its not showing in my v_result when I debug and sy-subrc NE 0...
y is this so? is there anything wrong with it?
thanks a lot!
‎2008 Jul 25 9:15 AM
hi declare a constant for this ....
constants:c_russia(50) type c value 'Отправитель' .
select result from ztable into v_result where field1 = c_russia.
if the value existing in the ztable it will fetch
‎2008 Jul 25 9:10 AM
Hi Mark,
Check this code I have return a simple code for fetching data from MAKT.. Copy the data for text field directly from ZTABLE and paste it in your program. I feel there is some mismatch in the program it seems.
REPORT ZTEST01.
tables: makt.
Data: c_text(40) type c value '89ABX1:Listauswertung nach Jahren'.
data: begin of i_makt occurs 0.
include structure makt.
data: end of i_makt.
select * from makt into corresponding fields of table i_makt
where MAKTX = c_text.
loop at i_makt.
write:/ i_makt-matnr,
i_makt-maktx,
i_makt-maktg.
endloop.
‎2008 Jul 25 9:15 AM
hi declare a constant for this ....
constants:c_russia(50) type c value 'Отправитель' .
select result from ztable into v_result where field1 = c_russia.
if the value existing in the ztable it will fetch