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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 0 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 ?    0 Yes 0 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 ?    0 Yes 0 No
Krishna Davuluri
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
what are userexits?? how to use it?? whats the importance of them?? can it be used in interactive reporting to directly come to basic list?? Essar1
what is advantages and disadvantages in call by value and call by reference Wipro3
what is difference between occurs1 and occurs2?  2
what are conversion routines  1
what is data structure and data table Cognizent1
What is the testing tool in ale........ Accenture2
. How to transport scripts ? Deloitte2
WHAT IS TCODE TO CREATE NEW MESSAGE TYPE? Sony1
What is an Extended IDOC and It's purpose? Sony1
how can u write in single program call transaction and session method logic? if u write logic in call transaction ,is there any errors ? how can u see in session ? Satyam1
When we append a record to a sorted internel table how it is appended? SAP-Labs1
what are the control break statements in Reports? TCS3
What are labels in scripts..? why are they not accpeted in smartforms..? IBM2
How do you create a table? FutureSoft2
What is SAP script and Purpose? Unilogic-Software1
How would you add fields to the sapscript without modifying the print program? IBM2
How to handle Errors in Function Modules?  2
what is the field to be used in field catalog of an ALV report to hide the relevant column in the list?  1
what is the syntax for eliminating duplicate values in internal table. IBM4
Difference between select and select single statement  1
 
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