cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Sending data to Backend.

Former Member
0 Kudos

Hi All,

Thanks for all who is answering all my quations. Now i am unable to send data to backend.

  • Model and Cardinalities are fine ( I am getting data from backend).

  • I created new element in comp controller and method(executing model). I am calling this method in wdInit() in view.

Do i need to write any code further to insert data into database.

Any idea, If you have code or example. Please provide me

Thank you

Regards

Ravi.Golla

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

after executing the RFC , you check the values that you are passing to RFC by displaying the input field of the RFC node.

If you are not getting the values that you are passing , revert with the code that you used to execute the RFC.

AM

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ravi,

Did you bind the required UI element to context attributes.

Also check using message manager whether the RFC is returning proper values.

Former Member
0 Kudos

Hi,

The business functionality we have to coded in R/3 side only for the sake of retriving the data or store the data into R/3.

That depends on your FNmodule only.

Once the function module is completed then u need to import and utilize in front end side.

If you retriving the data simple find the output node size and bind to UI Element.

If you saving the data then after confirmation message to be dispayed in output message.

All these u need to do the proper binding and write the simple execute the function module.

Thanks,

Lohi.

former_member189631
Active Contributor
0 Kudos

Ravi,

*For sendind data to backend you need to create the model in your webdynpro

application and call your own/Standard BAPI/RFC enabled function module

to send/get data from your Back end.

*If you already done this and getting error then please check these

  • Check your Mapping and Binding

  • Check your JCO connections.

  • Check your code for executing your RFC module

  • Check your RFC FM/BAPI in your Back end

Regards,

Ram.

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

The most common cause is not proper binding of UI element , I hope you have done that properly. Check this by debugging WD, The problem may be because you have set value in one element and passing other element to backend

chk this out in debugging.

hope it helps

regards