Program That Contains Executable Statements

Each ABAP program that actually contains executable statements…
(Select all that apply.)

A. Is divided into processing blocks.
B. Assigns every executable statement to a processing block regardless of it being in a processing block.
C. Only assigns executable statements in a processing block to a processing block.
D. Uses event blocks to trigger events in ABAP.
E. Has declarative statements outside of processing blocks that are considered local.
F. Has declarative statements inside of processing blocks that are considered local.
G. Can be tested from the ABAP Workbench by pressing (F8).

Which is the correct answer?

---

Explanation

ABAP program is divided into processing blocks, and every executable statement is assigned to a processing block either explicitly or implicitly. Any statement not explicitly included in a processing block is implicitly included in STARTOF-

SELECTION.

Declarative statements inside a modularization unit are almost always considered local, whereas those outside the modularization units are considered global; the exception that invalidates F is that MODULES and event block declarations are considered global. Event blocks are called when the ABAP runtime triggers them.

Whereas almost every ABAP program can be tested simply by pressing (F8) while in the editor, one type (a module pool) cannot be started directly from the editor or ABAP Workbench.

Module pools (dialog programs) must start with a particular screen, and the only way is to run the transaction code that associates the first screen to process. To be able to test in the ABAP Workbench, you must first navigate to the transaction code, which you can then execute by pressing (F8).

So, the correct answers: A, B
 

ABAP Tips

 

See Also
SAP ABAP on HANA

Estimate Guidelines for ABAP programs

Get help for your ABAP problems
Do you have a ABAP Question?

ABAP Books
ABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts Reference Books

More ABAP Tips

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.