Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can I write COMMIT and ROLLBACK in user-exit?

Answer Posted / krishna davuluri

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 ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?

1741


How are BAPI different from normal function modules?

2171


what is difference between user exit, customer exit and badi?

5191


Name the function module used to convert logical file names to physical file names in abap/4 programs?

1156


What is the difference between field-group header and other field groups? : abap modularization

982


Why do we declare a method of a class final? What can be the purpose? Give a scenario.

1415


What are two methods of modifying sap standard tables?

1128


What are conditional chain statement?

1214


What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary

1113


What is cts and what do you know about it? : abap hr

1220


in bdc session method. if u run the record in fore ground manually i have a 7 records but at the time of record processing first record produces the error how can u process records manually in fore ground please tell me any one knows?

2143


What is an interactive report?

1102


What are conversion & interface programs in sap?

1132


What is modularization and its benefits? : abap modularization

1181


What are the two different ways of building a match code object? : abap data dictionary

1102