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

How do you move on to the next screen in interactive reporting?

1188


Explain the structure of a bdc sessions?

1003


What is the difference between collect and append statements?

1085


Difference between .Include and .append?

1251


​​Can multiple abap systems connect to abap database?

1120


Explain some essential objects in abap dictionary?

1178


What is payroll driver ? : abap hr

1107


What is ps structure? : abap hr

1379


What are plan versions used for? : sap abap hr

1059


what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?

2257


What is sap abap data dictionary?

1125


What is a transaction variant and why are they used?

1088


Difference between stand alone CRM and back-end CRM

4297


What is an interactive report? What is the obvious difference of such report compared with classical type reports?

984


Create any functions? How to go about it?

1042