on 05-28-2008 11:22 AM
Hi Everybody.
I have two systems.One is ECC and other is SAP R/3.
I have created one RFC in SAP R/3 system and I am calling this
RFC fom ECC system.On click of one button,I have to show some
fields from the RFC onto the screen of WDA .
How can I achieve it ? Is there any code for that or some link
available for that.
Thanks In Advance.
hi vaibhav...
using rfc you will be calling a function module in r/3. so it will return some exporting parameters, bind it to the attributes that are created in the context or
create a destination in ecc6 to call the r/3 system .u se service call and mention that destination while creating it.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Go to SM59 and create a new ABAP Connection to the system where's the RFC. You need to enter with the logon data in the tab Logon & Security.
Now in the action of your button call the RFC using the following sintax:
CALL FUNCTION func DESTINATION dest [EXPORTING p1 = a1 p2 = a2 ...]
[IMPORTING p1 = a1 p2 = a2 ...]
[CHANGING p1 = a1 p2 = a2 ...]
[TABLES t1 = itab1 t2 = itab2 ...]
[EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
[system_failure = ns [MESSAGE smess]]
[communication_failure = nc [MESSAGE cmess]]
[OTHERS = n_others]].
Where dest is the ABAP connection that you created in SM59.
I suggest you to read this: [https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3982] [original link is broken] [original link is broken] [original link is broken];. This blog teachs how to consume a RFC via webservice.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just like you would invoke any API to get data to your context nodes, you need to invoke a remote enabled function module to get the data. Then bind it to your context as usual. Create your context structure based on the structure in the remote system.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.