2007 Feb 22 5:48 AM
I am trying to compare 2 values like below. When i do syntax check it says "wa_zmipc2-aplfz is not a valid comparison operator".What could be the problem? please help..All the data declarations are done properly.
if wa_zmipc2-aplfz eq wa_final-aplfz.
continue.
endif.
2007 Feb 22 5:56 AM
Hi,
Please check if the statement before the if statement ended properly or not,
some times it will give error if before statement not ended properly.
thanks,
sarala.
Hi,
Please check if the statement before the if statement ended properly or not,
some times it will give error if before statement not ended properly.
thanks,
sarala.
2007 Feb 22 5:50 AM
Can you please tell how have you declared variable 'aplfz' in table 'wa_zmipc2'??
Thanks
2007 Feb 22 5:51 AM
2007 Feb 22 5:52 AM
can you send delaration of workarea wa_zmipc2-aplfz and wa_finalaplfz.
2007 Feb 22 5:54 AM
data wa_final type zmipc.
data wa_zmipc2 type zmipc.
******
select single * from zmipc
into wa_zmipc2
where infnr eq wa_stxh-tdname and "wa_fin-infnr
lifnr eq wa_eina-lifnr and "wa_fin-lifnr
ipcven eq WA_STXH-TDLINE and "wa_f-ipcven.
if wa_zmipc2-aplfz eq wa_final-aplfz.
continue.
endif.
2007 Feb 22 6:04 AM
hi,
Do you think this stmt is complete.
select single * from zmipc
into wa_zmipc2
where infnr eq wa_stxh-tdname and "wa_fin-infnr
lifnr eq wa_eina-lifnr and "wa_fin-lifnr
ipcven eq WA_STXH-TDLINE and "wa_f-ipcven.
After and the stmt is open.
Regards
Subramanian
2007 Feb 22 5:53 AM
Hi,
check the code whether the worl area has been called in side a loop using internal table
regards
Shiva
2007 Feb 22 5:57 AM
data wa_final type zmipc.
data wa_zmipc2 type zmipc.
******
loop at i_zmipc into wa_zmipc.
select single * from zmipc
into wa_zmipc2
where infnr eq wa_stxh-tdname and "wa_fin-infnr
lifnr eq wa_eina-lifnr and "wa_fin-lifnr
ipcven eq WA_STXH-TDLINE and "wa_f-ipcven.
if wa_zmipc2-aplfz eq wa_final-aplfz.
continue.
endif.
endloop.
2007 Feb 22 5:59 AM
How have you defined field 'aplfz' in Table 'zmipc' (SE11) ??
Thanks
2007 Feb 22 6:01 AM
thanks everybody...problem is resolved.....i dint end the select statement with '.'
2007 Feb 22 5:56 AM
Hi,
Please check if the statement before the if statement ended properly or not,
some times it will give error if before statement not ended properly.
thanks,
sarala.
2007 Feb 22 5:58 AM
o my goddddd...such a small problem....anyways..thanks sarala
2007 Feb 22 12:57 PM
data wa_final type zmipc.
data wa_zmipc2 type zmipc.
******
loop at i_zmipc into wa_zmipc.
select single * from zmipc
into wa_zmipc2
where infnr eq wa_stxh-tdname and "wa_fin-infnr
lifnr eq wa_eina-lifnr and "wa_fin-lifnr
ipcven eq WA_STXH-TDLINE <b>and</b> "wa_f-ipcven.
<b>if</b> wa_zmipc2-aplfz eq wa_final-aplfz.
continue.
endif.
endloop.
REASON FOR THE ERROR HIGHLIGHTED IN BOLD CHECK OUT
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |