on 11-10-2008 9:59 AM
Hi,
I am new to ABAP coding. I use the WebDynpro ABAP . In that I need to call a RFC and get the data into the portal. I need to pass some input paramer to RFC. How could I do in the ABAP programming ?
thanks
Suresh
Hi suresh,
What you are asking is a not a wdbdynpro specific doubt but it is more related to abap.So i think you need to get some information about creating and using FM and RFC in abap.
Well i would just try to give you the steps that you should follow.
Step 1) Create a function module by using T CODE se37 make it remote enable i.e make it a RFC (you will ust need to check a radio button in properties tab)
Step 2) In rfc try to define the importing and exporting parameters and write your logic in the coding section.
Step 3) After creating RFC successully now u craete your webdynpro component and create a view inside the component.In view accrding to your business requirement you call this RFC in any of the methods i.e either in hooks methods or your custom methods .And pass the parameters to that rfc and get the results from the rfc.
Well i think i have just given you the overview of the process so while development if get any problem feel free to ask
regards
PG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
to pass the parameters to the RFC created ,
chk for the parameters it is seeking as importing parameters.,fill those parameters in your Abap WD component even, may be a comp.contrller method..
using pattern->call function call the respective RFc and just pass the values to it..
this is how u can call the rfc in your comp..
revert back for issues,
Arjun.G
Hi Suresh,
You can call an remote enabled function module in Web Dynpro ABAP using the "Service Call" concept. To create a service call, you have an easy-to-use wizard at your disposal within the Web Dynpro tools in the ABAP Workbench. Try go through this [link |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc57c23fd600]where in they have explained along with screenshots as to how you can call BAPI_FLIGHT_GETLIST from your Web Dynpro component & pass data in between them.
Regards,
Uday
Create your FM as Remote enabled and when calling inside the web dynpro, give destination parameter also. In web dynpro define the importing structure which will get the data back in web dynpro.
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.