Tuesday, February 9, 2010

BDC

BDC:-

Q1)+ What is the structure used in BDC to Upload the data?
Ans:- BDCDATA is the structure used in BDC to Upload the data.

Q2)+ What are the update modes available in Call Transaction method?
Ans:- 2 update modes.
1) Asynchronous update :
*In this mode, the called transaction does not wait for any updates
That It produces to be completed.
*Execution is faster when compared to synchronous update.
*It is not recommended for processing any larger amount of
Data why because error analysis and recovery is less convenient.
2) Synchronous update :
*In this mode, the called transaction waits for any updates that
It produces to be completed.
*Execution is slower when compared to Asynchronous update.
*The called transaction is able to return any update error
Messages. So, error analysis and recovery is much easier.

Q3)+ What are the display modes available in Call Transaction method?
Ans:- There are 3 display modes in Call Transaction method.
A - display All screens
All screens and the data that goes in them appear when we
Run the program.
N - No screens (Background processing)
All screens are processed invisibly, regardless of whether
there are errors or not. Control returns to the program as
soon as transaction processing is finished.
E - display Error screens only
The transaction goes into display mode as soon as an error
In one of the screens is detected. We can then correct the
error.

Q4)+ What is the default updation mode in Call Transaction method?
Ans:- Asynchronus updation is the default updation mode in call transaction
method. In Asynchronus updation, if an error occurs while updating The
database, It skips the error record and continues the updating process.

Q5)+ What is the default updation mode in Session method?
Ans:- Synchronus updation is the default updation mode in Session
Method. In Synchronus updation, if an error occurs while updating
The database, the updating process will be stopped at that point.


Q6)+ What are the function modules used in Session method?
Ans:- (explanation - BDC 1pg of session method)
3 function modules are used in session method.
1) BDC_OPEN_GROUP
2) BDC_INSERT
3) BDC_CLOSE_GROUP

Q7)+ What is the difference between Call Transaction method & Session
method?
Ans:- Call Transaction Session
1) In Call transaction method, data 1) Whereas in Session method,
Updation will take place at the a session will be created and
Moment of execution of the we can run that session at the
program. background At any time.
2) In Call transaction, only one 2) In Session method, multiple
Transaction can be processed Transactions can be processed
Always. Through the same session.
3) Error handling is explicit 3) Error handling is implicit
Functionality in Call Transaction functionality in Session
Method. Method.
4) Execution is Faster bcz it is 4) Execution is Slower bcz it is
Asynchronous Update. Synchronous Update.
5) Call transaction method 5) Whereas Session method
Returns the SY-SUBRC. Doesn’t return the SY-SUBRC.

Q8)+ How to handle the errors in Call Transaction method?
Ans:- We can handle the errors in Call Transaction method, by using a function
Module FORMAT_MESSAGE.

Q9)+ What is the complete syntax of Call Transaction?
Ans:- CALL TRANSACTION “Transaction code C
USING “Itab of structure BDCDATA U
MODE “display mode M
UPDATE
“update mode U
MESSAGES INTO . M

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

goodsites