ABAP Topics
ABAP Topics
1. A -> Application Table (Master Data and Transaction Data) => Workbench Request
2. C ->Customizing Table( Maintenance only by customer, No SAP IMPORT ) => Customizing Request
SY-TABIX and SY-INDEX
Whenever lock object is creted and activated then two function module is automatically
created.
1. Enque fm
2. Deque fm
• ZPKDEMOTAB1,ZPKCOUNTRY
How to design a selection screen
Sequence of event
*****************************INTERACTIVE REPORT
EVENTS***********************************
a) AT LINE-SELECTION
b) AT USER-COMMAND
c) TOP-OF PAGE DURING LINE SELECTION
d) END-OF-PAGE DURING LINE SELECTION
UPDATE FUNCTION MODULE
Q. What it is?
Ans - It is one of the Bundling Technique to achieve the SAP LUW. It also
improves the performance as it runs asynchronously.
Q. Why simply with the help of COMMIT WORK and ROLLBACK we can’t
achieve the SAP LUW?
Ans – Whenever there is a change in work processes, system takes implicit
COMMIT in between the process, Which is not desired because we want either
all or none.
Different Types of Update Module
There are 4 types of Update option in function builder –
1. While an update function module is processed in an update work process, you are not allowed to
execute the statements SUBMIT, CALL DIALOG, CALL SCREEN, CALL TRANSACTION,
COMMIT WORK, ROLLBACK WORK and all other statements that provoke a database commit.
2. The additions IMPORTING, CHANGING and EXCEPTIONS of the general function module call may
be specified, but they are ignored during the execution.
Dynamic internal table
Dynamic internal
table
Create the Object type table of < Any data dictionary table >
To access the data of referenced data object use the field symbol of
type standard table
All the tasks in the parallel processing program which is allocated in the work proce
by the developer is dialogue work process
.
AS1 AS2
40 30
AS3
20
AS7
AS4
50
50
AS6 AS5
49 45
SERVER GROUP
PARELLEL_GENERATOR
IDOC
WORKFLOW_GROUP
HEART OF THE PARALLEL PROCESSING
1. SPBT_INITIALIZE(OPTIONAL) => To get the total number of work processes and free
work processes at this moment which can be used for parallel processing
The function module that you call must be marked as externally callable. This
attribute is specified in the Remote function call supported field in the function module
definition (transaction SE37).
The called function module may not include a function call to the destination
"BACK.“
The calling program should not change to a new internal session after making an
asynchronous RFC call. That is, you should not use SUBMIT or CALL TRANSACTION
in such a report after using CALL FUNCTION STARTING NEW TASK.
You cannot use the CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP
keyword to start external programs.
Reference: https
://help.sap.com/viewer/b07e7195f03f438b8e7ed273099d74f3/7.5.4/en-US/4d909309eb
a36e73e10000000a15822b.html
PARALLEL PROCESSING PROGRAM
TOP_INCLUDE.txt
MAIN_PROGRAM.txt
SUBROUTINE_INCLUDE.txt
What is MESH and Meshes in SAP ABAP?
Ans- These are special structures. Their components (referred to as nodes) are either structured internal
tables or reference variables that point to structured internal tables.
Dialogue Step –
An Smallest unit of work performed by SAP system with respect to screen/DYNPRO in an SAP
system is called Dialogue Step.
It consists PAI,PBO and Screen Logic. Each dialogue step is assigned to Dialogue
SAP
Work process. At once only one dialogue step is assigned to a dialogue work process.
Implicit
DB
LUW Commit
DB SAV 3rd Dialogue
LUW LUW E
SCREE Step DB
SCRE SCRE PAI
N PAI---- PAI-- LUW
EN EN PBO
1000 PBO PBO
2000 3000
1st Dialogue 2nd Dialogue
Successfully
Step Step saved
Implicit Implicit
Commit Commit
Note: -> A dynamic programming is also called screen programming because with
the help of a screen, a user is able to give dynamic input. So Screen is know as
DYNPRO.
SAP Transaction: ->A Transaction is set of Dialogue steps may have multiple
Database LUW involved .
Note: -> A dynamic programming is also called screen programming because with
the help of a screen, a user is able to give dynamic input. So Screen is know as
DYNPRO.
SAP Transaction: ->A Transaction is set of Dialogue steps may have multiple
Q. What are the Various Techniques to Achieve the SAP LUW?