2008 Mar 27 4:30 AM
Hey Guys,
Can u please hlpe me with this.
What does following functions do??
1. TRANSACTION_BEGIN
2. TRANSACTION_END
it is used in one of the BAPI Function Module.
Also Please answer if TRANSACTION_END commits the work???
Points will be rewarded
2008 Mar 27 4:47 AM
hi
Hope it will help you.
Reward if help.
All BAPIs implicitly carry out a separate COMMIT WORK.
If a COMMIT WORK AND WAIT is required, or if batch maintenance is to be included om a transaction, the implicit COMMIT of the BAPIs has to be suppressed.
This is done by calling function module 'TRANSACTION_BEGIN' before calling the individual BAPI. Thus the calling program takes over transaction control.
The transaction is terminated by calling function module 'TRANSACTION_END'. A database COMMIT is then carried out by calling BAPI BAPI_TRANSACTION_COMMIT.
2008 Mar 27 4:40 AM
Hi,
Fuba: transaction_begin returns a unique transaction ID for the LUW ( database commitwork) .
Transaction end : behaves purely on the return value of transaction_begin :
if status of transaction is commit_work , it will do a comit else rollback.
and after that it refreshes all the buffers.
Reward if helps.
Regards,
Sandeep
2008 Mar 27 4:46 AM
Hi,
Go through this PDF and it will make you understand its use in BAPI.
[USE THIS|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd1c81]
HTH
Regards,
Dhruv Shah
2008 Mar 27 4:47 AM
hi
Hope it will help you.
Reward if help.
All BAPIs implicitly carry out a separate COMMIT WORK.
If a COMMIT WORK AND WAIT is required, or if batch maintenance is to be included om a transaction, the implicit COMMIT of the BAPIs has to be suppressed.
This is done by calling function module 'TRANSACTION_BEGIN' before calling the individual BAPI. Thus the calling program takes over transaction control.
The transaction is terminated by calling function module 'TRANSACTION_END'. A database COMMIT is then carried out by calling BAPI BAPI_TRANSACTION_COMMIT.
2008 Mar 27 4:54 AM
Hi,
TRANSACTION_BEGIN : It is is used to get the host id....
TRANSACTION_END : It ends the transaction.
Yes COMMIT WORK
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |