1. What is dynamic programming in ABAP?
Ans:
Dynamic handling uses field symbols, data references and runtime table names. It helps when object details are known only at execution.
2. When is a hashed table preferred?
Ans:
Hashed table suits frequent key-based lookups. It gives direct access without index scan and fits fast search needs.
3. Why use a sorted table?
Ans:
Sorted table keeps rows ordered by key automatically. It helps ordered reporting with quick key and range access.
4. How do you avoid SELECT inside loops?
Ans:
I fetch needed rows before the loop with proper queries and process them via hashed or sorted tables inside the loop.
5. What is SQL trace used for?
Ans:
SQL trace lists database calls made by a program. It reveals costly queries and repeated hits needing tuning.
6. How do you add authorization checks?
Ans:
I define authorization objects, link them to roles and place AUTHORITY-CHECK at right points. Tests cover varied user roles.
7. What is a functional specification?
Ans:
Functional specification converts business needs into build points like tables, logic, checks, outputs and integrations. It guides coding and testing.
8. How do you compare TEST versus PROD issues?
Ans:
I match transports, master data, roles, interfaces and logs across lands, then reproduce the fault to find system or code gap.
9. Why are unit tests useful?
Ans:
Unit tests verify small parts alone before integration. They catch defects early and prevent regressions during growth.
10. How do you document an interface?
Ans:
I note purpose, input and output formats, field maps, auth needs, error handling and monitoring steps. Clear notes aid build and support teams.