‎2013 Mar 01 5:22 AM
Is this correct way of using <FS> in loop to avoid modify.
data : <fs> type vbak.
Loop at ITAB assigning <FS>
<FS>-field = 'U'.
ENDLOOP.
or i Should be using Modify itab statement before ENDLOOP.
<<Urgency Removed>>
Moderator Message: Basic question. Read sap help
Message was edited by: Kesavadas Thekkillath
‎2013 Mar 01 5:29 AM
That's right, no MODIFY is required if you use fieldsymbols.
Why so URGENT? You can just try it yourself to find the answer.
cheers
Paul
‎2013 Mar 01 5:30 AM
Hi Kishan,
That is Correct way of doing.
We dont modify the field symbol like we do in internal tables, because field symbol behave like pointers which changes the original value if you change the field symbol.
For more details do F1 on Field symbols.
Regards,
Amit