on ‎2009 Jan 28 4:22 AM
hai....
what is the difference between SM58 and SM59?
Request clarification before answering.
Hi
SM59:
used for creation and maintenance of RFC destinations. These are used for communication between two different SAP or one SAP and one Non SAP systems.
SM58 Description:
In Release 3.0, you can execute function modules asynchronously in a different R/3 System. When you call function modules in this way, they are not executed immediately. Instead, they are stored in an internal table and processed together after the next COMMIT WORK. The calls for each destination thus constitute a Logical Unit of Work ( LUW)).
When a COMMIT WORK statement occurs, the stored calls are executed by the next free work process in the order in which they occurred. If there are updates before COMMIT WORK, the asynchronously called function modules are not executed until the all the update function modules have been successfully processed.
Because the RFC is like a transaction, database operations are either all executed or, if a function modules terminates, all rolled back. If an LUW runs successfully, you cannot execute it again. In some cases, it may be necessary to program the roll back of an LUW, (for example, because a table is locked). To do this, you call the function module RESTART_OF_BACKGROUNDTASK which performs a rollback and ensures that the LUW is executed again later.
The function module ID_OF_BACKGROUNDTASK returns the ID of the LUW. You call this module after the first CALL... IN BACKGROUNDTASK and before COMMIT WORK. You can use the function module STATUS_OF_BACKGROUNDTASK and the ID to find out whether the LUW ran successfully. Normally, the LUW is executed immediately after COMMIT WORK in the specified target system. However, you want it to start at a particular time, you can set a start time with the function module
I hope this helps you.
Regards
Chen
Edited by: Chetan Seth on Feb 18, 2009 8:40 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reddy,
SM59 is the T-code used to create RFC destinations.
SM58 is used to monitor the log og tRFC's.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(SM59 - SM58) = SM(59 -58) = SM(1) = SM
The real answer is that these are 2 completely different transactions...
What is the point of this kind of question ?
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As per my understanding SM58 is used to check the Transactional RFC such as Idoc porecessing or any data upload from BW into R3 in that cases you can see the data and communication status of these two system, SM59 is used to create a RFC connection between 2 system,
Regards,
Subhash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.