cancel
Showing results for 
Search instead for 
Did you mean: 

file rfc file

Former Member
0 Kudos

Hi

I am doing a scneario file rfc file using bpm.I am calling bapicompanygetdetails.I am able to get an output for 1 company code.But using a file content conversion i want to send different company codes at a time & get the response for all codes at time.I have chnaged the structured for bapi to 0 to unbounded.I am getting an error.

xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZBAPI_COMPANY_GETDETAIL.Exception</SAP:ApplicationFaultMessage>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Any help would be highly appreciated.

Thanks

Sri

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

for me this problem occurred after a transport and was solved by following Moorthys tip number 2): test the RFC independently in R/3 with SE37.

This resulted in a shortdump which revealed that a referenced table in the source code was missing.

Thanks 🐵

Regards

Christian

moorthy
Active Contributor
0 Kudos

Hi,

1) check out the Req Mapping and Response mapping are correct. Test this in the Test tab in the integration repository. for this use messages from SXMB_MONI.

2) probably the error may be because of new RFC structure is not reflected in the repository.. Re-Import the RFC into Integration Repository and activate everything. also test the RFC independently in R/3 with SE37 so that you can get to know the RFC is right as you expected.

3) Reconfigure or re-activate the Receiver Agreements where u use RFC adapters.

4) Refresh the SLD Cache ( IntegratioN Directory>Environment>SLD Cache Refresh)

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

Hi-

Check whether the parameters mentioned by you in FCC is coreect and also structure of your message type and your mapping

Very helpful blog.

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

Former Member
0 Kudos

Hi Sriram,

In SXMB_MONI, try opening the response XML Message from RFC. It may give you important insight into what's happening within the RFC.

Also, you can debug the RFC from XI for a single data value to see what anomalies are appearing. Please visit: for details.

Regards,

Amitabha

prabhu_s2
Active Contributor
0 Kudos

check this blog for debugging:

/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-

prabhu_s2
Active Contributor
0 Kudos

one common issue: check with the leading zeros for company code