Interview questions-CH
Interview questions-CH
SD FLOW:
INQUIRY VA11 VBAK, VBAP
QUATATION VA21 VBAK, VBAP
SO VA01 VBAK, VBAP
DELIVERY VL01N LIKP, LIPS
SHIPPING VT01 VTTK, VTTP
BILLING VT01 VBRK, VBRP
INVOICE VF21 VBRK, VBRP
MATERIAL MASTER : MARA - MATNR
CUSTOMER MASTER : KNA1,KNB1 - KUNNR
MM FLOW:
PURCHASE REQUSITION ME51N EBAN - BANFN
REQUEST FOR QUATATION ME41 EKPO - PACNO
VENDOR SELECTIONME49 VBAK, VBAP - VBELN
PO ME21N EKKO, EKPO - EBELN
GOODS RECEPTS MIGO MKPF, MSEG - MBLNR
INVOICE RECEIPTS MIRO BKPF, BSEG - BUKRS
PAYMENT DOCUMENT F110F110
VENDOR MASTER : LFA1, LFB1 – LIFNR
MATERIAL MASTER : MARA - MATNR
1.Objects in data dictionary:
Database table
View
Data type
Type group
Domain
Search help
Lock object
2.Tabs in table creation:
Attributes
Display / maintenance allowed
Fields
Entry help / check
Currency / quantity fields
3.Delivery class:
what type of DATA we are going to create in database
A – application table
C – customised table
4.Data class:
what type of TABLE we are going to create in database
APPL0 – master table, transaction table
5.Options in technical settings:
Data class
Size categories
Buffering
Buffering type
Single - one field
Generic – with key field
Fully - Entire table
Logs
6. Mandt field – Itdeclare the Clint and user.
7. Primary key:
One or more field that uniquely identify each rows in table
It will not allow duplicate values
8. Composite key:
Combination of two fields that uniquely identify each rows
EX: Item table primary key
9. Foreign key:
While entering data in value table that field get “VALIDATED” from check
table
It allows only possible values
10. Domain:
Technical attributes of the field
11. Data element:
Semantic representations of the field
12. Search help:
While entering data in a particular field F4 button will shows the help window
to enter valid records
13. Type of search help:
Elementary search help – One table
Collective search help - Two tables(Collections of elementary search help)
14. Views:
Views is used to view the database tables
Views working in a concept of joints
15. Types of views:
Database view – To view two tables
Maintenance view – To maintain database table
Help view – F4 help
Projection view – To view one table
16. Data type:
Global structure, data type creation
17. Type group:
Used to create type pools globally
18. Lock object:
Used to avoid the inconsistency while editing program, PO, SO
It will not allow multiple users to edit same program in a same Clint
19. “.Append”:
. Append structure is used to add the fields at last in the standard tables
20. “.Include”
.Include structure is used to add the field at any place in standard table
21. Types of database table:
Transparent table - one to one
Pooled table - many to one
Cluster table - many to one
22. SAP 3 Tyre architecture:
Presentation layer
Application layer
Database layer
23. SAP landscapes or servers:
Development server
Quality server
Production server
24. Types of internal tables:
Standard tables – Linear search
Sorted tables - Binary search
Hashed tables - Hashed algorithm
25. Events in reports:
Load of program
Initialisation
At selection screen output
At selection screen on help request
At selection screen on value request
At selection screen on radio button grouping
Start of selection
End of selection
Top of page
End of page
26. Events in interactive report:
At line selection
At user command
At PF status
Top of page during line selection
27. Events in module pool or screen programming:
PBO – Process before output
PAI –Process after output
POH –Process on help request
POV -Process on value request
28. Work area:
Work area is used to hold a row of information only at run time
29. Internal table:
Internal table is used to hold a multiple rows and columns only at run time
30. Types of reports:
Classical report
ALV report
Interactive report
31. Modularisation techniques:Used for code readability and reusability
Include
Macros
Subroutine
Function module
32. Components of select options or structure of select option:
Sign
Option
Low
High
33. Types of BDC:
Call transaction method
Session method
34. Synchronous and Asynchronous:
Synchronous: It will run one by one
Asynchronous: It will not depend other process
35. Modes in BDC:
A – All screen
N – No screen
E – Error screen
36. Call by value:
While changing formal parameter value it will not affect actual parameter
Both parameters point out different values
37. Call by reference:
While changing formal parameter value it will replace actual parameter value
Both parameters point out same values
38. Types of messages:
E – Error
W – Warning
I – Information
A – Abed
S – Success
X - Abort
Run time error (DUMP)
39. Performance tuning:
Fetch only required fields
Fetch fields in table order
In where condition use most of key fields
Avoid using into corresponding fields
Sort internal table before use
Use binary search in internal table
Use field symbols
Use for all entries / joints / views
Never use select statement inside loop
40. Modify and update:
It modify the old data or append the data at last
It update old data or exit
41. Parallel cursor method:
Using this parallel curser method while do loop inside loop
Syntax:
SORTIT_TAB.
Loop.
READ TABLEIT_TAB INTO WA_TAB WITH KEY XXX.
LoopIT_TAB INTO WA_TAB FROM SY-TABIX.
End loop.
End loop.
42. Types of function modules:
Normal function module- Reuse_alv_grid_display
Remote enabled - RFC (SSF_FUNCTION_MODULE_NAME)
Update function module - BAPI
43. Package:
SE80
It’s like a container it save all objects in single file
44. Function group:
SE80
It’s like a container it save all function modules in single file
45. Chain and End chain:
It’s used to validate the user screen input
46. Debugging
/H – Enter while execute the program
Before execution need to place the session break point where we need to
debug
Create watch point when we need to debug particular variable get value
Place the external break point to debug smart forms
Use the function module generated by smart forms to debug any particular
smart forms – At SE37
47. Enhancements:
If we need to add some additional functionality in standard program, that
time we done with enhancement
48. Types of lock objects:
Exclusive lock
Shared lock
Exclusive but not cumulative lock
49. ASAP methodology:
Project preparation
Business blueprint
Realization
Final preparation
Go-Live
50. Where you write field enable / disable coding:
At selection screen output
Loop at screen #if screen input = 0 # modify screen
51. When top of page triggered:While using statements of
write
first
Uline
52. For all entries disadvantages:
If internal table is empty it fetch all the records from table
Need to check internal table is empty or not before using it
53. Type of enhancements:
User exit
BADI
Customer exit
Function module exit
Screen exit
Menu exit
54. Use of pretty printer:
It’s used to formatting the code
55. Smart forms:
It’s used to create different type of graphical forms
56. Types of windows in smart forms:
Main -> Item table values
Secondary -> Print same for all pages
Copies -> Make copy or original
Final -> Process at final
57. Scripts andSmart forms:
Clint dependent , Clint independent
Able to print background logo , Can’t print background logo
99 Main window , One main window 99-sub window
Print only two type of text , Print multiple type of text
It doesn’t have line type , have line type
Direct execution , Function module execution
58. LSMW and BDC:
For functional peoples , For technical peoples
Mapping done by system , Mapping done by technical peoples
It accept only .txt file , It accept .txt and excel files
Possible for standard transaction , Possible for all transaction
T-code : LSMW , SHDB
59. Mainly used call functions:
REUSE_ALV_GRID_DISPLAY
NUMBER_GET_NEXT
F4IF_INT_TABLE_VALUE_REQUEST
BAPI_SALESORDER_CHANGE
BAPI_TRANSCATION_COMMIT
SSF_FUNCTION_MODULE_NAME
CONVERT_OTF
BAPI_ROLLBACK_COMMIT
GUI_DOWNLOAD
60. Mainly used T-CODES:
SE11- Data dictionary (DDIC)
SE37 - To create and display function module
SE38 - To create report program
SE80 - To create module pool program
To create package
To create function group
To create webdynpro program
SE78 - To upload image to SAP
SNRO - To create number range
SE91 - To create message
SE93 - To create T-CODE
SHDB - To create BDC recording
SE14 - Edit, save, adjust database table
AL11 - To view application layer in SAP
SE09 - To release transport request ; Workbench request
SWDD - To create work flow
SBWP -To see workflow inbox
BAPI - To see available BAPI
SE18 - To display BADI
SE19 - To Implement BADI
SE24 - To create class globally (Class builder)
SE30 -Performance analysis for program
SM37 -Background job display
SM12 - To see lock object list
SM30 - To create TMG
SM69 - To create command
ST05 -SQL trace
ST22 -Dump analysis
SOST - To see send items of email
SICF -Activating WebDynpro services
SMARTFORMS - To create smart forms
61. Class:
Class is a virtual entity
It’s a blueprint to create object
Class contain methods with implementation
62. Define interface:
Interface is also like a class It’s contains methods without implementations
It’s an independent structure
Main use is reusability and maintain standard project framework
63. Polymorphism:
Any one of the action that is done by many ways is called as polymorphism
Same method name will behave differently in different class
64. Method overloading:
In a class method in same name and different parameters
65. Method overriding:
In a class method in same name and same parameters
66. Difference between class and object:
Class is a blueprint to create object
Class is virtual memory – virtual entity
Object is database memory – Real entity
67. Mainly used Master tables in SD & MM module:
Vendor master LFA1 key: LIFNR
Material master MARA key: MATNR
Customer master KNA1 key: KUNNR
KNB1 key: KUNNR, BUKRS
68. Master table and Transaction table:
Master tables are rarely changed and frequently used
Transaction tables frequently changed
69. Difference between normal ALV and OOALV:
It’s created at SE38 , It’s created at SE80
Work only at single program , We can use globally
ALV using function module , ALV using class and object
It design the screen automatically , Need to design the screen and container
manually
70. Tables and Templates:
We can able to add fields later ,We can’t able to add fields
Use table for more data ,Use template for minimum fixed data
71. Did u used append key word in sorted internal table:
NO, Append key is append the data at last in internal table
Sorted tables are having a data in ascending order so append is not possible
72. Cluster view:
View cluster is defined by two ways
One is table maintenance generator
Second is maintenance view
73. Syntax for read the data from application layer (AL11):
o Open data set
o Close data set
74. Fixed values in tables:
While creating domain a fixed values option is there
Ex: Filling male, female field
75. Options in domain:
Data type
No. of characters
Decimal places
Output length
Value range – Fixed values
76. System variables used in interactive ALV:
SY-LSIND -It’s contain current list index number
SY-LISEL - It’s contain the selected row
SY-LILLI - It’s contain line number of selected record
SY-UCOMM - It’s contain function code of the selected menu item
SY-LINNO -It’s contain line number of last record displayed
77.Abstraction and encapsulation:
Hiding background running data from end user – abstraction
Rapping up of data – encapsulation
78. What is SAP:
System application and products in data processing
It is an ERP (Enterprise Resource Planning )
Through SAP large and medium scale company can manage their data
79.What is ABAP:
Advance Business application programming language
Whole SAP software is build using ABAP language
80. What is OOABAP:
Object oriented ABAP is represented real time object of class
Local class and Global class
Code readability and reusability
Simplicity
Explicitness
81. Inheritance:
Passing the behavior of one class to another class
Can use a existing class to derive a new class
Advantages is code reusability
82. Events in OOABAP:
Events is method of one class can rise a method of other class
Define event
Define method
Link the event and method & convert the method as event handler method
83.Constructors in OOABAP:
It’s a special type of method
It’s executed automatically when the object was created
This has mainly used for set default values
84. Types of constructors:
Instance constructors
Static constructors
85. MVC in WebDynpro:
M – Model (logical part of program)
V – View (screen)
C – Controller (It controls both model and view)
86. What is component controller:
It’s a king of all controller
Like a top or global declaration of our program
It controls entire activity of our webdynpro component
87. What is interface controller:
It created automatically when a webdynpro component is created
We can able to use other program nodes, attributes via interface controller
88. How many component controller in webdynpro:
Only one, We can able to create multiple custom controllers
89. When you use custom controller:
If the component controller handling more nodes, attributes, views means that
time we need to create one custom controller
Modularize and segregate the logic into separate custom controller
90. Cardinality setting for nodes:
It shows how many record we are going to read via nodes
Like 0…n 0…1 1…1 1…n
91. Default hook methods in WebDynpro:
Handle from first
Wd do after action
Wd do before action
Wd do exit
Wd do in it
Wd do modify view
Wd do on contaxt menu
92. How you call one view to another view:
Need to create inbound and outbound plugs
Need to navigate the plug in any on action
Give create navigation link at windows
93. How do you create ALV in WebDynpro:
Need to give predefined components In used components
Create a view container in layout tab
Create a ALV node and bind with interface controller data tab
SET the ALV table operation code in any on action
94. How you debug background job:
Execute the T-Code : SM37
Select the required background job that we need to debug
Execute T-Code : JDBG the debugger will open automatically
95. How you set page number in smartforms:
Using default system variables
SFSY – PAGE
96. Types of controllers:
Component controller
Custom controller
Interface controller
View controller
Window controller
97. Assistance class in WebDynpro:
Need to create a class and implement the methods
It’s automatically instantiate when a component is called
Reuse the class in WebDynpro program in the tab of assistance class
98. Difference between BAPI and RFC:
Difference between BAPI and RFC is business objects
RFC are direct system call
BAPI is used for business object types
99. Field symbol uses:
We are using field symbol for performance tuning
It’s does not occupy any memory space it just point out the memory location
While using field symbol append key is not need
100. Automatic email sending function modules:
SO_DOCUMENT_SEND_API1
BFG_GEN_SEND_EMAIL
101. Single tone class:
Some real time business scenario we need to have only one instance for a class
at a time, That time we will use single tone class
102. Up casting & Down casting in OOABAP:
Sub class – Super class is Up casting
Super class – Sub class is Down casting
103. User Exit:
User exits are implemented in the form of subroutines
This are empty subroutines that SAP developers have provided
We Can fill them with our own code ( Modification)
All user exits are start with USEREXIT_Keyword
104. Customer Exit:
Need to find the particular package in T-Code: SE93
Using CMOD and SMOD need to find and implement
105. BADI:
Need to find the particular package in T-Code: SE93
Use SE18 and SE19 to find and implement the BADI
106. Order of hooks method in webdynpro:
Wd do in it
Wd do modify view
Wd do before action
Wd do after action
Wd exit
107. Check table:
Check table is a table which contains all the valid entries of field
Field level validation
108. Value table:
Value table is a table which contains all the valid entries of domain
Domain level validation