2015 Oct 02 5:23 PM
Hello,
I found the FM TR_CHECK_EXIST which allows to check whether a given object (of type e071) exists in system or not.
The FM is greatly doing the job, but my requirement is to do the check in remote systems using RFC connections.
The problem is that the FM TR_CHECK_EXIST is not remote-enabled.
I found a workaround by using FM TR_CHECK_TYPE to convert the object from E071 to TADIR and then using the FM DEV_CHECK_OBJECT_EXISTS which is remote enabled. But I'm not happy with this coding and I want a way to check whether a given object (of type e071) exists in a remote system or not.
Thanks in advance.
Hello,
I found the FM TR_CHECK_EXIST which allows to check whether a given object (of type e071) exists in system or not.
The FM is greatly doing the job, but my requirement is to do the check in remote systems using RFC connections.
The problem is that the FM TR_CHECK_EXIST is not remote-enabled.
I found a workaround by using FM TR_CHECK_TYPE to convert the object from E071 to TADIR and then using the FM DEV_CHECK_OBJECT_EXISTS which is remote enabled. But I'm not happy with this coding and I want a way to check whether a given object (of type e071) exists in a remote system or not.
Thanks in advance.
2015 Oct 02 5:41 PM
Hi,
could you try to copy it and change it as your requirement
regards
Ebra
2015 Oct 03 7:39 AM
This way I will need to create the copied FM (or even FUGR) in the other system, and it's not possible in my case ...
2015 Oct 03 8:35 AM
Copy function modules is a bad idea. The copy doesn't get any updates. The solution is simple. Create your own RFC enabled function module with the same interface as TR_CHECK_EXIST, which calls TR_CHECK_EXIST, and use that instead.
2015 Oct 03 9:30 AM
Hi,
you are right, but I did not mean it to copy it the same, ,
I mean he can copy what he wants, just to meet his requirement.
Regards.
2015 Oct 03 1:10 PM
Thanks for the reply. But in this case I will still need to create the remote enabled FM in all the other systems in order tu use it, and it's not possible in my case ...
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |