cancel
Showing results for 
Search instead for 
Did you mean: 

RFC call not return values

former_member401472
Participant
0 Kudos

Hi All, I have simple program Application in javawebdynpro. which calls RFC passing value one value get an other other value.Which is not getting back. example. if I pass 'X' i want get back 'Y'. Excuted RFC and it didn't return value. I testing RFC it is working good. Please advice i missed binding for return attribute to display. Please see an attached file.  Code:  Below in Component controller-  public void wdDoInit()  {    //@@begin wdDoInit()    Ztest_Ssn_Mask_Input input = new Ztest_Ssn_Mask_Input(); wdContext.nodeZtest_Ssn_Mask_Input().bind(input); input.setI_Bname("123456"); } 2. Method. public void executeModeltest( )  { try { wdContext.currentZtest_Ssn_Mask_InputElement().modelObject().execute();        wdComponentAPI.getMessageManager().reportSuccess("Test messgae");        - This message is getting      String test1 = wdContext.currentZtest_Ssn_Mask_OutputElement().getZ_Ssn();        wdComponentAPI.getMessageManager().reportSuccess("Test messgae"+ test1);  - Thi smessage is not getting  wdContext.nodeOutput().invalidate(); } catch (Exception ex) { //  If an exception is thrown, then the stack trace will be printed ex.printStackTrace(); }    ------- In View public void onActiontest(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )  {    //@@begin onActiontest(ServerEvent)        wdContext.currentContextElement().setSsn(wdContext.currentContextElement().getSsn());    //WdContext.currentContextElement().setSsn(wdContext.currentContextElement().getSsn());        //@@end  }

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member191044
Active Contributor
0 Kudos

Is the response empty direct after execution? I see that you invalidate the output node which will pretty much kill all of your results. Have you tryed debuggin in ABAP if the call reaches the back end?

Regards,

Tobias