how we can moddify a internal table without using modify
statement

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a badi?

733


in bdc session method. if u run the record in fore ground manually i have a 7 records but at the time of record processing first record produces the error how can u process records manually in fore ground please tell me any one knows?

1945


What is the use of f4if_shlp_exit_example function module ? : sap abap data dictionary

1579


Does the call transaction method allow multiple transactions to be processed by sap? : abap bdc

709


What are the types of bdc s?

757


What are the functional areas, user groups? How does abap query work in relation to these?

802


Where do you create indexes in abap?

839


What does the insert statement in extract datasets do?

823


what are the two methods of modifying sap standard tables ?

776


What are the different abap editors? What is the used of different editors in abap?

782


Application Category?

1110


What is a logical database?

851


What are the data classes in abap?

820


In which particular scenario we use sorted table and which particular scenario we use standard table?

1202


How do you delete duplicate records from internal table?

945