Skip to Content
avatar image
Former Member

file rfc file

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    May 05, 2007 at 07:25 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 04, 2007 at 07:55 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • May 04, 2007 at 07:58 PM

    check this blog for debugging:

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2007 at 07:05 AM

    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: rfc-receiver-problem for details.

    Regards,

    Amitabha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 05, 2007 at 06:27 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2009 at 01:57 PM

    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 :o)

    Regards

    Christian

    Add comment
    10|10000 characters needed characters exceeded