ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  ERP CRM  >>  SAP  >>  ABAP
 
 


 

 
 Basis interview questions  Basis Interview Questions
 ABAP interview questions  ABAP Interview Questions
 SAPScript interview questions  SAPScript Interview Questions
 SD interview questions  SD Interview Questions
 MM interview questions  MM Interview Questions
 QM interview questions  QM Interview Questions
 PP interview questions  PP Interview Questions
 PM interview questions  PM Interview Questions
 PS interview questions  PS Interview Questions
 FI CO interview questions  FI CO Interview Questions
 HR interview questions  HR Interview Questions
 SAP CRM interview questions  SAP CRM Interview Questions
 SRM interview questions  SRM Interview Questions
 APO interview questions  APO Interview Questions
 Business Warehouse interview questions  Business Warehouse Interview Questions
 Business Workflow interview questions  Business Workflow Interview Questions
 SAP Security interview questions  SAP Security Interview Questions
 SAP Interfaces interview questions  SAP Interfaces Interview Questions
 Netweaver interview questions  Netweaver Interview Questions
 SAP ALE IDocs interview questions  SAP ALE IDocs Interview Questions
 SAP B1 interview questions  SAP B1 Interview Questions
 SAP AllOther interview questions  SAP AllOther Interview Questions
Question
Can I write COMMIT and ROLLBACK in user-exit?
 Question Submitted By :: Buddula15
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can I write COMMIT and ROLLBACK in user-exit?
Answer
# 1
generally user exits are used for add the additional
functionality to the sap standard code. it will not effect
to future software upgradation.

but how commit and rollback is used in user exits.
 
Is This Answer Correct ?    0 Yes 4 No
Malli.gontla
 
  Re: Can I write COMMIT and ROLLBACK in user-exit?
Answer
# 2
 Hi

I think that we should not write COMMIT in user exit but we can 
write ROLLBACK. Correct me if i am wrong. 
 
Is This Answer Correct ?    3 Yes 2 No
Buddula15
 
 
 
  Re: Can I write COMMIT and ROLLBACK in user-exit?
Answer
# 3
Hi,

Coomit and Roll back in the User exit should not be used.
Because while executing userexit its not allways sure that 
all needed values for database updations are present or 
not.hence we should not use COMMIT or ROLLBACK, of work.
Also userexit is expected to add new functionality to 
existing functionality, its not supposed to make any 
changes in the existing functionality.

Suppose if you take Userexit SAVE_DOCUMENT_PREPARE.Systems 
goes through the user exit more than once and COMMIT or 
ROLLBACK may cause inconsistencies.
 
Is This Answer Correct ?    2 Yes 1 No
Krishna Davuluri
 
  Re: Can I write COMMIT and ROLLBACK in user-exit?
Answer
# 4
Hi,

ofcourse we can write but it is not recommended.

In an user exit control is in the mid of a transaction data 
will be updated or not is decided at the end of the 
execution of the transaction.

If we write Commit it will commit the database update 
whereas case may be like transaction went into error and 
database update is not required in that case there will be 
data inconsistancy.
 
Is This Answer Correct ?    0 Yes 0 No
Bikas
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
2)what is the differnce between user exits and Badi IBM3
in the final display list how can i change rows to columns and vice versa Bristle-Cone1
What is BDC Recording? TCS3
You are given functional specs for a BDC program and you need to decide whether to write a method call transaction or a session. How u will decide? IBM2
What is the typical structure of an ABAP/4 program?  2
what is use of STOP stsment Mind-Tree2
Explain what are the steps in the SD process at least up to the invoicing stage?  1
what is the difference between bdc and rfc ?  3
How do you get your task to perform? IBM1
what is the t,code for assign logical systems?  4
in which event validation is done? CTS1
list the important field symbol?  1
where are the system fields stored? TCS3
what is the use of FOR ALL ENTRIES in an internal table? Keane-India-Ltd4
)what is the significance of main window in a page, what are the types of windows? briefly explain the types of windows  1
26) Explain the Importance of each type of window in scripts?  1
how do you supress blank spaces in sap scripts?  2
which processor controls the flow logic of an online program? Accenture2
CAN ANY BODY TELL ME IN A COMPANY HOW BAPI WORK WILL GOES? WHO WILL TELL WHICH BAPI WILL SET FOR THE PRESENT REQUIRENT?  1
What are the components in technical setting while creating a table ITC-Infotech1
 
For more ABAP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com