2004 Nov 16 9:42 PM
I am having a problem using:
CALL FUNCTION 'TABLE_ENTRIES_GET_VIA_RFC'
DESTINATION p_dest
in a background job.
I am working on a program that would compare the same table in 2 different systems and write the differences. It works when I run it in the foreground. However, I want to run this in a nightly background job. However, it is failing and I beleive that it is the result of the program needing a user to interactively logon to the remote system.
How can I bypass the logon screen or enter information into the logon screen using a background job?
Thanks.
Jon
2004 Nov 16 10:09 PM
You call a RFC funtion in another system. The connection to that system is via remote destination p_dest that is defined using transaction SM59. Here you define how to connect to the remote system. You can preset the user and password for the remote system here. Then when calling a RFC in the remote system you will not be asked for a user / password.
regards Jack
2004 Nov 17 4:59 PM
Thanks Jack.
That opened the door. I was relying on previously installed RFC connection instead of creating my own with a user ID that did not fail on login when I placed it in the background.
2004 Nov 18 8:16 AM
Hi Jonathan,
Would you like to reward some points to the poster to thank them as a part of SDN Contributor Recognition Program?
You can click on the yellow star on the right of each post header to reward points.
For more information:
https://www.sdn.sap.com/sdn/index.sdn?page=crp_help.htm
John.