‎2007 Nov 22 9:20 AM
hi,
this is my code
select aebeln aebelp a~zspltno
azstatus azdeltrm a~zexpdt
azffcomm azexprem a~zexwdt
azffcrdt azffchdt a~zvcondt
azfprmdt azsprmdt a~zredydt
azcolldt azrecddt a~zetddt
azetadt azpaimdt a~zmaimdt
azpermit azdedesc a~zdeduom
azconstn azorgstn a~zrefnum
azpackage aerdat
aupddt auptim b~zirrcod
bzirridt bzirrtim b~zirrrdt
into corresponding
fields of table it_oexp from
zexpedite as a
inner join zpoirr as b on aebeln = bebeln
and aebelp = bebelp
and azspltno = bzspltno where
a~ebeln in s_ebeln and
a~zexpdt in s_zexpdt and
a~zexwdt in s_zexwdt and
a~zvcondt in s_zvcndt and
a~zfprmdt in s_zfprdt and
a~zsprmdt in s_zsprdt and
a~zredydt in s_zreddt and
a~zcolldt in s_zcoldt and
a~zrecddt in s_zrecdt and
a~zetddt in s_zetddt and
a~zetadt in s_zetadt and
b~zirrcod in s_zirrcd and
b~zirridt in s_zirrdt and
b~zirrrdt in s_zirdt and
(s_string).
and s_string = 'ZEXPEDITE-ZSTATUS NE C_CONST AND ZEXPEDITE-ZEXPDT LE SY-DATUM'.
it is throwing to dump.
Please correct me.
thanks in advance
‎2007 Nov 22 9:26 AM
Hi Surya,
remove s_string from the select query and instead,
add the below code,
<b>and
a~zstatus ne c_const
and
a~zexpdt le sy-datum.</b>
in place of
<b>and (s_string).</b>
That would resolve your problem.
<b>Reward points if this helps,</b>
Kiran S