Table ztest has a secondary index on the following fields:
tnum, tcode.
Select * from ztest where tnum ne '123' and tcode = '456'.

Why is the index not used in the above case?
Choices:
a) Indexes are not allowed on Z tables
b) Variables must be used, NOT literals
c) Select individual fields, not select *
d) Client is not in the where clause
e) NE invalidates the use of an index

Info: Can someone explain in detail why this happened? It
will be really helpful to handle to case in Secondary index:

Answer Posted / shatanjay

Correct Answer Is : " E ".

Reason(s) : Negation (In this case 'NE') of Index fields
(in this case 'TNUM' will prevent DB Optimizer from
considering the field when searching for a suitable Index)

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between open_form and close_form?

621


What is interactive reporting?

618


What is the use of info groups? : sap abap hr

560


List some of the many different ways that the sap standard functionality can be changed by a customer?

552


What are the 3 methods that we use in sequence in a batch input session method? : abap bdc

577






How do you backup Sapscript layout sets? Can you download and upload? How?

639


Can a constructor be redefined?

922


What is the tcode for sapscript forms?

656


What are the abap/4 commands that link to a layout set?

862


HOW CAN YOU USE A PAGE COUNT IN CALLING A PAGE IN SMARTFORM?

1635


what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me

1542


Explain lsmw?

651


when u prefer lsmw?

624


What does a lock object involve?

671


What is the difference between rfc and bapi function modules? : abap bdc

630