You are on page 1of 6

1. What you did in BDC.

ANS : bdc is used to upload the data into the sap system by using
the transaction recording SHDB.
this is structure of the bdc to upload the data into the sap
database.

1.analyze the data from the local file or flat file


2.analyze the transaction
3.declaring the internal table (BDCDATA)
program: name of the module pool program name
dynpro : screen number
dynbegin: it indicates for the new screen number
fname : name of the fields in the screen
fval :values are assigned with the fields.
4.transffering the data from flat file to internal
table(BDCDATA)
5.populating the internal table (BDCDATA)

2. Difference Between domain and data element?


ANS: Domain is nothing but technical attributes of any data field.
Data element: Data element is nothing but technical name of the technical
attributes of any data field.

3. what is Delivery? In which tables delivery data will be stored?


ANS: The Delivery is a legally binding document indicating that the shipment of goods
or the delivery of services has occurred.
LIKP-Delivery Header Data

LIPS - Delivery item document.

4. Is it possible to write code in LSMW if so when will you write?


ANS: Write code in LSMW is possible. we will write code in LSMW
when we need some condition or mapping data in step maintain
field mapping and Conversion rule.

OR

When we don't have a developer key, we can use LSMW as


editor to coding for process and insert table. We can use
step maintain field mapping and Conversion rule at position
after end-of-transaction and before end-of-processing.
5. what is the way to find out user exits?
ANS : Execute Tcode SPRO
2) Click on SAP Reference IMG
3) Expand Sales and Distribution
4) Expand System Modifications
5) Expand User exits
6) Expand User exits in sales
7) Click on Documentation of User exits in sales document processing
8) Read the documentation and identify the User exit.

6. what is message type?

ANS : I----> INFORMATION


S----> STATUS
A----> ABEND
W----> WARNING
E----> ERROR
X----> ABORT

7. What is the difference between subroutine in report and subroutine in


script?
ANS : In reports, we use subroutines as a modularization
Technique.

In scripts, we use Subroutine pool programs to add extra


functionality to the standard Driver program.

8. What is the Cardinality?


Ans: Cardinality is define in foreign key relationship..
i.e. cardinality is looks as X:Y
X refers Primary Key table and Y refers foreign key table..
it describes For each value in primary key table(check
table), how many rows of data are allowed to be in the
foreign key table.

9. We have 100 records in table how to fetch 10 th record?


Ans: READ TABLE itab INTO wa INDEX 10. Use this syntax.

10.What is the Index and types of index?

Ans: index is to avoid duplicate data and for good performance while
extracting data from dbtab, these are of 2 types

primary: it is created by system by considering all key fields


secondary: this are created by abap consultants using key or non-key fields
up to 9 indexes can be maintained.

11. What are the various events associated with Screen Programming?

ANS: The following are the events associated with Screen Programming -

1. Process Before Output (PBO) - This event gets processed long before
displaying the screen.
2. Process After Input (PAI) - This event is processed while the
interaction of a user with the screen continues.
3. Process On Help (POH) - This even gets processed on request by a
user after pressing F1. The program gets appropriately coded in various event
blocks. The present screen gets processed by the system.
4. Process On Value (POV) - This gets processed by pressing F4 by
users. Here also, the coding can be done in the various event blocks.

12. What is the difference between join statement and select for all entries?

ANS: Join statement is used to combine data from multiple tables based on a common field,
while select for all entries is used to retrieve data from multiple tables based on a list of
entries.

Join statement is used when we want to fetch data from multiple tables based on a common
field.

Select for all entries is used when we want to retrieve data from multiple tables based on a
list of entries.

Join statement can be used with inner join, left outer join, right outer join and full outer join.

Select for all entries is more efficient when dealing with large datasets.

Join statement requires a common field between the tables, while select for all entries
requires a list of entries.

13.What is the difference between call transaction method and session method?

Ans: Call transaction method is synchronous and session method is asynchronous.

Call transaction executes transaction immediately and waits for the response while session
method creates a session and executes the transaction in background.

Call transaction method is suitable for small data sets while session method is suitable for
large data.
Call transaction method is faster than session method but session method provides better
error handling and logging.

Call transaction method is used for immediate processing while session method is used for
batch processing.

Examples of call transaction method include BDC_INSERT, BDC_UPDATE,


BDC_REPLACE, ETC. While examples of session method include

BDC_SESSION _CREATE , BDC_SESSION_CLOSE, BDC_SESSION_PROCESS etc.

14. How to see error in call transaction method?

ANS: Errors in call transaction method can be seen in sy-subrc variable.

After calling the call transaction method, check the value of sy-subrc variable.

If sy-subrc is not equal to 0 then there is an error in the call transaction method.

Use message statement to display the error message.

Check the transaction SM21 for system logs to get more information about the error.

15. Name of the events which is used in report?

ANS: AT-LINE SELECTION, AT USER-COMMAND, INITIALIZATION, START-OF-


SELECTION, END-OF-SELECTION are events used in report.

AT-LINE-SELECTION: Triggered when a line is selected in the report output.

AT USER-COMMAND: Triggered when a user enters a command in the report output.

INITIALIZATION: Triggered when the report starts processing data.

START-OF-SELECTION: Triggered when report starts processing data.

END-OF-SELECTION: Triggered when the report finishes processing data.

16. What is the field CatLog?

ANS: field catalog is a structure that defines fields of a table structure

17. What is the SAP Debugger?


Ans: It is tool used to identify and eliminate errors in ABAP programs. It allows verification of
program logic in a step-by-step manner by examining the results of individual statement.

SE38 --- Program-----Execute------Debugging.

F5: When you press F5, your program control goes to next line.

F6: It will execute the module without going into it. F6 works for performs (subroutines),
function modules, class methods etc.

F7: It completes the current program/module in a single step.

F8: Control will go to the next breakpoint, if any or completes the program execution.

18. What is Watch point?

ANS: A Watch point is a conditional breakpoint that is only defined in the ABAP Debugger.

19. What are the difference between call screen and leave screen ?\

ANS : Call Screen : calling a single screen is a special case of embedding a screen
sequence. if you want to prevent the called screen from covering the current screen
completely, you can use the call screen statement with the starting at and ending at. call
screen 1000.
call screen 1000 starting at 10 10 ending at 20 20.

Leave Screen : Statement Ends The Current Screen And Calls The Subsequent Screen.
LEAVE TO SCREEN 2000.

You might also like