Skip to Content
avatar image
Former Member

How to write rfc when value change in the screen (browser) in webdynpro.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 16, 2007 at 09:12 AM

    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-d7ecd2e51715 [original link is broken]

    hope it helps

    let me know if any problem

    regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 09:14 AM

    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.

    Tutorial" target="_blank">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

    Tutorial" target="_blank">www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c">Tutorial 5

    Regards

    Sid

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 16, 2007 at 09:46 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded