2009 Aug 28 10:44 AM
Hi all,
How can i connect from one SAP system to another SAP system using ABAP code. I need to login into another SAP system from one SAP system and i need to transfer some data form that SAP system to my system. i need to code this requirement using ABAP
I don't want to connect using SM59.
please suggest the solution
Thanks & regards
Ajay
2009 Aug 28 11:08 AM
hello ajay,
this questn has already been answered ,seach on the forum you will get the soluutn to it.
regards,
Shweta
2009 Aug 28 11:08 AM
hello ajay,
this questn has already been answered ,seach on the forum you will get the soluutn to it.
regards,
Shweta
2009 Aug 28 11:10 AM
Hi,
you can use Native SQL like this:
EXEC SQL.
connect to 'YOUR_SAP_SYS' as 'ST'
ENDEXEC.
EXEC SQL.
set connection 'ST'
ENDEXEC.
Hope it helps.
Regards,
David
2009 Aug 28 11:12 AM
Another one of these "how can I get to the beer without opending the fridge" questions.
Why don't you want to use SM59 RFC-connections? These are the best option for your scenario.
Thomas