This chapter contains the answers to the questions that are at the end of each chapter. These answers will help the reader to test their knowledge of each chapter. Understanding the content of the chapters is very important for further development and working with the SAP system.
- Working with Agile speeds up product creation and organizes the creation process. It determines what is important in the project. In this approach, people are very important.
- The following are the principals of the Agile Manifesto:
- Individuals and interactions over processes and tools
- Working software over comprehensive documentation
- Customer collaboration over contract negotiation
- Responding to change over following a plan
- The logical model contains information on data storage, but there is no information on how it will be stored. The physical data design model includes changing the logical database design to a physical layer.
- Enhancement and custom development.
- The motto is doing, not talking. It is coherent because design thinking is about testing real prototypes, instead of just talking about them.
- The categories are as follows:
- Documentation on the high-level architecture
- Documentation where we have to describe the whole system, from the high-level architecture to the smallest details
- There are various aspects. The ones that apply to SAP development include comprehensibility, conciseness, consistency, maintainability, testability, reliability, and security.
- Loose coupling allows for easier maintenance.
- They must start with the
Z
orY
characters. - A field symbol is an instrument in which applications are created with elasticity. Field symbols do not have any memory; instead, they point to a memory location.
- The elementary types in the SAP system are
C
,N
,D
,T
,I
,F
,P
,STRING
, andXSTRING
.
- You need a list of the selected fields, the tables from which data will be selected, and the names of the variables to where data will be downloaded.
- The three ways are:
FOR ALL ENTRIES
,SELECT...ENDSELECT
, andJOIN
. - The ways to read data from tables are as follows:
- Get only the required rows from a table.
- Get only the required columns from a table.
- Do not use more reads than necessary.
- Use local buffers and indexes.
- You can use
CL_GUI_FRONTEND_SERVICES
to upload files from the presentation layer to the application layer. - The setting of a multiselection parameter controls whether the user can choose one or more files.
- The
ARCHIVFILE_CLIENT_TO_SERVER
function can upload files from the presentation layer to the application server. - The purpose of the parameters is as follows:
ASC
: data will be transferred as ASCII text.BIN
: data should be transferred unconverted in binary format.DAT
: data will be transported as unconverted ASCII text, where the different columns are separated by the tabulator.
- The
CG3Z
transaction allows the user to upload a file to the application server. - The file will be saved in the default root folder,
DIR_SAPUSERS
. - The two languages are: Desktop Office Integration or Object Linking and Embedding.
- The
ole2incl
type-pool needs to be included.
- The container for ABAP code is Command Lines.
- In Smartform, you have to add empty rows using Command Lines. In Adobe Form, you can set a minimum number of rows in the table settings.
- Adobe Forms supports FormCalc and JavaScript.
- Transaction SE78 allows the uploading of additional graphics to the server.
- When an object is set to a position, it will stay in the same place, no matter what. The object status will be placed according to the available space.
- Changes to the structure of the form are not allowed (except for the form field and data values).
- Adobe can get input from a user and store that information in a system.
- The
import_from_file
method will parse the XML stream. - The
Display
method prints an XML file onscreen. - The constant that describes the JSON format can be found in the
IF_SXML
interface, in theCO_XT_JSON
attribute.
- No, it's not possible to do that.
- ST supports only XML to ABAP and ABAP to XML; XSLT supports any XML transformation.
- No, it's possible only using XSLT.
- Put the following tag at the beginning of the file:
<?xml version="1.0" encoding="UTF-8"?>
.
- The two categories are Selection Screen and Classic DynPro.
- In
Parameters
, you have the ability to input only one values, and inSelect-Options
, you can input multiple values. - The name of the Custom Container needs to be written in capital letters, and needs to be exactly the same onscreen and in the code.
- Although there are available tools for Eclipse IDE, it is recommended to use WebIDE from SAP (either the Cloud or Personal editions).
- According to the development rules, all texts displayed in the applications should be stored in an i18n file. Then, the translation process requires only the generation of a new i18n file, with appropriate language suffix and translated texts inside. When using a fully integrated cloud version of WebIDE, this can be performed with the use of Translation Hub.
- MVC is a paradigm that introduces the separation of concerns in applications. It states that the model (
M
), view (V
), and controller (C
) should be maintained separately, making the whole process of development and maintenance easier and cheaper. - The toolset includes mock servers, OPA5 for intergration tests, and QUnit for unit tests.
- To enhance the
BO
standard, you can use aBOBX
transaction. - The
BOBF
transaction is used for SAP internal uses. - The association's entity is used to create a relation between two
BOPF
objects. - There are two different types of association: general and composite.
- To save data to the database, we have to use Transaction Manager.
- The main
BOPF
exception is/bopf/cx_frw
. - The configuration object is used to get
BO
metadata.
- The techniques are Changes and modification.
- With the switch mechanism, you can switch enhancement on and off without making any change to the code.
Classical
: objects are created by the factory method; filters are passed into implementation; classical BAdI can be called only once; and the calling position is registered centrally.New
: This is created byGET BADI
; filters are used when an object is created; and multiple calls are possible and are not centrally registered.- It's used for the
FICA
module. - A
SECTION
contains default code andPOINT
does not. - If
INCLUDE BOUND
is used, the enhancement will be called from every main program that uses thisinclude
method. - For customer exit implementation, we use function modules.
- Exception classes are implemented in the Class Builder just like usual classes. The difference is that it has to be marked as an exception class, and it must inherit from one of the standard exception classes.
- It is an object that groups breakpoints and assertions in order to manage them centrally. It allows for quick activation/deactivation, behavior configuration, and log checks.
- ABAP Dump Analysis is used to analyze execution errors in the SAP system.
- ABAP Dump Analysis is launched after using the
st22
transaction. - Despite the exception, the program does not end its work in an unexpected way. Dumps will not appear.
- This variant is called
S4HANA_READINESS
. PERFORMANCE_CHECKLIST
can be used to check code performance.- Using
SET EXTENDED CHECK OFF
will turn off extended checks. - You can use
append_line
fromcl_tpda_script_tabledescr
. - Those steps are: Debugger Single Step, Breakpoint Reached, and Watchpoint Reached.
- To record, the
TCD REC
transaction can be used. - Either the
Local
,Import
, orExport
parameters.
- The global class can be used in the code all over the system. The local class can be used only in the code where it is defined.
- Interfaces cannot have an implementation of methods. Only definitions are allowed.
- Design patterns are universal, tested in practice for frequently occurring and repetitive design issues.
- The user can connect with other systems using the following technologies: IDoc, EDI/ALE, BAPI, OData, or Gateway.
- The OData service works as a RESTful service, offering basic CRUD methods. From the consumer’s perspective, it provides uniquely identified data according to the OData specification. From the system’s perspective, it usually consists of model-provider classes and data-provider classes, where the latter is responsible for business logic implementation.
- The main difference between the two is that EDI is used for external communication, while ALE is used for internal connections. From a technical point of view, EDI transfers data using file ports, whereas ALE uses memory buffers to transfer the data.
- Users can schedule the job in the background with the
SM36
transaction. Ready
: This status means that the task scheduler puts the job in the queue while it waits for the job to be released in the background.- To set the
High
andMedium
priorities, the user must have the appropriate permissions.
SAT
–it is a modern replacement ofSE30
offering better configuration options and more transparent result analysis- Using this tool allows you to constantly improve programs and increase the business suitability of the process by accelerating it.
- The ABAP Trace Analysis offers the list of calls executed during runtime, alongside the execution times and counters.
- In the
Statement
tab, the user can set what should be checked during the operation of the ABAP SAT Transaction tool. - Users can decide whether to collect information about database accesses, remote function calls, and enqueues/dequeues on database tables.
- It shows accesses to internal tables during program execution.
- SAP Trace Analysis runs through
ST12
transactions.