RFC Receiver Problem

I have a scenario File -> XI -> RFC (Async), XI call a FM to create a Material in R/3, the FM has one table for languages, after mapping the structure goes as follow:
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:Z_MM_EXTRACT_DATA_TO_MDM_2 xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
  <I_CATALOGUE>FAMILY</I_CATALOGUE>
  <I_CODE>A75</I_CODE>
  <ES_RETURN />
<IT_ZMM_VALUESCT04>
<item>
  <LAISO>E</LAISO>
  <TEXT>LUBRICANT</TEXT>
  </item>
<item>
  <LAISO>S</LAISO>
  <TEXT>LUBRICANTES</TEXT>
  </item>
<item>
  <LAISO>D</LAISO>
  <TEXT>LUBRICANT_GERMAN</TEXT>
  </item>
<item>
  <LAISO>L</LAISO>
  <TEXT>LUBRICANT_POLISH</TEXT>
  </item>
  <item>
  <LAISO>F</LAISO>
  <TEXT>LUBRICANT_FRENCH</TEXT>
  </item>
  </IT_ZMM_VALUESCT04>
  </ns0:Z_MM_EXTRACT_DATA_TO_MDM_2>
the field LAISO is defined as SPRAS type in the FM, despite XI tells me everything is OK (in RWB) the FM module does not create the languages for the Material but when I execute the FM in R/3 works fine.
Someone face this problem before?
Is there a way to debug the RFC call?
Thanks in advance.

Hi Rub,
You <b>can</b> dynamically debug an RFC call.
The process is as follows:
In R/3, Goto SE37->Display your FM->Choose Menu 'Utilities'->Settings->ABAP Editor->Debugging->In users, set the user name that you are using for connecting to RFC and also tick session breakpoint active immediate. Now place an external breakpoint in the FM source code where you wish to debug.
Then drop a file with <b>a single record</b> in XI, and a debugger screen will pop-up when the RFC gets called in the R/3 system.
Hope this helps!
Regards,
Amitabha

