cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call "Class" from MII

nagarajan_ramudu
Active Participant
0 Likes
218

Hi Gurus,

I am a starter to MII system. I know that we have an option to call ECC R/3 remote enabled function modules and BAPI from MII. My question is, can we call ECC Class / methods?

Thanks

Nagarajan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Do you have an example of the object you want to call?

nagarajan_ramudu
Active Participant
0 Likes

Thanks for your reply.

I have an example standard SAP class / method. Class is CL_GUI_FRONTEND_SERVICES and method is GET_IP_ADDRESS. This method is used to get the IP address of the current system.

Is there a way we call the above method from MII?

Apart from standard Class/ methods, I have huge number of custom "Z" classes / methods. In order to call from MII, I need to create a wrapper function module with matching import / export and changing parameters. This is the non value added process and future changes in the class / methods involves changes in MII remote enabled function modues.

Please let me know your thoughts.

best regards

Nagarajan

Former Member
0 Likes

I believe thats the way you need to go. Is there a "Assign Reference Documents" option in R/3, like in MII?

Former Member
0 Likes

I do not think there is a way to call class methods remotely without an RFC wrapper. Anyway CL_GUI_FRONTEND_SERVICES is used for Sap gui stuff so I am not sure what would happen if you use it within an RFC. I am sure if it opens a dialog or window it would dump. What is the nature/functionality of your custom classes? If they are also gui related like CL_GUI_FRONTEND_SERVICES I don't think they will be usefull to your MII work.

Answers (0)