cancel
Showing results for 
Search instead for 
Did you mean: 

rfc return values that do not match input parameters

former_member192851
Active Participant
0 Kudos

Hi, all.

We have File-RFC-File scenario in PI7.1

Here we have OM with request-response mappings, RFC, where we have request-response structures... Standart.

We have RFC channel and Receiver Agreement...

But when we start it.. We can send any request - RFC return the same response. And we found that this response is the same response, that we have when test Functional Module in SE37. When we change input parameters in SE37 we have another response - response when we run it from XI with another request!.

Why RFC doesn't react on input parameters?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192851
Active Participant
0 Kudos

Maybe problem in Functional Module. It doesn't call transaction, but return results.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

But when we start it.. We can send any request - RFC return the same response. And we found that this response is the same response, that we have when test Functional Module in SE37. When we change input parameters in SE37 we have another response - response when we run it from XI with another request!.

Probably RFC metadata issue, have you tried starting/stopping the RFC receiver communication channel in RWB and then try to execute the request again?

Hope this helps,

Mark

former_member192851
Active Participant
0 Kudos

No, it doesn't help.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Is your RFC receiver pointing to the correct system?

Regards,

Mark

former_member192851
Active Participant
0 Kudos

Is your RFC receiver pointing to the correct system?

Yes, it's fine. RFC works and return request from tables that defined in output parameters of Functional Module. But values of these output parameters correspond not for request parameters of RFC, but for parameters that we set in SE37.

Maybe it is ABAP issue, i don't know.. Maybe problem in Functional Module.

Request:


  <?xml version="1.0" encoding="UTF-8" ?> 
<ns1:ZO_FM_GTM xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
  <PA_BEGDA>20120201</PA_BEGDA> 
  <PA_ENDDA>20120129</PA_ENDDA> 
  <PA_VIEW>1</PA_VIEW> 
<PA_WERKS>
  <WERKS>0010</WERKS> 
  </PA_WERKS>
  <RB_STATUS>1</RB_STATUS> 
  <REPORT_XLS>1</REPORT_XLS> 
  <RP_BEGDA>20120201</RP_BEGDA> 
  <RP_ENDDA>20120207</RP_ENDDA> 
  <ZOT_PM100049_REPORT /> 
  </ns1:ZO_FM_GTM>

response:


  <?xml version="1.0" encoding="UTF-8" ?> 
<ns1:MT_Response_Report xmlns:ns1="http:/Reports_GTM_49">
<PM_HEADER>
  <STARTDATE>2011-01-01</STARTDATE>
  <ENDDATE>2011-01-15</ENDDATE>
  <REPTYPE>2</REPTYPE>
  <PA_JOBT1 /> 
  <PA_NAME1 /> 
......

<STARTDATE>2011-01-01</STARTDATE>

<ENDDATE>2011-01-15</ENDDATE>

<REPTYPE>2</REPTYPE>

Edited by: ChizzT on Feb 7, 2012 11:11 AM

Edited by: ChizzT on Feb 7, 2012 11:16 AM