RFC Sender Asynchronous -- File Problem

Hi all,
I want to sent an asynchronous RFC to a file but when I execute my scenario in R3 it always returns a dump. In the XI monitoring I get the response error from the file: "Unable to read the payload from the message object".
I think its strange because I even don't want the file adapter to send a response but he does. I suspect that the problem is on R3 side because it sends a synchronous RFC call, but I don't have any idea how to send an Asynchronous RFC call to XI (via the RFC adapter).
Steps I made:
- Created on R3 a TCP/IP entry as registered server program
- Created in XI an RFC adapter with registered server program name
- rest of the configuration...
I think my main problem is that R3 expects an answer back because it throws a synchronous call to XI, but I don't have any clue how to set up an asynchronouss RFC call in R3 to XI (so my ABAP program doesn't dump).
TIA

Hi Peter,
first, if you didn't already have done that, load up a RFC function module to XI Repository, where you have only the XSD, no abap source code.
In a ABAP program code:
CALL FUNCTION 'MyFunction'
DESTIONATION 'mySM59Destination'
IN BACKGROUND TASK
...  "the normal call
COMMIT WORK.  
Regards,
Udo

Similar Messages

  • Rfc sender - text file

    I have a interface using rfc sender. When it's executed, a file is created.
    When the format is a XML, the file is created, but, when I use "File Content Conversion" in "File Adatper" to convert the data in text format, the file is not created.
    The structure of my RFC is:
    Y_SD_XI_EDI_NOTFIS  - RFC
      DATA             - Table
        TEXT            - Field
    The configuration in "File Content Conversion" is:
    Recordset Structure:       DATA,* (I already write this using "DATA")
    DATA.fileNames:            TEXT
    DATA.processConfiguration: fromConfiguration
    DATA.endSeparator:         'nl'
    What is the problem?

    Hi,
    I changed the RFC. Now, there is only DATA table and a Import Parameter.
    I'm still with same problem.
    I see that when I run the process don't using the  Content Conversion, all the logs in RWB is "Successful", but, when I run using "Content Conversion", one log was "Waiting" (aways were generated three logs).
    The log detail for process using "Content Conversion" is equal to process that dont use "Content Conversion".
    The detail is:
    code]2006-01-19 19:31:08 Success The message was successfully received by the messaging system. Profile: XI URL: http://sapccnwd:51300/MessagingSystem/receive/AFW/XI
    2006-01-19 19:31:08 Success Using connection AFW. Trying to put the message into the receive queue.
    2006-01-19 19:31:08 Success Message successfully put into the queue.
    2006-01-19 19:31:08 Success The message was successfully retrieved from the receive queue.
    2006-01-19 19:31:08 Success The message status set to DLNG.
    2006-01-19 19:31:08 Success Delivering to channel: FileReceiverNotfis
    2006-01-19 19:31:08 Success File adapter receiver: processing started; QoS required: ExactlyOnce
    2006-01-19 19:31:08 Success File adapter receiver channel FileReceiverNotfis: start processing: party " ", service "SPASA_EDI"
    2006-01-19 19:31:08 Success Connect to FTP server "ftp.discovirtual.terra.com.br", directory "/"
    2006-01-19 19:31:08 Success Write to FTP server "ftp.discovirtual.terra.com.br", directory "/", -> file "notfis20060119-193108-773.txt"[/code]
    See all my configuration, design, XML's and others:
    +++ Design +++
    Message Interfaces
    [NotaFiscalAbstractAsync]
    [NotaFiscalAbstractSync]
    Integration Process
    [NotaFiscalIP]
    - Receiver1 -> Sender1 -> Sender2
    - Container
      Name               Type
      AbstractMessage     NotaFiscalAbstractAsync
    - Receiver1                
      Mode:                 Open S/A bridge
      Synchronous Interface:  NotaFiscalAbstractSync
      Message:            AbstractMessage
    - Sender1
      Mode:                 Asynchronous
      Message:             NotaFiscalAbstractAsync
    - Sender2
      Mode:                 Close S/A bridge
      Message:             NotaFiscalAbstractSync
    +++ Configuration +++
    Business Service: SPASA_EDI
    Receiver Determination
    - SPASA_EDI | Y_SD_XI_EDI_NOTFIS
      Service: NotaFiscalIP - Receiver:  NotaFiscalAbstractAsync
    - NotaFiscalIP | NotaFiscalAbstractAsync
      Service: SPASA_EDI - Receiver:  NotaFiscalAbstractAsync
    Sender Agreement
    -SPASA_EDI | Y_SD_XI_EDI_NOTFIS
    +++ RFC +++
    Import
      Sender
    Tables
      DATA ( TEXT CHAR(300) )
    +++ XML Sender +++
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Y_SD_XI_EDI_NOTFIS xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <SENDER></SENDER>
    - <DATA>
    - <item>
      <TEXT>000ALPARGATAS-MOGI 0 1101061442NOT110106785</TEXT>
      </item>
    - <item>
      <TEXT>310NOTFI110114420</TEXT>
      </item>
    - <item>
      <TEXT>31161079117010402456010307119 AV.JOAO PINTO,100 MOGI MIRIM 13803360 SP 11012006SÃO PAUL</TEXT>
      </item>
    - <item>
      <TEXT>312N G VESTUARIO LTDA ME 037901650001009020973096 AV. SAO PAULO,458 - LJ ** AVENIDA CENTERCENTRO MARINGA</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154546PR-INT 120C. 0025755011012006CONFECÇOES CAIXA 0000100000000000008576000009200455NN000000000000000000000000000</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154546PR-INT 120C. 0025755111012006CONFECÇOES CAIXA 0000100000000000012304000011200455NN000000000000000000000000001</TEXT>
      </item>
    - <item>
      <TEXT>312ULYSSES FERREIRA BARBOSA E CIA LTDA 755136140001768220257143 R MIN OLIVEIRA SALAZAR, 4858 ** ** CENTRO UMUARAMA</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154547PR-INT 120C. 0025755211012006CONFECÇOES CAIXA 0000100000000000018192000014500300NN000000000000000000000000000</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154547PR-INT 120C. 0025755311012006CONFECÇOES CAIXA 0000100000000000024487000016500300NN000000000000000000000000001</TEXT>
      </item>
    - <item>
      <TEXT>312MOURIZE ZANANDRA SCHIMDT DE S.FREIRE ELL055724850001019027647046 RUA HAROLDO HAMILTON, 478 - SALA 6 ** **CENTRO TOLEDO</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154548PR-INT 120C. 0025755411012006CONFECÇOES CAIXA 0000100000000000028314000019800242NN000000000000000000000000001</TEXT>
      </item>
    - <item>
      <TEXT>312L GASPAR PROENCA E MG PROENCA LTDA 01109275000120251311376 AV. PARANA, 224 ** ** CENTRO IVAIPORA</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154549PR-INT 120C. 0025755511012006CONFECÇOES CAIXA 0000100000000000009780000009200437NN000000000000000000000000000</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154549PR-INT 120C. 0025755611012006CONFECÇOES CAIXA 0000100000000000016673000012000437NN000000000000000000000000001</TEXT>
      </item>
    - <item>
      <TEXT>312LZK MATERIAIS ESPORTIVOS LTDA - ME 07639256000192255067003 RUA 23 DE JULHO, 291 - SALA 2 ** ** CENTRO POUSO RED</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154550SC-INT 120C. 0025755711012006CONFECÇOES CAIXA 0000100000000000013140000011800306NN000000000000000000000000000</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154550SC-INT 120C. 0025755811012006CONFECÇOES CAIXA 0000100000000000026964000018500306NN000000000000000000000000001</TEXT>
      </item>
    - <item>
      <TEXT>312FUTEBOL MANIA COM LTDA 00845448000106253191831 RUA TENENTE SILVEIRA 141 ** ** CENTRO FLORIANOP</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154575SC-CAP 120C. 0025754811012006CONFECÇOES CAIXA 0000700000000000106188000180600312NN000000000000000000000000002</TEXT>
      </item>
    - <item>
      <TEXT>312ULISSES ALCANTARA 814284010001493010273110 R CARLOS CAVALCANTI 99 ** CENTRO UNIAO DA</TEXT>
      </item>
    - <item>
      <TEXT>313063023223154576PR-INT 120C. 0025754911012006CONFECÇOES CAIXA 0000300000000000030854000097800248NN000000000000000000000000001</TEXT>
      </item>
    - <item>
      <TEXT>318000000000295472000000000004013000000000003798000000000001900000000000014037000000000000000</TEXT>
      </item>
      </DATA>
      </rfc:Y_SD_XI_EDI_NOTFIS>
    +++ XML File/Response (didn't using "Content Conversion") +++
    <?xml version="1.0" encoding="UTF-8"?><rfc:Y_SD_XI_EDI_NOTFIS xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><SENDER></SENDER><DATA><item><TEXT>000ALPARGATAS-MOGI                    0                                  1101061442NOT110106785</TEXT></item><item><TEXT>310NOTFI110114420</TEXT></item><item><TEXT>31161079117010402456010307119   AV.JOAO PINTO,100                       MOGI MIRIM                         13803360 SP       11012006SÃO PAUL</TEXT></item><item><TEXT>312N G VESTUARIO LTDA ME                   037901650001009020973096     AV. SAO PAULO,458 - LJ ** AVENIDA CENTERCENTRO              MARINGA</TEXT></item><item><TEXT>313063023223154546PR-INT 120C.  0025755011012006CONFECÇOES     CAIXA          0000100000000000008576000009200455NN000000000000000000000000000</TEXT></item><item><TEXT>313063023223154546PR-INT 120C.  0025755111012006CONFECÇOES     CAIXA          0000100000000000012304000011200455NN000000000000000000000000001</TEXT></item><item><TEXT>312ULYSSES FERREIRA BARBOSA E CIA LTDA     755136140001768220257143     R MIN OLIVEIRA SALAZAR, 4858 ** **      CENTRO              UMUARAMA</TEXT></item><item><TEXT>313063023223154547PR-INT 120C.  0025755211012006CONFECÇOES     CAIXA          0000100000000000018192000014500300NN000000000000000000000000000</TEXT></item><item><TEXT>313063023223154547PR-INT 120C.  0025755311012006CONFECÇOES     CAIXA          0000100000000000024487000016500300NN000000000000000000000000001</TEXT></item><item><TEXT>312MOURIZE ZANANDRA SCHIMDT DE S.FREIRE ELL055724850001019027647046     RUA HAROLDO HAMILTON, 478 - SALA 6 ** **CENTRO              TOLEDO</TEXT></item><item><TEXT>313063023223154548PR-INT 120C.  0025755411012006CONFECÇOES     CAIXA          0000100000000000028314000019800242NN000000000000000000000000001</TEXT></item><item><TEXT>312L GASPAR PROENCA E MG PROENCA LTDA      01109275000120251311376      AV. PARANA, 224 ** **                   CENTRO              IVAIPORA</TEXT></item><item><TEXT>313063023223154549PR-INT 120C.  0025755511012006CONFECÇOES     CAIXA          0000100000000000009780000009200437NN000000000000000000000000000</TEXT></item><item><TEXT>313063023223154549PR-INT 120C.  0025755611012006CONFECÇOES     CAIXA          0000100000000000016673000012000437NN000000000000000000000000001</TEXT></item><item><TEXT>312LZK MATERIAIS ESPORTIVOS LTDA - ME      07639256000192255067003      RUA 23 DE JULHO, 291 - SALA 2 ** **     CENTRO              POUSO RED</TEXT></item><item><TEXT>313063023223154550SC-INT 120C.  0025755711012006CONFECÇOES     CAIXA          0000100000000000013140000011800306NN000000000000000000000000000</TEXT></item><item><TEXT>313063023223154550SC-INT 120C.  0025755811012006CONFECÇOES     CAIXA          0000100000000000026964000018500306NN000000000000000000000000001</TEXT></item><item><TEXT>312FUTEBOL MANIA COM LTDA                  00845448000106253191831      RUA TENENTE SILVEIRA  141 ** **         CENTRO              FLORIANOP</TEXT></item><item><TEXT>313063023223154575SC-CAP 120C.  0025754811012006CONFECÇOES     CAIXA          0000700000000000106188000180600312NN000000000000000000000000002</TEXT></item><item><TEXT>312ULISSES ALCANTARA                       814284010001493010273110     R CARLOS CAVALCANTI 99 **               CENTRO              UNIAO DA</TEXT></item><item><TEXT>313063023223154576PR-INT 120C.  0025754911012006CONFECÇOES     CAIXA          0000300000000000030854000097800248NN000000000000000000000000001</TEXT></item><item><TEXT>318000000000295472000000000004013000000000003798000000000001900000000000014037000000000000000</TEXT></item></DATA></rfc:Y_SD_XI_EDI_NOTFIS>
    +++ Log Using Content Conversion
      Successful 19.01.2006 19:33:36 19.01.2006 19:33:36   EnviarNotaFiscal   SPASA_EDI urn:sap-com:document:sap:rfc:functions
    Y_SD_XI_EDI_NOTFIS
       Successful 19.01.2006 19:33:27 19.01.2006 19:33:27   EnviarNotaFiscal   SPASA_EDI urn:spasa_edi.notfis
    NotaFiscalAbstractAsync
       Successful 19.01.2006 19:33:18 19.01.2006 19:33:36   SPASA_EDI     urn:sap-com:document:sap:rfc:functions
    Y_SD_XI_EDI_NOTFIS
    +++ Log when I didn't Use "Content Conversion"
       Successful 19.01.2006 19:31:16 19.01.2006 19:31:16   EnviarNotaFiscal   SPASA_EDI urn:sap-com:document:sap:rfc:functions
    Y_SD_XI_EDI_NOTFIS
       <b>Waiting</b> 19.01.2006 19:31:08 19.01.2006 19:31:08   EnviarNotaFiscal   SPASA_EDI urn:spasa_edi.notfis
    NotaFiscalAbstractAsync
       Successful 19.01.2006 19:31:06 19.01.2006 19:31:16   SPASA_EDI     urn:sap-com:document:sap:rfc:functions
    Y_SD_XI_EDI_NOTFIS

  • Asynch RFC Sender to File Receiver Szenario (table content)

    Hi,
    I have the following szenario: RFC(R/3) => XI => File
    At the moment I implemented the following:
    1. Z-Report in R/3 calls a function module:
         CALL FUNCTION 'Z_RFC_TO_XML'
            IN BACKGROUND TASK
            DESTINATION xi_dest
            EXPORTING
              it_table = it_table.
          COMMIT WORK.
    2. The RFC Sender Adapter on XI takes the RFC data and convert it to RFC-XML
    3. There is a message mapping from RFC-XML to XML-Structure
    4. The File Receiver Adapter write the XML document to the file system
    The scenario is working without error and the file is created. But on R/3 side the it_table is filled with 20 rows before the function module Z_RFC_TO_XML is called. But on xi side I only receive one row (the header line).
    Is it possible to transmit the whole table content to xi and not only one row? And if yes, how can I do this?
    Thanks,
    manuku

    Hi Tobias,
    Currently am doing this scenarioa RFC to file
    CALL FUNCTION 'Z_RFC_TO_XML'
    >         IN BACKGROUND TASK
    >         DESTINATION xi_dest
    >         EXPORTING
                p_werks = 'Plant no'
               TABLES
    >           it_table = it_table.
    >       COMMIT WORK.
    But here am using Exporting and Tables parameter.. When i debug this FM, the debugger is not going to the FM.
    Can you help me in solving this issue....
    Thanks and Regards,
    Vijay vikram

  • How to send data to RFC Destination(RFC SENDER Adapter)

    Hi ,
    Scenario:  R/3 Backendà RFC Sender Adapterà XIàsome other system.
    I have configured the RFC destination (of the type TCP/IP) at R/3 System and have registered the Program ID (specified in the RFC destination) in the XI server and using it in the configuration parameters of the RFC Sender Adapter.
    Problem: I do not know how I can send data to the RFC destination. (Should I use a report program/ ABAP Function Module?) Can anybody provide me with a sample code of Report Program/Function module (whichever is required), how to send data to the RFC Destination, so that it may be picked up by my RFC Sender Adapter.
    Thanks and Regards,
    Siva Maranani

    I have one query for you that
    I am trying to develop a scenario in SAP XI
    SAP R/3 ( RFC function module) sends a synchronous request to the XI and SAP XI will send this request to a third party web application using HTTP receiver adapter.
    I am able to send the data/message and it is successfully received at the third party web application.
    But I am facing one issue that I am unable to receive any message/data in my RFC module back.i have seen in sxmb_moni that the two messages are displayed in successfuly processed but in SAP R/3 side nothing get happedned
    Can you tell me how to use some waiting mechanism in function module to wait for the response from SAP XI.
    Regards
    Gopesh

  • RFC 2 File Error in RFC sender: java.lang.ArrayIndexOutOfBoundsException

    Hello,
    I'm sending data asynchronously from R3 to a file through XI, I've got the RFC destination (in R3) and sender RFC channel (in XI) configured and tested. Working fine.
    Then in my report I've got the following code that sends 1 string and 4 internal tables 2 to XI:
      CALL FUNCTION 'Z_RFC_ENVIAR_DATOS_PSP'
        IN BACKGROUND TASK DESTINATION 'SAP_2_XI'
        EXPORTING
          RUTA                       = p_ruta
        TABLES
          IT_DEMANDA           = p_gt_demanda
          IT_STOCKS              = lt_stocks
          IT_CUARENTENAS   = lt_cuarent
          IT_COMPRAS           = lt_repartos.
      COMMIT WORK.
    I've done that king of connection several times and allways worked but now I've got that error in the communication channel monitoring at RWB:
    Error in processing caused by: java.lang.ArrayIndexOutOfBoundsException
    And no message is created in XI. What can it be?
    Thanks for your help

    Hi Chen Lin,
    The problem is with the adapter but no message is generated yet in XI, so I don't have XML yet.
    The RFC sends the data to XI through the RFC destination and at this point something is wrong because that error is produced. The error is visible in both sides, In transaction SM58 at R3 I can see the error that tRFC hasn't been precessed because the ArrayIndexOutOfBoundsException.
    But if I go to communication channel monitoring I can see the same error too, so that confirms that the communication between R3 and XI works fine but something is wrong and the error don't give me more details

  • RFC Sender configuration : RFC - XI - FILE

    Hi All,
    I read the post at RFC Sender Configuration in Asynchronous Mode and I have the same problem for the configuration.
    I want to do a simple asynchronous RFC scenario ( RFC -> XI -> FILE) but I keep getting errors. Do I need to create a BPM to make it work? I'm using XI 3.0
    Thanks

    Hi,
    For RFC to File Scenario, if you will be calling the RFC from any ABAP report then the import parameters will be passed to File.
    Here you can use the Concept of Dummy RFC as below.
    Lets say RFC1 --> Original RFC
    RFC2 ---> Dummy RFC
    1. Create one Function Module (RFC 2) in which take the import parameters similar to the  RFC -1 Output parameters.
    2. Now in ABAP report call the RFC-1 and get the Output in export parameters and pass it to RFC-2 as import parameters.
    3. In XI import RFC-2 and map the import parameters to the Receiver File.
    SO your purpose to pass the Output of RFC-1 to file in async way will be resolved .
    Thanks
    Swarup

  • Problem in receiving messages via RFC Sender Adapter

    Hi,
    I have problems in receiving messages from SAP backens systems. Sometimes we are getting all messages sometimes not. Strange.
    We are transfering report-results via asynchronous RFC calls. To avoid big message sizes we split them up in max. 1000 rows blocks.
    Each RFC call on backend side is completed with COMMIT WORK!
    We increased the number of connections in the RFC sender adapter. Then it was better, but the problem still exists! Not so often, but sometimes !?!?!
    I hope everybody can help me. Thanks a lot!
    best regards,
    Hannes

    hi,
    when you don't receive messages what do you see in SM58
    on the r3?
    any errors over there?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Problems in RFC Sender adapter

    Hello
    I am having a scenario where I am sending the message through RFC sender. The message is getting posted on integration server but its giving error in SXMB_MONI.
    The error says
    "HTTP response contains status code 503 with the description Service Unavailable XML element Envelope missing in SOAP message header (SAP XI Extension)" in call adapter.
    I checked some notes mentioning about poll parameter of sap af messaging in visual admin but still the problem is same.
    Thanks in advance.
    Regards
    Rajeev

    Udo,
    I checked the file adapter but the status is green which says "No message processing till now" and also it is not listed in Message monitoring.
    Also as described in note mentioned by shekhar I tried to change the Visual Admin poll interval. also i tried that URL which gave "Messaing servlet is active"
      <?xml version="1.0" encoding="UTF-8" ?>
    - <scenario>
      <scenname>MSG_SCEN</scenname>
      <scentype>SERV</scentype>
      <sceninst>MSG_001</sceninst>
      <scenversion>001</scenversion>
    - <component>
      <compname>SERVLET</compname>
      <compdesc>Messaging System</compdesc>
      <comphost>localhost</comphost>
      <compinst>MSG_001</compinst>
    - <message>
      <messalert>OKAY</messalert>
      <messseverity>100</messseverity>
      <messarea>QR</messarea>
      <messnumber>801</messnumber>
      <messparameter>na</messparameter>
      <messtext>MessagingServlet is active.</messtext>
      </message>
      </component>
      </scenario>

  • Help on scenario: RFC Sender - File Receiver

    Hello All,
    I am stuck with a scenario where the sender is RFC and the receiver is FILE. 
    I have a simple RFC which has only two import parameters (No export parameters, no tables) and at the other end I have a file with two fields.
    I have a requirement where in I have to pass the values of the import parameters of the RFC to a file and the call would be asynchronous.
    I have mapped the request of the RFC to the file in XI and have done the necessary configuration settings for TCP/IP and tested it successfully.
    When I try executing the RFC giving the RFC destination, the execution abends with an error "call to messaging system failed: com.sap.aii.af.ra.ms.api..DeliveryException"
    Any help on this would be really appreciated.
    Thanks,
    Vijay

    Vijay,
    Since earlier you said that you are using only import parameter that's why i asked then how you are passing the values...without having any logic inside the RFC and export params ..got my point..?
    Now since you clarified that you are directly passing the values through Export Params so there is no need of any logic inside..
    now coming to ur error :
    1.Program Id is case sensitive...Plz doubly make sure that it is written in the same fashion in both place.
    Steps to check the scenario :
    a) Make sure that ur RFC Dest is working fine.
    b) Check in Visual Admin that RFC adapter is working .
    c) check sender communication channel in RWb.
    d) check RFC metatdata is correct or not..
    regards,
    Regards,

  • R/3 to PI using RFC Sender Adaptor as Asynchronous scenario

    Hello Folks,
              RFC Adp.           SOAP Adp.
    ECC-->XI--
    >ARIBA
    I am new to PI and doing a scenario mention above. we are using RFC sender adaptor to send the data to XI in asynchronous process.
    I have config the Sender comm. channel as below.
    Appl.  Server(Gateway):  My Ecc Server host name
    Appl. Server Service (Gateway) : My Ecc server
    Program Id : XYZ.
    Note : while creating the the Service interface and Message mapping and Operation mapping I am using the RFCname.respone message type is that ok in asynchronous process?
    And then I went to ECC in Tcode SM59 and created a RFC destination of type TCP/IP
    and put the same information as given above and test the connection which is working fine.
    I have created a FM at ECC end make it remote enabled. and calling the FM in back ground task using destination in a Work flow code.
    When I run the Work flow code It ran successfully but i went to XI side there is no msg in the SXMB_MONI.
    Then i went to the component monitoring->Adatptor engine>Comm. channnel Monitoring and found that under my RFC sender comm. channel there is an error msg saying
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'BS_ECC', toParty '', toService '', interface 'YFPS_MM_I_0242_PO_APPROVAL_OUT', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_0242_PO_Approval_RFC_Sender' (channelId 19585252a58335ee871e4c3a771b027f)
    Where as i have checked that in the sxi_cache t-code there is a sender agreement for my scenario under the sender agreement tab.
    Please Help me in this to resolve the above error. I am totally stuck at this point.I would really appreciate a quick answer.

    Appl. Server Service (Gateway) : My Ecc server
    Confused with this statement.....
    it should have the format sapgwXX ....
    XX is the system number which comes from the j2ee port mentioned in the XI homepage URL
    http://<hostName>:5XX00:rep/start/index.jsp
    How to configure sender RFC adapter...check this blog:
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1438
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException:
    senderAgreement not found:
    Sender Agreement is Expected in this communication which does not seem to be present in ID....create sender agreement using the RFC communication channel....
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 2, 2009 1:24 AM

  • 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

  • Problem in sending a file

    Hello..
           i have a problem in sending a file with sender file adapter...
    In adapter monitor it gives error like...
    Last message processing started 15:58:36 2005-10-04, Error: Conversion of complete file content of 'fileinput.csv' to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 3 according to structure 'substr':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
    last retry interval started 15:58:36 2005-10-04
    length 60,000 secs.
    Let me know what might be the problem.
    Thanks,
    Padma

    thanks for the reply and answering my question..
             I'm getting the error in SXMB_moni...while i'm sending the file from FTP to lagacy system.
    The error is in call adapter...at says like ....
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">NOT_AUTHORIZED_FOR_PROC</SAP:Code>
      <SAP:P1>XXXX</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>User XXXXXX has no authorization to process messages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can tell me what might be the wrong here..
    Thanks.

  • RFC Sender problem  between 46D and RFC adapter

    Hi,
    I have this simple integration scenario where I want to send data to a archiving system;
    SAP -> (tRFC) -> XI -> (MQ) -> BizTalk -> (MQ) Arch.syst.
    SAP side ***
    A Z-program using a Z func. like;
        CALL FUNCTION 'ZSD_DCF_SEND_TAG'
          IN BACKGROUND TASK
          DESTINATION 'XISYSTEM_TRFC_DCF'
          EXPORTING
            pt_filing_info = gt_filing.
        COMMIT WORK AND WAIT.
    XI side ***
    Both IR and ID is configured correctly, in the development environment everything works just great. I have created a test program where I can define how many calls I will do, looping over the func. call with a commit inside the loop - 500 or more msgs are ok.
    The integration scenario is transported to quality enviroment using CMS, and the RFC sender comm.ch. is configured accordingly.
    The problem in quality ***
    When sending just 1 msg, everything is just fine, message received and delivered to MQ.
    When sending >= 2 msgs, the 1 msg is always ok, BUT all others fails due to the following from Adapter monitor;
    RFC_HISTORY
    - Error: 2006-01-19 10:55:18 CET: com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'RFCSender_XI0002' (02d4d30de3593874942ed0659add0827, party '', schema 'TechnicalSystem', identifier 'Q93#120')
    - OK: 2006-01-19 10:55:17 CET: Message processed for interface ZSD_DCF_SEND_TAG
    My sending system is Q93 CLI 505 so I can understand the error, BUT I cannot understand why the RFC adapter is saying the TechnicalSystem is Q93#120 - it should be Q93#505. My Q XI has client 120...
    It seems to me that the RFC adapter is kind of confused about the sender..
    I have created a OSS message and SAP has looged on and looked into it with both a XI expert and RFC expert without being able to answer - all is configured correctly.
    - The SLD config. for bus.system Q93 is ok -
    - The bus.system in ID is showing correct vaues for
    Adapter Specific Identifiers (SID Q93, client 505)
    - Both Dev. and Qual. environment are running on XI 3.0 SP 14 latest patch, RFC component version on the SAP side is identical between dev. and qual. SAP systems
    - It doesn't matter which gw I use (Q93 gw or XI gw), the error is persistent
    - It doesn't matter if I increase initial conn, max conn.
    I have also tried to use qRFC instead, but with the same result.
    Anyone using tRFC for asynch. communication from SAP to XI seeing something similar?
    Meanwhile, I will do RFC trace on GW and RFC Adapter on AE....
    Please, do not say SP15, oss msg for FAQ RFC adapter or links to RFCAdapter config....
    best regards
    Torstein

    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

  • Problem to send PDF file

    Hello,
    I try to send pdf file as attachments file to mail with XI.
    I use with this blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    My problems is:
    1. to all mails that I send have another e file Untiteld.doc, how I can avoid this file?
    2. When I received the pdf file I not succeed to open it I received the message:
    Adobe reader could not open 'elad.pdf' because it is either not supported
    File type or because the file has been damaged (for example, it was sent as an
    Email attachment and wasn't correctly decoded)
    Regards
    Elad Peleg

    hi
    ref this
    Receiver Mail Adapter message with PDF attachment
    PDF attachment in mail adapter
    File adapter with attachment to mail
    File with attachment to mail scenario
    File To Mail Scenario With An Attachment

  • Rfc Destination problem in RFC Sender Adapter

    Hi experts
    I created a Rfc destination type TCP/IP for Rfc Sender adapter.
    while creating i passed following parameter:
    1) I selected Activation Type option-> Registered Server  
    2)Given a Program id , same as i given in Rfc sender Adapter config.   
    3)Gateway option:
       i) Gateway Host:Server IP address where i created  Rfc.
      ii) Gateway Service:sapgw00
    After making these entry, i m unable to receive message at XI end (I am executing Rfc at R/3 site due to Rfc sender)

    Hi
    please check for the following things.
    1. check the RFC destination using the connection test tab in the R/3 system.
    2. check whether the program id that u have given is registered or not.
    to check the program id go to the transaction SMGW, in the menu select Goto-->LoggedonClients
    check for ur program id name in the table.
    3. when you configure the RFC sender adapter in XI then you have to give the same program id name that you will give while creating the RFC destination in the R/3 system.
    if u still face the problem please reply me back.
    Thanks
    Rinku

Maybe you are looking for

  • No disk space left on my pc because of photostream!

    Hi, my pc has no disk space as it has all of my photostream saved on it, so how can I stop this happening (the 1000 photos are saved on pc even though the photostream box is unticked on my pc in icloud)? I have found that if I delete a photo in photo

  • JToolbar images not displaying

    I have JDK 1.3 /Windows 2000 Pro and My toolbar icons sometimes display and sometimes don't. I have about 12 tool icons, most of which show up, but usually a couple don't display. All icon images do display in the buttons at one time or another, so i

  • Network activities deletion Problem

    Dear All, I have a requirement where in I have to delete multiple activities from a network using a Z transaction and then renumber the existing activity numbers. For deleting the activities, currently I have used BAPI_NETWORK_MAINTAIN with method u2

  • Assembly failed due to Broken DCs

    Hi All, I have around 8 activities which were waiting for import on cons, after importing them (remember cons is not configured for runtime systems) in the assembly stage for all the activities assembly failed. On checking i came to know the <b>track

  • Event on Mouse Click Released in a Picture ring

    Hello All. I have a picture ring in my program. I have made its callback function and the default event i.e. EVENT_COMMIT occurs behind the code and it actually performs event on click. Now i want to make its action happen not on click but when i rel