REETA1967
15th February 2003, 14:00
1. my query is if the value of tisfc001.osta = "documents printed"
i would like to print only "printed"
i have written the following script but it is not working
if (tisfc001.osta = tcosta.printed) then
tisfc001.osta = tcosta.printed(11;7)
endif
2. The query i have written is correct ?
can this be written in another way also
selectdo
ti.item = tisfc001
mitm.type = tisfc001.mitm(1;3)
selectdo
if (mitm.type = "PAR" OR mitm.type = "TAR" ) then
select tibom010.sitm from tibom010
where tibom010.mitm=tisfc001
endif
endselect
endselect
i would like to print only "printed"
i have written the following script but it is not working
if (tisfc001.osta = tcosta.printed) then
tisfc001.osta = tcosta.printed(11;7)
endif
2. The query i have written is correct ?
can this be written in another way also
selectdo
ti.item = tisfc001
mitm.type = tisfc001.mitm(1;3)
selectdo
if (mitm.type = "PAR" OR mitm.type = "TAR" ) then
select tibom010.sitm from tibom010
where tibom010.mitm=tisfc001
endif
endselect
endselect