2008 Jul 28 8:14 AM
Why call transaction can not be used in background process?
When commit and rollback statement is used in abap programming ? pls explain me in detail.suppose If I am using insert statement what's the use of commit statement after it? will there be any datastorage in between insert statement and commit statement while creating data in the database
2008 Jul 28 8:43 AM
Hi,
Ususally CALL TRANSACTION deals with screen interaction. If it's mode is SET to 'A'' then we can process it in foreground mode.
'N' is for NO SCREEN mode, which is a background processing.
We can run it in 'N' mode but ensure that there are no errors, Beacuse we cant handle errors when occured in 'N' mode.
COMMIT is used to save the changes to the database and
ROLLBACK is to undo any changes.
After the "INSERT' we can use the commit in order to save the changes to the database and to have this new entry being isnerted into the database table. Here internally the changes will be refletd in both SAP tables and underlying database tables.
Thanks & Regards,
Chandralekha.
Thanks & Regards,
Chandralekha.
Hi,
Ususally CALL TRANSACTION deals with screen interaction. If it's mode is SET to 'A'' then we can process it in foreground mode.
'N' is for NO SCREEN mode, which is a background processing.
We can run it in 'N' mode but ensure that there are no errors, Beacuse we cant handle errors when occured in 'N' mode.
COMMIT is used to save the changes to the database and
ROLLBACK is to undo any changes.
After the "INSERT' we can use the commit in order to save the changes to the database and to have this new entry being isnerted into the database table. Here internally the changes will be refletd in both SAP tables and underlying database tables.
Thanks & Regards,
Chandralekha.
Thanks & Regards,
Chandralekha.
2008 Jul 28 8:22 AM
Hi!
Check out this link
http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3b64358411d1829f0000e829fbfe/content.htm
Regards
Abhijeet
2008 Jul 28 8:24 AM
Hi,
Commit
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/commit.htm
Rollback
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/rollback.htm
Regards,
Omkaram.
2008 Jul 28 8:43 AM
Hi,
Ususally CALL TRANSACTION deals with screen interaction. If it's mode is SET to 'A'' then we can process it in foreground mode.
'N' is for NO SCREEN mode, which is a background processing.
We can run it in 'N' mode but ensure that there are no errors, Beacuse we cant handle errors when occured in 'N' mode.
COMMIT is used to save the changes to the database and
ROLLBACK is to undo any changes.
After the "INSERT' we can use the commit in order to save the changes to the database and to have this new entry being isnerted into the database table. Here internally the changes will be refletd in both SAP tables and underlying database tables.
Thanks & Regards,
Chandralekha.
Thanks & Regards,
Chandralekha.
2008 Jul 28 2:10 PM
hi chandralekha,
I am very thankful to u for ur kind reply.My question is answered. i have some more doubts related to bdc.i will be asking u .pls try to reply
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |