when you are using 2 internal table in program, you have
decided to use for all entries statement to retrieve data
but unfortunately there are no records in the first internal
table. What will be the result? (2nd internal table contains
records).

Answer Posted / babita

If we don't check for intial condition for table 1 and its
is blank, all the records of second table will be displayed.
Hence it is a good practice to always check for following
before using 'FOR ALL ENTRIES'

if not itab1[] is intial.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we handle multiple line items in BDC's.

6859


How can I make a differentiation between dependent and independent data? : abap hr

769


Explain different types of locks?

770


Difference between Field groups and internal tables?

810


What are the functional modules used in sequence in bdc? : abap bdc

753






What is the syntex used to call a screen as dialog box (pop up)?

898


Explain badi in abap.

766


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

1941


How to load data from ms excel sheet to sap by using bdc method ? : abap bdc

943


What is meant by stacked list?

768


What is dialog module?

789


Workbench request are client dependent or client independent

759


What is For-period and In-period

1952


I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.

1539


Explain different types of attributes of function module?

711