‎2007 Apr 19 12:54 PM
hi,
i had to select swenr,smenr,refno,xmetext from vimi01 on condition cnj_stat-sttxt_int = 'create port zoud'.
cnj_stat-sttxt_int is a structure field.
can any body provide solution.
thanks in advance
siva
‎2007 Apr 19 1:01 PM
Hi Siva,
Write the select query like,
select swenr,smenr,refno,xmetext from vimi01 into table it[it name] where nj_stat-sttxt_int = 'create port zoud'.
Thanks.
Reward If Helpful.
‎2007 Apr 19 1:09 PM
Hi,
<b>The status Text of the field (sttxt_int ) are stored in TJ02T tables and status is stored in JEST table.
So you have to join VIMI01 with JEST and TJ02T tables for this.
select aswenr asmenr arefno axmetext into table itab
from vimi01 as a join jest as b on
asadrme = bobjnr join Tjo2T as c on bstat = cistat
where ctext30 = 'create port zoud' and cspras = sy-langu.</b>
Reward points if useful
regards,
ANJI