‎2008 Aug 14 9:25 AM
hi
Please tell i want to put R1 = X.for all plants starting from 2000,like 2001,2002...etc.
please tell me the syntax.
regds
‎2008 Aug 14 9:29 AM
Vipin,
data:begin of itab1 occurs,
plnty like plpo-plnty
werks like plpo-werks,
flag1 type c,
end of itab1.
select plnty werks
from plpo
into table itab1
where plnty = 'N'.
loop at itab1.
if itab1-werks+0(1) = '2'.
itab1-flag1 = 'X'.
modify itab1.
endloop.
K.Kiran.
‎2008 Aug 14 9:29 AM
Vipin,
data:begin of itab1 occurs,
plnty like plpo-plnty
werks like plpo-werks,
flag1 type c,
end of itab1.
select plnty werks
from plpo
into table itab1
where plnty = 'N'.
loop at itab1.
if itab1-werks+0(1) = '2'.
itab1-flag1 = 'X'.
modify itab1.
endloop.
K.Kiran.
‎2008 Aug 14 9:35 AM
my req is like i want to print an plant address in display,for the plant statrting with 2000,the address is same for all.so if user selects any plant with series of 2 on selection screen,i want to display the adress,thus i want to mark r1 = X,for all the plants of series 2000.
‎2008 Aug 14 9:36 AM
For gods sake, why not specify the full requirement in the original question.