on 04-16-2007 9:58 AM
Hi,
I want to know how can i write an RFC when screen value change in webdynpro. I already designed a rfc where all the value can be seen in the webdypro screen. Now when user change the value how can i pick the changed value in R/3 so that i can save it into the respective database. Please send some code for understanding it easily as i am new to this field.
Regards
Deep
Hi Deepak,
You can create your RFC function module /BAPI and display the result
to webdynpro Java.
R/3 Side:
*Create a Function module and mark as RFC Enabled and write code
for your requirement.
*You can use Standard RFC FMsor BAPIs.
Webdynpro Java:
*Create a model in your webdynpro application to use ur function module or BAPI
*Pass the inputs to it and get the result
*Display the details in the webdynpro screen.
EP:
*You can integrate your webdynpro Java application into EP by using
webdynpro Java Iviews.
Regards,
Ramganesan K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
Though I dint understand your requirment properly but as it is raised in Web Dynpro forum I considering that you want to send the data filled by the user to your backend using RFC calls. For this purpose you can refer to this two documents available on SDN.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf">Tutorial 4</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c">Tutorial 5</a>
Regards
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Your FM will have some import parameters, so whichever value is changing in the web dynpro , pass these values to the backend through the inport parameter and then then execute the model(this is as good as executing FM in r3), when the insert query written into the FM gets executed the passed values will also get stored in r3.
check out this link for creating the models ie calling FM of abap,
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e517... [original link is broken]
hope it helps
let me know if any problem
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.