Similar Messages

  • RFC Receiver adpater Connection problem , Help us to solve ?

    Hi  Friends ,
                          Our scenarilo is Mail to RFC. It was running fine. In RFC Receiver adapter i have given <b>Maximium connection property to 1</b> .
                      While multiple set data passed to rfc will connection problem will come ?
                     Most data not uploaded . I am getting the following error.
                     <b>   If i set max connection to 5 . It is 5 times or more than that it is pusing the data .</b>
                    i am getting the following error <b>while i set the Max   connection to 1 .</b> . <b>Any other place i need to change configuration ?</b>
                   <i><b> - Error: 2007-09-24 10:51:22 GMT-05:30: Message processed for interface YRFC_EXT_WARR: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[CC_EXTE_WAREN_2W_RFC_RECEIVER]e7fa21f86ec535e883636c0beffc0f0c is exhausted. The current pool size limit (max connections) is 1 connections.</b></i>
                            Please give the description . I have referred many likns . Help us to solve this problem .
    Regards.,
    V.Rangarajan<b></b>
    Message was edited by:
            ranga rajan

    Hi,
    Have a look at this.This will help you.
    1.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    2. https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar

  • RFC Receiver Adapter (Problem)

    Hi All,
    I have configured RFC Receiver Adapter : Here i have imported a Z FM for example
    "" Z_API_DOCUMENT_CREATE_TEST ""  having below import paramaters:
    LF_DOCNUMBER     TYPE     BAPI_DOC_DRAW-DOCUMENTNUMBER
    IV_PF_HTTP_DEST     TYPE     RFCDES-RFCDEST
    IV_PF_FTP_DEST     TYPE     RFCDES-RFCDEST
    LF_FILENAME     TYPE     BAPI_DOC_DRAW-DOCUMENTNUMBER
    1) Now i use MM to fill in two parameters : LF_DOCNUMBER , LF_FILENAME
    If my FIle is of kind : test55.pdf     --> LF_DOCNUMBER  = test55
                                                           LF_FILENAME       = test55.pdf
    For this i have checked in Sender File Adapter "Adapter Specific Message Attributes"
    So i write UDF to capture Filename and Filename with extension to fill above shown parameters.
    Now i saw target xml after mapping in CC monitor of RWB is as below
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Z_API_DOCUMENT_CREATE_TEST xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
      <IV_PF_FTP_DEST>SAPFTPA</IV_PF_FTP_DEST>
      <IV_PF_HTTP_DEST>SAPHTTPA</IV_PF_HTTP_DEST>
      <LF_DOCNUMBER>xierror</LF_DOCNUMBER>
      <LF_FILENAME>xierror.doc</LF_FILENAME>
      </ns0:Z_API_DOCUMENT_CREATE_TEST>
    But LF_FILENAME is getting populated to my Z FM at runtime but LF_DOCNUMBER works fine filling up with value.
    But when i run the FM using F8 it works , what could be the problem.
    Any advice
    regards
    Srinivas

    Hi,
    The problem is with the Data types used for LF_DOCNUMBER.
    Make this as Char or Numeric in FM and then try. If its of any packed values then conversion will create the problem
    Thanks
    Swarup

  • RFC Receiver Adapter Problem- Sending Blank XML Node

    Hi,
    I'm using the RFC receiver adapter to call a RFC in R/3 from XI 3.0
    In the payload XML one node is blank as I want to pass a blank parameter to the RFC. But in R/3 the blank node is getting converted to #
    Can anyone suggest how can I pass a blank node while calling the RFC using RFC receiver adapter in XI 3.0?
    Thanks in advance,
    Dipankar

    Hey
    Please check the outbound payload in sxmb_moni and RWB,if the field is blank there,then it means that PI is passing correct value to ECC.its possible that RFC has been coded in such a way that it converts blank spaces to #.Please look at RFC documentation in that case and see if it helps more.
    If the outbound payload itself in PI is showing as # instead of blank,then check the message mapping in PI.
    Thanx
    Aamir

  • Intermittent problems with a RFC receiver communication channel.

    Hello.
    I want to know how to get the total channel history for a RFC receiver communication channel (in RWB only last 5 calls are available).
    We use this communication channel in a java mapping to run a RFC of the abap engine of XI. Sometimes the rfc doesn't work and mapping throws a mapping transformation exception. Then, without a modification, we reprocess the message in SXMB_MONI and it is processed without errors. We think that it could be caused by a huge message volume.
    How can I get the maximum number of rfc calls that the rfc communication channel can admit simultaneously. Which parameters have influence in these calls?
    Thank you very much.
    Alberto.

    1. Increase the maximum connections
    from help.sap.com
    Additional Parameters
    Parameter ~~~~ Entry
    Maximum Connections ~~ Maximum possible number of initial connections required between adapter and sender system. This value is limited internally to a maximum of 50.
    2. /people/community.user/blog/2006/09/21/xi-rfcadapter-reconnect-issue

  • RFC receiver asynchronous

    Hi,  i’ve got a problem with an Asynchronous message. The operation goes from an FTP to a RFC. The file adapter converts a flat file into a XML, and the XML is sent to a Remote RFC.
    Everything is ok in XI. In the SXMB_MONI and in the RFC adapter monitor we see that the message is correctly sent to the RFC, but the RFC receive nothing.
    We have written a short routine in the RFC that just insert an ‘X’ in a testing table, but nothing happen.
    Thanks.

    Hi Eduardo,
    look as well to XI: SM58 and R/3: ST22 to find out the reason.
    Regards,
    Udo

  • RFC receiver config withload balancing ?

    Hi Guys,
    I have configured the RFC receiver with load balancing. I have given the sap receiver system details and the name of the message server as sapms+SID.
    I am getting the following error in PI, which says message server is unknown and i tested in the receiver system and the message server with this name exists.
    what could be the problem,  any helkp would be appreciated
    Thanks,
    srini

    Hi Srini,
    I dont have access to system now.
    <i>You dont need to create the logon group.</i>
    For logon group ask your BASIS team. Alternatively if you have access to SLD then go to technical system details for the SAP system.
    You will find all the logon groups mentioned there.
    If you dont see there, then check in the SAP logon pad. Check detail entry for the SAP system. You will find the logon group mentioned there.
    For paramter details see SAP help for RFC adapter.
    Regards,
    Sumit<a href="http://help.sap.com/saphelp_nw70/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm">RFC Receiver Adapter</a>

  • Rfc sender problem(sap r/3 -se37) 'alternativeServiceIdentifier: party/serv

    Rfc sender problem: While executing the rfc in sap r/3 system
    It is showing abap run time errors are
    'alternativeServiceIdentifier: party/service from channel
    configuration are not       
    (i have taken hint from this weblog /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step)
    These are the configuration at sap xi and sap r/3 system
    1) SAP XI (ID)
    I have created rfc sender commuication channel in I.D.
          Rfc server Parameters->
                A.S.(Gateway)-> server    {sap r/3 server name}
                A.S.S.(Gateway) -> sapgw00 
                program id         -> PDPT
         AND RFC Metadata repository parameter
    2)SAP R/3 (SM59)
        Rfc destination ->  PPPP
        Connection type -> T
        Technical Settings->
             (*)  Registered Server Program
          Program ID  ->    PDPT
    Gate way options
          Gateway host -> server
          gateway service -> sapgw00
    Testconnection-> connected
    3) testing rfc at sap r/3(se37)
    But when i am executing a rfc in sap system
    Rfc target system -> PPPP
    and some import parameters
    and it is showing the error message as
    'alternativeServiceIdentifier: party/service from channel
    configuration are not  '
    4)SAP R/3( SMGW)
    CONNECTION TO CLIENT FOR PDPT(TP NAME) REGISTER STATUS IS WAITING
    Please help me how to solve this problem

    Hi,
    SAP Note 730870 FAQ: XI 3.0 RfcAdapter Q.no 15
    <i>Q 15: Whats wrong when the error message "lookup of alternativeServiceIdentifier via CPA-cache failed" shows up while sending a RFC call to the RfcAdapter?
    A: A RFC sender channel is located beneath a service within the Integration Directory. Within this service choose "Service" -> "Adapter-Specific Identifiers". The values in the fields "R/3 System ID" and "Client" has to be maintained with the correct values of the system, that sends the RFC call to the RfcAdapter. It normaly only makes sense to have these values filled for services of type "Business System". If maintained in SLD, this fields will be filled automaticaly for services of type "Business System" and can be updated with the button "Compare with System Landscape Directory".</i>
    - Give correct appserver and gateway service details in XI.
    - Open the service holding the RFC adapter you are trying to use. On the top menu, goto Service -> Adapter Specific Identifiers..
    Regards,
    Prateek

  • RFC Receiver Adapter and RFC Destination -- Help

    Hi,
    I would like to configure the RFC Receiver Adapter for the invokation of a RFC on SAP System (Name: ALPHA) using a RFC destination provided by another system named BETA.
    I have set External Server as server type.
    My first question is: I have to quote an application server gateway and a gateway service. Is this information related to a service on ALPHA or BETA?
    My second question is:
    It is also necessary to provide a Programm-ID. The destination on BETA is a R/3 connection and doesn't have a programm id. Where do I get this from?
    And my last question is:
    Is at all possible to use the RFC destination on BETA?
    Any help is really appreciated...
    Kind regards,
    Heiko

    Hi Heiko,
    I don't fully understand your need but:)
    since both of your systems are SAP systems
    why are you trying to use external server?
    can't you just call RFC on BETA
    and inside this RFC on beta call RFC on ALPHA?
    in a sync or async way?
    can you tell a little more about your requirement ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Java.lang.NullPointerException in RFC Receiver Adapter

    Hi Experts,
    i have configured SQL Sender Adapter and this works fine, i can see the payload. and at the receiver adapter i have configured RFC Receiver Adapter this is throwing NullPointerException as mentioned below.. can someone help me out to fix this issue..
    Error Description:
    Error     Exception caught by adapter framework: null
    Success     MP: Processing local module localejbs/AF_Modules/RequestResponseBean
    Error     MP: Exception caught with cause java.lang.NullPointerException
    Error     Delivery of the message to the application using connection   
                    RFC_http://sap.com/xi/XI/System failed, due to:
                    com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.NullPointerException.
    Success     The message status set to WAIT.
    Thanks,
    Srikanth

    Hi Srikanth,
    This error Occurs because of incomplete configuration in the reciever communication channel.Please check all the required configurations in the reciever communication channel and then activate the channel.
    Regards,
    Naveen

  • Dynamic Logon Data in RFC receiver adapter?

    Does someone know if and how the logon data (userid) defined in the communication channel for a RFC receiver adapter can be dynamic overwritten? For example using  information from the payload?
    Scenario: A request for getting HR data is send from a legacy system to XI, mapped to a RFC and routed to R3.
    The audit people want to see a real user login into the R3 system to execute the function module and not the technical user defined in the communication channel.

    That's exactly what principal propagation is.
    You just have to make some (quite a lot, actually) configurations to enable it.
    Check these links:
    Online documentation: http://help.sap.com/saphelp_nw70/helpdata/en/45/0f16bef65c7249e10000000a155369/frameset.htm
    Weblog: /people/alexander.bundschuh/blog/2007/01/16/principal-propagation-in-sap-xi
    Regards,
    Henrique.

  • How to configure RFC receiver adapter

    HI,
    I have a Proxy-to-RFC scenario. But I have no knowledge in RFC receiver adapter. Could you please provide me the step-by-step guideline or sample about how to configure RFC receiver adapter.
    Thanks in advance.
    Best regards, Johnney.

    Hi,
    Refer these links which will help you understand the concept and configure the Scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    The specified item was not found.
    Refer this blog for synchronous scenario
    RFC Scenario using BPM --Starter Kit
    Sender RFC Adapter:
    The specified item was not found.
    Troubleshooting - RFC and SOAP scenarios *** Updated on 20/04/2009 ***
    RFC -> file scenario: application stopped
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rfctofile&cat=sdn_all
    RFC to file
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Send RFC to SAP XI – Asynchronous
    The specified item was not found.
    ABAP Proxies in XI(Client Proxy)
    Regards,
    Nithiyanandam

  • RFC Receiver adapter issue. Pls advice

    Hi All,
    When XI is sending data back to R/3 system though RFC Receiver Adapter  I am getting the below error. Any suggestions
    Error Category   XI_J2EE_ADAPTER_RFC
    Error Code  RECEIVER_GENERAL_ERROR
    Pls advice.

    Rick, your question is very unspecific, so anyone trying to help can only guess very roughly.
    So I only have a very rough hint for you, which is the FAQ for RFC adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373330383730%7d

  • RFC Receiver Adapter Issue

    Hi all,
          I'm sending a sales order from my ftp server to my R/3 system through RFC. I want this sales order to be created in the R/3 system, For this i'm using BAPI_SALESORDER_CREATEFROMDAT2. Now when i'm configuring my RFC Receiver adapter using the help given on the help.sap.com under "adapters"->"rfc adapter"-> "configuring the rfc adapter", i'm not able to find the parameters mentioned under " Advanced Mode" Heading. In this page, it says that after checking the Advanced mode checkbox, one should get the additional parameters and then we need to set the indicater for the parameter "Commit Control for Individual BAPI Calls". Since i'm not able to find these parameters even after checking the chekbox, i'm stuck. I understand that if i don't get this parameter, my BAPI will not commint and hence the sales order will not be created in R/3.
    Kindly suggest.
    Regards.
    Naveen

    Hi Naveen -
    >>><i>In this page, it says that after checking the Advanced mode checkbox, one should get the additional parameters and then we need to set the indicater for the parameter "Commit Control for Individual BAPI Calls". Since i'm not able to find these parameters even after checking the chekbox, i'm stuck.</i>
    For this I agree with Sameer.  It's probably an adapter metadata issue.  As mentioned your XI system needs to be at least on SP14.  Also, in the Int. Repository, check SAP BASIS 6.40 SWC SP Level by right clicking on the SAP BASIS 6.40 SWCV, then Display Support Package - this is where the adapter metatdata is delivered.  By default, the highest one displayed is wha'ts current on the system.  You should see at least SP14 here.  Incidentally, this does not confirm the SP level that the rest of the XI components are on, just this SWC.
    >>><i>When i checked in the integration engine, transaction sxmb_moni, i found that the message was processed successfully ! But when i checked in my R/3 system, i didn't find any sales order ! Kindly give me some inputs for this issue.</i>
    It probably failed in the adapter engine.  Check the adapter engine monitor via the RWB - so once in RWB, goto Message Monitoring, select Adapter Engine (important), then look for your message.
    Regards,
    Jin
    Message was edited by: Jin Shin

  • RFC receiver channel, message not reflecting in Receiver ECC system

    Hi All,
    We are using Receiver RFC adapter to call a custom RFC (ASynchronous call). It was working fine, But now after we made a few changes in the mapping. The message is successful in PI, but it is not visible in ECC. When I check in RWB, I think the payload is not going correctly to ECC.  I have re-imported the RFC and tried as well. It still does not work.
    Kindlhy let me know what to do.
    Rgds,
    Mithun

    Hi Rajhan,
    My abaper is doing that,  By that time, i just saw the payload in the message display tool(MDT) in RWB...
    it looks like some junk data
    "QT00010101000120120119201201202012012020121231USD38130511T-F399000110000010001585030512T-F299000110000010001210SP0000001002"
    where as in sxmb_moni of PI system the payload after mapping is
    "<?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:BAPI_QUOTATION_CREATEFROMDATA2 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
    - <QUOTATION_HEADER_IN>
      <DOC_TYPE>QT</DOC_TYPE>
      <SALES_ORG>0001</SALES_ORG>
      <DISTR_CHAN>01</DISTR_CHAN>
      <DIVISION>01</DIVISION>
      <PMNTTRMS>0001</PMNTTRMS>
      <QT_VALID_F>20120119</QT_VALID_F>
      <QT_VALID_T>20120120</QT_VALID_T>
      <CT_VALID_F>20120120</CT_VALID_F>
      <CT_VALID_T>20121231</CT_VALID_T>
      <CURRENCY>USD</CURRENCY>
      </QUOTATION_HEADER_IN>
      <SALESDOCUMENTIN>381</SALESDOCUMENTIN>
    - <QUOTATION_ITEMS_IN>
    - <item>
      <ITM_NUMBER>30511</ITM_NUMBER>
      <MATERIAL>T-F399</MATERIAL>
      <PLANT>0001</PLANT>
      <TARGET_QTY>100</TARGET_QTY>
      <SHORT_TEXT />
      <MATL_GROUP />
      <CUST_GROUP />
      <PMNTTRMS>0001</PMNTTRMS>
      <PRICE_DATE />
      <SHIP_POINT>0001</SHIP_POINT>
      <TARGET_VAL>5850</TARGET_VAL>
      </item>
    - <item>
      <ITM_NUMBER>30512</ITM_NUMBER>
      <MATERIAL>T-F299</MATERIAL>
      <PLANT>0001</PLANT>
      <TARGET_QTY>100</TARGET_QTY>
      <SHORT_TEXT />
      <MATL_GROUP />
      <CUST_GROUP />
      <PMNTTRMS>0001</PMNTTRMS>
      <PRICE_DATE />
      <SHIP_POINT>0001</SHIP_POINT>
      <TARGET_VAL>210</TARGET_VAL>
      </item>
      </QUOTATION_ITEMS_IN>
    - <QUOTATION_PARTNERS>
    - <item>
      <PARTN_ROLE>SP</PARTN_ROLE>
      <PARTN_NUMB>0000001002</PARTN_NUMB>
      <NAME />
      <REGION />
      </item>
      </QUOTATION_PARTNERS>
      </ns1:BAPI_QUOTATION_CREATEFROMDATA2>"
    ANY SUGGESTIONS... This is PI 7.1 so its auto commit for the RFC receiver adapter rite. should i tick some option or what else can we do
    Rgds,
    Mithun

Maybe you are looking for

  • How to Delete a Column in Internal Table

    Hi All, Does any one know ,How to Delete a Column in Internal Table?

  • Some issues in test db

    Hello experts os: sun solaris db: 10 g R2 I found some problems in my test database I have tried to 1) create 1 tablespace with size 1 gb of datafile with autoextend clause... the query went into halt to very long time , so i have cancel the statemen

  • May I use Apple's emojis in my website, or would that be comitting copyright infringements?

    May I use Apple's emojis in my website, or would that be comitting copyright infringements?

  • JOIN TWO TABLES

    I wounder if someone could help I am trying to join two tables: parent table META_OBJECTS has 4 cols:OBJECTKEY(pk),OBJECTTYPEID(fk),OBJECTNAME, OBJECTDESC and child table meta_objectdependencies with 3 cols:SRCOBJECTKEY(fk), TGTOBJECTKEY(fk),DEPENDEN

  • Scroller wont work!?!?! *Blackberry curve 9320*

    I dropped my phone into the toilet and i got it out, dried it and got it working again, it is all working apart from the scroller, it can click but it doesnt let me sroll left, right, up or down! HELP?!?!?