Tuesday, March 11, 2008

TRANSACTIONS

61. What are the modes in which any update tasks work?


Synchronous and Asynchronous.



62. 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.


63. SAP system configuration incluedes Dialog tasks and Update tasks.

64. Dialog-task updates are Synchronous updates.


65. Update –task updates are Asynchronous updates.


66. 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 reuests relevant to synchronized execution of tasks.


67. What are the different database integrities?

· Semantic Integrity.


· Relational Integrity.


· Primary Key Integrity.


· Value Set Integrity.


· Foreign Key integrity and


· Operational integrity

68. All SAP Databases are Relational Databases.


69. What is SAP locking?


It is a mechanism for defining and applying logical locks to database objects.



70. What does a lock object involve?


The tables.

The lock argument.



71. What are the different kinds of lock modes?


Shared lock

Exclusive lock.


Extended exclusive list.


72. How can a lock object be called in the transaction?


By calling Enqueue and Dequeue in the transaction.



73. What are the events by which we can program “help texts” and display “possible value lists”?


-PROCESS ON HELP-REQUEST (POH).


-PROCESS ON VALUE-REQUEST (POV).



74. What is a matchcode?


A matchcode is an aid to finding records stored in the system whenever an object key is required in an input field but the user only knows other (non-key) information about the object.



75. In what ways we can get the context sensitive F1 help on a field?


- Data element documentation.

- Data element additional text in screen painter.


- Using the process on help request event.



76. What is roll area?


A roll area contains the program’s runtime context. In addition to the runtime stack and other structures, all local variables and any data known to the program are stored here.



77. How does the system handle roll areas for external program components?


- Transactions run in their own roll areas.


- Reports run in their own roll areas.


- Dialog modules run in their own roll areas


- Function modules run in the roll area of their callers.



78. Does the external program run in the same SAP LUW as the caller, or in a separate one?


- Transactions run with a separate SAP LUW


- Reports run with a separate SAP LUW.


- Dialog modules run in the same SAP LUW as the caller


- Function modules run in the same SAP LUW as the caller.


The only exceptions to the above rules are function modules called with IN UPDATE TASK (V2 function only) or IN BACKGROUND TASK (ALE applications). These always run in their own (separate) update transactions.



79. What are function modules?

Function modules are general-purpose library routines that are available system-wide.




80. What are the types of parameters in the function modules?


In general, function module can have four types of parameters:


- EXPORTING: for passing data to the called function.


- IMPORTING: for receiving data returned from the function module.


- TABLES: for passing internal tables only, by reference (that is, by address).


- CHANGING: for passing parameters to and from the function.



81. What is the difference between Leave Transaction and Call Transaction?



In contrast to LEAVE TO TRANSACTION, the CALL TRANSACTION statement causes the system to start a new SAP LUW. This second SAP LUW runs parallel to the SAP LUW for the calling transaction.



82. How can we pass selection and parameter data to a report?


There are three options for passing selection and parameter data to the report.


- Using SUBMIT…WITH


- Using a report variant.


- Using a range table.



83. How to send a report to the printer instead of displaying it on the screen?


We can send a report to the printer instead of diplaying it on the screen. To do this, use the keywords TO SAP-SPOOL:


SUBMIT RSFLFIND…TO SAP-SPOOL DESTINATION ‘LT50’.



84. How can we send data to external programs?

Using SPA/GPA parameters(SAP memory).


Using EXPORT/IMPORT data (ABAP/4 memory)



85. What are SPA/GPA parameters (SAP memory)


SPA/GPA parameters are field values saved globally in memory. There are two ways to use SPA/GPA parmeters:


By setting field attributes in the Screen Painter.


By using the SET PARAMETER or GET PARAMETER statements.

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

Blog Archive

goodsites