What Is Kernal Badi? What Is The Difference Between Classic Badi and Kernal Badi ?
What Is Kernal Badi? What Is The Difference Between Classic Badi and Kernal Badi ?
What Is Kernal Badi? What Is The Difference Between Classic Badi and Kernal Badi ?
Ans-Normally all the screns with table controls will have buttons to add(Insert) a Row,
Delete a Row etc..
After adding data to 1st Row (it will have index 1)... press that insert button so a new
Row is inserted again at 1st row..so this will have index 1.
So in this way you can hard code the index to one.
The advantage is that if there are many rows then you will not have to keep a track of
how many rows are inserted and when to press the page down button.
2. i have to fetch the data based on non primary key field from a pooled
or clustered table, but for pooled and clustered tables we can't create
secondary index then to achieve the performance what to do?
Ans-You should avoid selection from cluster data base table. The better way to do this is
to use base tables. For example if you want to select data from BSEG table you should
use "lower level" tables like BSAK BSIK BSAD BSAK etc
Ans-Once u enter in the debugging screen put the courser on particular line from menu
debugging select go to statement.
Ans-Yes, we can. In data base view, we have got the option of read and read &
change. By selecting read & change we can make changes to data base table.
Ans-When situation arise where in multiple reports the data being fetched via select
query and we don't have strong Primary key
Ans-Yes we can.
7. What is kernal badi? What is the difference between classic badi and kernal badi ?
What is the advantages of kernal badi?
A classic BAdI can be called only once and the call positions are registered
centrally.
With new BAdIs, multiple calls are possible and the call positions are not
registered centrally.
2)Kernel BADI you can from your program by using commands GET BADI.
Ans-index is to avoid duplicate data and for good performance while extracting data from
dbtab, these are of 2 types
1> primary: it is created by system by considering all key fields
2> secondary: this are created by abap consultants using key or non key fields up to 9
indexes can be maintained
10. I have 1 basic list and 9 secondary list in interactive report. If i am in 5th list, how can i come
directly to the basic list?
Ans-MAX we can go for 20 SECONDARY LIST AND ONE BASIC LIST TOTAL 21
if sy-lsind = '5'.
sy-lsind = 1.
endif.
Ans-
Ans-Most of the time we go for standard internal table. However, where main operation is
key access, Hashed internal table is most appropriate. Hashed internal tables are useful if
you want to construct and use an internal table which resembles a database table or for
processing large amount of table. If you are not sure about it, then go for standard internal
table.
Ans-User exit allows to add only one extra functionality in standard SAP program but BADI
allows multiple functionality through implementations and methods.
17. How can we create Search Help, without using table field?
for example I have two fields in one table and I required
one more field in search help how?
Ans-create first a view of the two table in SE11 transaction.
Then create the search help based on that view.
20. which commands are allowed if you are working with an internal table of type sorted?
Ans- whenever u r working with a sorted internal table u cant use
APPEND stmt..rest of the operations u can do...
23. There is a delivery that is being created through the ABAP code and in the middle it says
delivery created but someone is modifying , how would you rectify this issue?
Ans-We can restrict other users from editing our programs/FMs with the help of "editor lock"
Concept.
The editor lock prevents other users from making changes to the program. This includes
attributes, documentation and text elements, as well as the functions "Rename" and
"Delete".
This will be helpful for the crucial reports.
25. How can we call, call transaction and session method in the same program?
Ans-You can call both methods by using the standard include
BDCRECX1.
29. In Pooled and Cluster Tables, which table we can convert into Transparent Table?
Ans-pooled tables , You can easily convert pooled tables to transparent table with the
transparent flag of the technical settings. You can use this option to access a pooled table
from outside the R/3 System.
30. Among pooled and Cluster tables, in which table data used to store in Row Format?
Ans-pooled table is stored entries with out row separator .
and coming to the cluster the entries are stored with row
separator
31. What is Transaction to view the Workflow status ? a) SWDD b) SWI2_FREQ c) SBWP d) SPRO
Ans-its swi2_freq.
32. Function Module to upload the Excel sheet into SAP Internal
Tables. *
a) GUI_UPLOAD
b) CL_GUI_FRONTEND_SERVICES=>GET_UPLOAD_DOWNLOAD_PATH
c) CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
d) All the above
ans- no i think these fm doesn't work with excel files. the above fm are used to upload the
txt files means note pad filessivas
in order to upload the xl file usually we use the fm
33. I have 2 inputs in Module pool prgm, if i click on the input i need to get drop down list..How to get
it..?
Ans-There are two methods to do so
1st: Assign fixed values in domain level of data element
and in MMP give that field as droup-down.
35. What is the effect on Customer Exits and User Exits maintained
in a system on Up-gradation .
ans-Customer Exits are enhancements hence protected against up-gradation however, User
Exits are considered as modifications to ABAP program and are not protected against the
up-gradation and hence are overwritten during up-gradation.
42. can u call sub screen with in a sub screen? if so, then
explain the flow of PBO and PAI between 2 sub screens.
Ans-Add the subscreen area in the subscree.
in the PBO of the subscreen, call the second SS using call
sunscreen.....
48. 30000 locks are done,u r having 15 min time .to leave u r
job.how would u resolve it
ANS-SM12 , Select all.....Delete Lock
BADI:
1) it is object oriented approach.
2) Reusable because of oops concept .
3) first definition (se18) then implementation (se19)
if sy-subrc = 0.
endif.
* This statement checks the above condition and even if sy-
subrc fails, the code will be executed further.