Module - 3 Contents
Module - 3 Contents
The system other than the SAP system is called as non-SAP system or Legacy system.
The purpose of BDC is to transfer data from non-SAP( Legacy) system to SAP system.
1) Session Method
Session Method and call transaction are called as Batch Input methods.
Call transaction 'Transaction Code' USING ( BDC Internal table) MODE 'A or N or
E' UPDATE 'A or S or L' Messages INTO ( Internal table).
Example : Call transaction 'MM01' USING LT_BDCDATA MODE 'A' UPDATE 'S' Messages
INTO LT_MESSTAB.
MODE ->
A -> All screen( It will show screen by screen processing)
N -> No Screen( It will not show any screen, directly we will get a output).
E -> Error( If there is a Error in BDC - It will show the screen where the error
is, If there is no Error - It will not show any screen )
UPDATE ->
S -> Synchronous( Sync between the sender and receiver , COMMIT WORK AND WAIT)
The called transaction waits for any updates that it produces to be completed.
Execution is slower than with asynchronous updating because called
transactions wait for updating to be completed.
3) Direct Input Method -> Direct Inputs are standard SAP programs to post the data
in to SAP.
Examples for direct input programs are:
Q-1 : Difference between call transaction method and batch input method.
Answer : http://www.saptechnical.com/Tips/ABAP/DiffSessionCALLTRANSC.htm
Answer : https://www.saponlinetutorials.com/call-transaction-batch-input-session-
method-differences/
Q-1: Difference between Batch Input Methods( Call Transaction, Session) and Direct
Input Method.
Answer : Batch Input : The consistency checks are executed with help of the
screens.
This technique create sessions.
This Method is slow as compared to Direct Input Method.
Direct Input : The consistency checks are executed with the help of
Function modules.
This technique does not create any sessions.
This Method is fast as compared to batch Input Method.
This method update database tables directly.
This method is used to process large amount of data.
Smartforms
Template -> Tempate is used for fixed number of rows and columns.
Table -> When number of rows are not fixed, Table is preferable.
Parts of Table :
Header
Main area
Footer
Types of Windows:
Main Window: It is used for the continues output such as table output
Secondary Window: It is used for output with a fixed length
Copy Window: It is also a kind of special secondary window which is used for making
pages as copy or original
Final Window: It is a kind of special secondary window used for details which are
needed to be processed only at the end of processing form.
Types of Text :
Dynamic Text : This text is used to display the text at run time in smartform.
( Pre- defined table type - TSFTEXT)
Put the session break point in the generated function module of the smartform.
Important Points :
10) How to assign a bar code in the smartform : With the help of character format.
11) Transaction code for the mapping of output type, Smartform and driver program :
NACE.
Answer : Yes.
Answer : Preprinted Smartforms means that We are going to take output of the
smartforms in a printed stationary.
Adobe Forms
Transaction code for Adobe forms : SFP
1) Smartforms are not interactive forms. Adobe forms are Interactive Smartforms.
2) In Smartforms - the form Interface , Global definitions, Pages, Windows are all
together.
In Adobe forms - The form Interface, Gllobal definition are the part of
Interface.
We design the layout seperately in a form.
The Interface can be used in several number of Adobe forms.
What are the system variables availble in context tab of Adobe form?
DATE( SFPSY-DATE)
TIME( SFPSY-TIME)
USERNAME( SFPSY-USERNAME)
SUBRC( SFPSY-SUBRC)
Design View.
Data View.
1) FP_JOB_OPEN
2) FP_FUNCTION_MODULE_NAME
3) FP_JOB_CLOSE
Master Page
Every form design contains at least one master page that LiveCycle Designer creates
automatically. Master pages are responsible for formatting body pages.
They help to facilitate design consistency because they can provide a background
and layout format for more than one of the body pages in a form design.
Body pages
Body pages represent the pages of a form. Each body page derives its page size and
orientation from a master page, and by default,
each body page is associated with the default master page that LiveCycle Designer
creates.
Each body page is created with a default subform that covers the whole page.
Important Points :
Link : https://blogs.sap.com/2019/07/22/common-errors-and-difficulties-faced-in-
adobe-forms-beginners/
Explict Enhancement - Explicit point & Section are available at any point. We will
create the Explicit implementations using those points and sections.
Enhancement-point -- You can only add additional codes, you cannot change the
existing code.
1. It will not give default implementation.
2. Along with standard code your implementation also executed
3. You can only add additional codes, you cannot replace the
existing code
Screen Exit->
User Exit.
User Exit are modifications. They are only available in SAP SD( Sales &
distribution) module. They are available in the form of a Sub routines.
The Most Important User Exit's of SAP SD module are available in program :
MV45AFZZ.
BADI
1) BADI is an Enhancement.
2) The full form of BADI is Business ADD In's.
3) It is based upon OOPS concepts( Interfaces & Classes).
4) SE18 -> BADI Definition( Interface)
5) SE19-> BADI Implementation( Classes)
How to find a BADI -> 1) Put the break-point on Key word - CALL BADI or GET BADI.
2) We can use SAP class - CL_EXITHANDLER to find a BADI.
Performance Tools.
Transport
Transport request : It is a mechanism to send the objects from one system to other
system.
Types of Systems :
Development
Quality
Production
Transaction codes :
Transport Layer -> It is used to establish the path to move the objects.
SAP is a standard transport layer used to move SAP standard
objects.
Z<SID> is custom layer by default available to move the
development objects.
Where SID = system id.
A transport layer is assigned to each development class/package
and thus to all the
objects in that class.
modifiable
release
default transport layer - sap