cancel
Showing results for 
Search instead for 
Did you mean: 

-1 error coming

Former Member
0 Kudos

Hi All,

On deployment of my application I am getting a -1 error. It is occuring after execution of the rfc. After execution of rfc i am setting a variable with the output nodes values and on that line its going into exception. When I am trying to print the exception I am just getting -1 no other description. This was not coming in the dev server but on transporting to test server we are facing this problem. We tried invalidating the cache and check all the settings. Also on execution of rfc in sap gui we are getting the appropriate output for the same set of inputs.

Thank you

Regards,

Jaspreet Kaur

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Preet,

Try restarting the server.Its recommended to restart the server after model import.

For more log information go to:http://<host name>:<port no>/nwa

Regards,

Lavanya G

Former Member
0 Kudos

Hi Lavanya

We have not reimported the rfc and in case we reimport also we get a different error and not -1 as fas as I have experienced.

Thank you

Regards,

Jaspreet Kaur

p330068
Active Contributor
0 Kudos

Hi

As per your comment : >After execution of rfc i am setting a variable with the output nodes values and on that line its going into exception.

Please check output node siz for the RFC and then populate anything like

if(wdContext.nodeXYZ().size() > 0)

{

-


-


-


}

Hope it will helps

Regards

Arun

Answers (0)