2007 Mar 27 4:37 PM
modify wa_ztable set flag = 'X'.
what is wrong with the above code
i merely want to update flag to X for all records
2007 Mar 27 4:40 PM
Hi,
<b>If WA_ZTABLE is a DDIC table then..</b>
UPDATE WA_ZTABLE SET FLAG = 'X'
WHERE FLAG = ' '.
<b>If WA_ZTABLE is a internal table.</b>
WA_ZTABLE-FLAG = 'X'.
MODIFY WA_ZTABLE TRANSPORTING FLAG WHERE FLAG IS INITIAL.
Thanks,
Naren
2007 Mar 27 4:39 PM
2007 Mar 27 4:40 PM
2007 Mar 27 4:40 PM
change it as
loop at wa_ztable.
wa_ztable-flag = 'X'.
modify wa_ztable .
endloop.
aRs
2007 Mar 27 4:40 PM
Hi
wa_ztable-flag = 'X'
modify wa_ztable where flag = space transporting flag.
Max
2007 Mar 27 4:40 PM
Hi,
<b>If WA_ZTABLE is a DDIC table then..</b>
UPDATE WA_ZTABLE SET FLAG = 'X'
WHERE FLAG = ' '.
<b>If WA_ZTABLE is a internal table.</b>
WA_ZTABLE-FLAG = 'X'.
MODIFY WA_ZTABLE TRANSPORTING FLAG WHERE FLAG IS INITIAL.
Thanks,
Naren
2007 Mar 27 4:41 PM
Use the following.
wa_ztable-flag = 'X'.
modify wa_ztable transporting flag.
~Suresh
2007 Mar 27 4:42 PM
Hi,
Please try this.
modify ztable from wa_ztable transporting flag = 'X'.
or
update ztable
set flag = 'X'
where field1 = <condition>
and field2 = <condition>.
Regards,
Ferry Lianto