Can not call RFC inside VC
i use a RFC in my VC. The local test of the R/3 RFC within NWDS (Test Data Service) runs with success. But if i start the Application and call this RFC i get the following error:
Error in getting the connection Could not find destination XXX Error occurred while executing the service: Could not get connection to the backend XXX Error Occurred while executing the service: Error occurred while executing the service: Could not get connection to the backend XXX
If you are working with NWDS, except for defining the destination in the NWDS you also have to define the same destination in the WAS you deploy to. That is because the runtime environment for your model (the WAS) also has to connect to the destination.
A system administrator can define the destination from NetWeaver Administrator (/nwa).