Scrol

SAP Trainings contact sap.sreeram@gmail.com or 091-9916083157, 001-210-399-8414

ABAP questions


What are presentation and application servers in SAP?
-A presentation server is actually a program named Sapgui.exe. It is usually installed on a user’s workstation.
- Application server is a set of executables that collectively interpret the ABAP/4 programs and manage the input & output for them.




In an ABAP/4 program how do you access data that exists on a presentation server v/s on an application server?
·         For presentation server use UPLOAD or WS_UPLOAD function modules.
For application server use OPEN DATASET, READ DATASET and CLOSE DATASET commands.

What is the difference between Synchronous and Asynchronous updates ?
-     A program asks the system to perform a certain task, and then either waits or doesn't wait for the task to finish. In synchronous processing, the program waits: control returns to the program only when the task has been completed. In asynchronous processing, the program does not wait: the system returns control after merely logging the request for execution.



Transferring SPA/GPA Parameters to Transactions

To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-related SAP memory. You use the SAP memory to transfer values between programs beyond the borders of transactions. A user can access the values stored in the SAP memory during one terminal session for all modes used in parallel.

To fill an SPA/GPA parameter, use:
Syntax
SET PARAMETER ID <pid> FIELD <f>.

To read an SPA/GPA parameter into an ABAP program, use:
Syntax
GET PARAMETER ID <pid> FIELD <f>.



What is the difference between Commit-Work and Rollback-Work tasks ?
-     Commit-Work statement “performs” many functions relevant to synchronized execution of tasks. Rollback-Work statement “cancels” all requests relevant to synchronized execution of tasks.


What are the different database integrities ?
·         Semantic integrity
-     Relational integrity
-     Primary key integrity
-     Value set integrity
-     Foreign key integrity and
-     Operational integrity.