cancel
Showing results for 
Search instead for 
Did you mean: 

SAP4Rails: "missing_method" error during execution of model

Former Member
0 Kudos

Hi all,

I was trying to develop an example described in Piers Harding's <a href="/people/piers.harding/blog/2005/08/03/sap-on-rails-and-not-on-the-skids but I've got some problems with runing the application. When the list action is triggered an error with message "missing_method: BAPI_EXCHRATE_GETSURRENTRATES" occurs, and I have now idea what is wrong?

I work with Windows XP and I've installed saprfc(0.34), sapnwrfc(0.06), sap4rails(0.15) and sapwas(0.12) libraries.

I would be grateful for any help.

Best Regards,

Michal M.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You may search piers`s nwrfcsdk ruby warpper source code for "missing_method", then by examining the code around may help you figure out what`s wrong.

Good luck again:)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi michal,

Do you mean BAPI_EXCHRATE_GETCURRENTRATES ?

Good luck with nwrfcsdk

Best Regards,

Leecz.

Former Member
0 Kudos

Hi,

Sorry, I've made a spelling mistake the missing_method is of course "BAPI_EXCHRATE_GETCURRENTRATES".

I still can't run Exrates example. Can anyone guide me and tell when does "method_missing" error usually occur?

Best Regards,

Michal M.