how we can moddify a internal table without using modify
statement
Answers were Sorted based on User's Feedback
Answer / saifur rahaman
please note if i am not wrong.
how can you expect the system to modify an interanl table
without we write a code which is given by the ABAP Key
words.
please use modify statement.
and i think even if you use field symbols then also the FS
will not modify your internal table.
may subroutines if you pass the value by reference and the
form gets executed till the end , you may modify the values.
hope this will serve your purpose.
and then also if ur rigid to use modify statement then
Use Field Symbols
Something like this
DATA : itab TYPE TABLE OF string,
wa TYPE string.
FIELD-SYMBOLS : <wa> TYPE string.
wa = 'ABC'.
APPEND wa TO itab.
wa = 'ABC'.
APPEND wa TO itab.
wa = 'ABC'.
APPEND wa TO itab.
LOOP AT itab ASSIGNING <wa>.
<wa> = 'DEF'.
ENDLOOP.
Is This Answer Correct ? | 13 Yes | 4 No |
Answer / shailesh
Use field symbols. Field symbol is like a pointer in c. when you assign line of an internal table to a field symbol, it points to the same memory location. hence you change value of field symbol in turn changes the value in internal table.
Cheers!
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravikanth
@ answer 3 above,
Answer 2 is good one to say.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / apoorv sharma
use insert statement ...
eg.
insert <workarea> into <internal table> index <index number>.
Is This Answer Correct ? | 6 Yes | 21 No |
Which configuration we have to make first before we want to start Business Workflow with our SAP R/3
How to define PROJECT in CMOD?
How many types of data classes are there in sap?
how to send output of program via email?
in which method i can upload data to two transactions? and how? somebody tell me.
what is secondary index?
Can ‘where’ clause be used when updating database entries?
Is it possible to include two transactions with one group name in one program in session method ?
How to insert a line into abap internal tables?
What are the main events of which are used for logical database?
What kind of financial periods exist in sap? What is the relavent table for that?
how will u interact with client if neccessary?