on 08-11-2008 7:02 AM
Hi all,
I am new to ABAP Dynpro but know the basic concept of dynpro i have create an application using bapi that is working properly now here requirement from user is he want data from another server
i mean to say suppose i am running dynpro on server A and want to pull data from BAPI using server B
can anybody tell me how can i pull data from diffrent server ???
Thanks and regards
Ankit Modi
x
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ankit,
I think there is nothing special in your case(as for webdynpro).
U just need to create an RFC connection between two servers and create a RFC in server which is suppose to provide data with export parameter of what u want and finally call that rfc in your server.
(in case my interpretation is wrong please clarify this)
regards
panky
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ankit, it is like calling a function module using a DESTINATION addition
http://www.sapnet.ru/abap_docu/ABAPCALL_FUNCTION_DESTINATION.htm
CALL FUNCTION 'RFC_SYSTEM_INFO'
DESTINATION 'NONE'
IMPORTING
RFCSI_EXPORT = INFO
EXCEPTIONS
COMMUNICATION_FAILURE = 1 MESSAGE MSG_TEXT
SYSTEM_FAILURE = 2 MESSAGE MSG_TEXT.
Abhi
Hi ankit,
Suppose there are two servers.
server A and server B .
u want data to be pulled from server B to server A.
U have created a RFC connection between two servers(by using SM59).
step 1)Now you create a function module in server B with RFC property selected (i.e. make it a RFC enabled fm).Now this function module should have a export parameter which is returning the data u required
step2)Now come in your webdynpro application and go to the method where you want to use this data.Call that function module with destination number u have created.And collect those data in your local variable or table which that FM is returning.
Now i think atleast you know thta process which is need to be followed so if you have any doubt in this process feel free to ask
regards
panky
you can call the BAPI using DESTINATION addition and specify the RFC connection name
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.