Problem receiving acknowledgement: abap proxy == file adapter

Hi experts,
I am developing an asynchrone interface using PI 7.0. The scenario is: SAP ==> FILE.
In SAP I have created an abap proxy in wich I requested an acknowledgement when calling from the abap code. In PI I have created an Integration Process with a receive step, and a send step. In de send step I am asking for a transport acknowledgement.
When I test the interface and I look in the SXMB_MONI in PI, I see the acknowledgement given back to the IP, but in the SAP backend system I don't receive anything in the abap proxy which had send the original message. In de SXMB_MONI from SAP I see a "?" Still awaiting  acknowledgement.
Can anyone help me with this scenario? I really need an acknowledgement from the file adapter in the calling abap proxy.
Regards, Jeroen

You need to crate a REceiver Agreement for this sender...
The Integration Server sends an acknowledgment message back to the sender (CENTRAL_BACK). It uses the name of the sender system for logical and technical backward routing.
If the sender is addressed using an ABAP proxy, you must define a corresponding receiver agreement for this sender.
http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
-SM

Similar Messages

  • Interface ABAP Proxy - File - Synchronous - (Is it possible???)

    Hi Experts,
    I want execute ABAP Proxy which will create File in FTP. On final, i need return "OK" information to the ABAP Proxy.
    Is it possible? ABAP Proxy <-> File Synchronous? Without BPM and Custom Module Adapter. Just using RequestResponseBean???
    Tks in advance.

    Hi Raj,
    Tks. I implemented the Acknowledgements Request and changed the ABAP Proxy to Async. But the Ack returns to the ECC with the error and is not saved in the Message. The error follows below:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Update Acknowledgment Status of Request Message
      -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="PERSIST">REQUEST_MESSAGE_NOT_FOUND</SAP:Code>
      <SAP:P1>4EE24DEB4EA60650E10080000A09071E</SAP:P1>
      <SAP:P2>CENTRAL</SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
      <SAP:Stack>Requisição mensagem 4EE24DEB4EA60650E10080000A09071E pipeline CENTRAL versão desconhecida</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Any Idea about this error?
    Tks in advance.

  • XI 3.0 PROXY/ File adapter problem

    We have XI 3.0. We used the proxy to send a file from R3 to XI and used file adapter in XI to put the file back to R3 file server.
    From the SXMB_MONI in R3, the message was successfully sent from R3 to XI.
    From the SXMB_MONI in XI, the URL address https://aaaa###.com:52201/MessagingSystem/receive/AFW/XI (the SAI_AE_DETAILS_GET returned) had the SSL service number(port number 52201) that I do not know where it was defined. I checked the communication channel and SM59 but found out nothing about 52201, neither the SSL part.
    Would some one please tell me where the SSL security was defined?
    Thanks for your help in advance!

    Satish,
    I checked the communication channel in the Configuration and the the transport protocol was "File System(NFS). We did not use FTP.
    Thanks!
    Fisher

  • File/FTP to ABAP Proxy (file as attachment)

    I have the following scenario: File/FTP -> XI -> ABAP Proxy but not the normal case. What I need is the picked file as attachment and the file name. I hope this is possible.
    I have found the following blogs:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    I have no idea where I have to start. How I should define the sender and receiver message interface? How I have to configure the sender file/ftp adapter?
    I'm using PI 7.1 SP 7.

    At the moment I have the following problem. I always get an error during mapping the request message. This is the error message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Mapping der Request-Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MT_SCANFILE_to_MT_SAP_SCANFILE_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
      <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.ParserE</SAP:P3>
      <SAP:P4>xception: XMLParser: No data allowed here: (hex) ~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Während des Anwendungs-Mappings com/sap/xi/tf/_MT_SCANFILE_to_MT_SAP_SCANFILE_ ist eine RuntimeException aufgetreten. com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) ~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    And if I use transaction sxmb_moni I see that the payload MainDocument is my pdf document and I can read it.
    MG%PDF-1.3
    %âãÏÓ
    2 0 obj
    /WinAnsiEncoding
    endobj
    3 0 obj
    <<
    %Devtype POST2    Font COURIER  normal Lang DE
    /Type /Font
    /Subtype /Type1
    /BaseFont /Courier
    /Name /F001
    /Encoding 2 0 R
    >>
    endobj
    4 0 obj
    <<
    /Length 5 0 R
    u2026.
    I believe there is still an error at my communication channel configuration of the ftp sender adapter.

  • Receiver server definition for file adapter

    Hi,
    I am trying to create a scenario where the data from SAP system goes to XI through ABAP proxy and has to write the data in the file.
    My Question...
    In the Integration directory my sender system is ABAP Proxy and receiver system is File adapter.
    When I try to create a distribution channel of type XI adapter, I cannot select it as sender. By default it comes as receiver. How Do I go about doin this scenario.
    Also, since I have to write to a file, it is my receiver(outbound adapter). Please can anyone tell me what would be the service definition for this as I am writing to a directory!!!
    Thanks in advance.

    Hi ,
    That is what I have done.
    XI Adapter(ABAP Proxy) is my sender system.
    File adapter is my receiver adapter.
    But I am unable to make a distribution channel with XI adapter as sender. The radiobutton of receiver is only active and I am unable to select the sender radio-button. Is this some sort of error.
    Actually when I select XI, HTTP, IDOC and RFC adapter in communication channel, the receiver radiobuttion is selected by default and I am unable to select on sender radiobutton.
    Have we missed out on any configuration?
    thanks in advance

  • Problem Mapping to ABAP Proxy

    Hello,
    I Have a very strange error.
    So i send a Message from Java Proxy ->to-> ABAP Proxy.
    The Mapping is a XSLT Mapping.
    The Mapping everthings fine but the ABAP Proxy get and error like:
    Error during XML => ABAP conversion (; error ID: ; ( ))
    ....CREATE_TRANSACTIONS(1)IT_TRANSACTION(1)item(1)OPERATORQUAL(9) Error Text: Data loss occurred when converting 9134408  Kernel ErrorId: CONVT_DATA_LOSS))
    Ok the error is normally not so strange, but in my XML Message the tag OPERATORQUAL is empty. The 9134408 ist the last filled tag for the OPERATORQUAL.
    Why the ABAP Proxy think there is something in ?
    I checked the XML and there is nothing.
    But when the proxy think there is something like 9134408 that the error is normal, because the field has only except only 1 Char Values.
    Any Idea whats going wrong?
    Regards,
    Robin

    Hi Udo whats up ? ,
    Mappings all works fine.
    Problem was that blanks was there in the XML Tag that you can't see in the XML view.
    This blanks came already from Database.
    Know i kill all blanks in XSLT Mapping and it Works !
    see you soon and regard from zagreb,
    Robin

  • Problem with Synchronous abap proxy time out

    Hi there.
    I have the following scenario:
                      sync                   sync
    3rd party <-->  PI    <--
    >  ERP
                       http                    abap proxy
    In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
    The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
    Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and  the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
    Kind Regards,
    Roberto.

    Hi Roberto.
    There are a lot of time out configures in PI .
    Follow the link that explain about this:
    How to Investigate Timeouts In Synchronous XI PI Scenarios
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
    I hope to help you.
    If you still keep this problem, you can ask me more about it.
    Regards..
    Bruno.

  • Problem Creating an ABAP Proxy based on a WSDL which uses extensions.

    Hi all,
    I'm trying to create an Asset in Salesforce using ABAP.
    I can generate the ABAP Proxy OK, (from the SalesForce Enterprise WSDL I created)  but the Asset definition does not exist.
    I think my issue stems from the fact that the SalesForce WSDL uses extension elements for the definition of Asset.
    I found the following notes on the extension element
    516072 - XI Proxy Generation (not really for abap)
    1386239 - Extention of complex type containing xsd:any (this is close but we are on  SAP BASIS Release 70 701 not 702
    Threads which talks about extension element not supported.
    Proxy generation terminated: WSDL error ( EXTENSION not supported)
    WSDL Error: Element 'extension' not
    Threads  which talks about how to modify the WSDL
    Creating ABAP proxy from WSDL fails when <extension> present
    Creating ABAP proxy from WSDL fails when <extension> present (but this is using xmlspy which I don't have and the instructions aren't clear to me)
    What I'm really looking for is
    1) Any Notes which I could apply in a basis 701 environment to enable creating abap proxies from wsdl with extension elements
    2) Any tips on how to modify my WSDL to remove the extension elements yet still offer the same functionality (i.e. I need to use the create function with a sobject of Asset (which is currently defined via an extension.
    3) Anyone who has integrated with SalesForce to create SalesForce objects (Accounts, Assets, etc) either tips on how to modify the WSDL or sample ABAP code as to how you got around the missing extension elements.
    Regards,
    John

    Hi John,
    couldn´t you post a section from your wsdl file which includes the type definition with an extension?
    I think you could remove the extension an copy all elements from the type definition which is extended into the new type definition. 
    Here an example that you get the idea:
    <xsd:complexType name="PERSON">
            <xsd:sequence>
               <xsd:element name="firstName" type="xsd:string"></xsd:element>
               <xsd:element name="lastName" type="xsd:string"></xsd:element>
               <xsd:element name="ageInYears" type="xsd:int"></xsd:element>
               <xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
               <xsd:element name="heightInInches" type="xsd:float"></xsd:element>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="femalePerson">
            <xsd:complexContent>
               <xsd:extension base="typens:PERSON" >
               <xsd:element name="favoriteLipstick" type="xsd:string"></xsd:element>
               </xsd:extension>
            </xsd:complexContent>
         </xsd:complexType>
    is going to be ->
    <xsd:complexType name="PERSON">
            <xsd:sequence>
               <xsd:element name="firstName" type="xsd:string"></xsd:element>
               <xsd:element name="lastName" type="xsd:string"></xsd:element>
               <xsd:element name="ageInYears" type="xsd:int"></xsd:element>
               <xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
               <xsd:element name="heightInInches" type="xsd:float"></xsd:element>
            </xsd:sequence>
         </xsd:complexType>
         <xsd:complexType name="femalePerson">
               <xsd:element name="firstName" type="xsd:string"></xsd:element>
               <xsd:element name="lastName" type="xsd:string"></xsd:element>
               <xsd:element name="ageInYears" type="xsd:int"></xsd:element>
               <xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
               <xsd:element name="heightInInches" type="xsd:float"></xsd:element>
               <xsd:element name="favoriteLipstick" type="xsd:string"></xsd:element>
         </xsd:complexType>
    Save your changes to a local file and use this to generate your proxy.
    Bye Richard

  • Problem is triggering ABAP proxy

    Hi All,
            My scenario is to create a sales order in R/3 system using ABAP proxy and to get the Sales Order number as the response from the synchornous BAPI.
    While triggering the proxy, I'm gettin the error as follows,
    Please help me out in clearing this issue.
      <?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>XIProxy</SAP:Category>
      <SAP:Code area<b>="ABAP">SERIALIZE_APPLICATION_DATA</b></SAP:Code>
      <SAP:P1>Response Message</SAP:P1>
      <SAP:P2>CX_XSLT_RUNTIME_ERROR</SAP:P2>
      <SAP:P3>: 0000000000</SAP:P3>
      <SAP:P4>Error Text: No valid XSLT program supplied Kernel ErrorId: CX_XSLT_RUNTIME_ERROR</SAP:P4>
      <SAP:AdditionalText>Error when handling Response Message; XSLT error: CX_XSLT_RUNTIME_ERROR: XSLT program and source line: : 0000000000; Error Text: No valid XSLT program supplied Kernel ErrorId: CX_XSLT_RUNTIME_ERROR</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,
    Dhana

    Hi
    Go thru SAP Note:<b>546048</b>
    It says that application data is incorrect tht's why can't post the message.
    So plz chk ur ABAP Server Proxy code.
    Regards
    Arpit Seth

  • Problem  with Inbound Abap Proxy

    Hi Experts,
    I have an Inbound ABAP proxy scenario that insert data into a ztable. The whole process from XI to R/3 works fine, except it does not update my ztable.
    The only time the ztable gets updated is when i debug it. I used this report "SPRX_TEST_INBOUND" to debug
    Anyone who's had a similar problem.
    Thank you in Advance,
    Danny

    Hi,
    did you use the same XML from SXMB_MONI that gets posted during message flow?
    you can check inside your inbound proxy if the values are not empty etc
    and then raise an exception to see what's going on
    you can also do an endless loop and get inside it to see the real values
    that get passed into the proxy
    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>

  • Problem with sender ABAP proxy

    Hi All,
       I have created sender ABAP proxy (Async). I am testing the proxy from SPROXY transaction it selft .. when i provide the data and execute the proxy it is showing <b>"Services Processed Without Error"</b> , but i am not getting any error , i am not able to see any message in SXMB_MONI or RWB .. how to check where the message is failing ??

    Hi,
    You said you are sending message from proxy....its very easy to debug in this case. You can set a breakpoint directly in your proxy caling program. Just check if you are calling commit work after calling proxy.
    Also you can do it using the abap system command '/H' or the code 'BREAK-POINT' for/in the report program triggering the iterface.
    Check out this thread...
    How to Debug proxies
    Hope this will help you.
    Ni;esh

  • Receiver as ABAP Proxy

    Hi
    I am trying to implement the following scenario:
    - A SQL database is pooled and updated records and with the help of XI i have to call a BAPI in the R/3 system to create a sales order using ABAP Proxy.so before i create the Sales order i have to do a lot of validations like whether the customer code is existing,whether the material is a an existing material or not and many more.so can someone tell me how will i do all these validations before creating the sales order.
    Thanks and Regards,
    Jishi

    Hi,
    <i>Since the ABAP proxy code is written in the XI server</i> is not correct perception.
    Let me clarify a few things...
    ABAP Proxy code is not written in XI Server. U generate an ABAP Proxy for the ,message Interfaces developed in XI, in your target SAP system.
    When u generate the Proxy for the Message Interface in SAP system, it helps you in marshalling and unmarshalling of XML data.
    In the Execute synchronous/ execute asynchronous method of the generated proxy, u actually write the code/ busineess logic for ur validations.
    If all validations are successful then u call the sales order BAPI.
    Cheers,
    siva Maranani.

  • Proxy - File Adapter - "Still awaiting acknowledgment"

    Hi,
    I have a "Proxy -> BPM -> File" scenario and have configured acknowledgment. When the data is sent from proxy and written to file without errors I get the correct acknowledgment back to the R3 system. But when the file can't be written (FTP cant be reached) then  I get an error in the BPM step but get an Wait step in R3. "Still awaiting acknowledgment"
    sxmb_moni in PI:
    Processed successfully@ @Still awaiting acknowledgment           @ 04.08.2009 14:47:18 14:47:18     @R3System
    Processed successfully@ @Acknowledgment contains system errors   @ 04.08.2009 14:47:19 14:47:19 @Integration Process
    In SWWL I see this status:
    Waiting for event 'SEND_OK_TRANSPORT' of object type 'CL_SWF_XI_MESSAGE'
    Maybe it has something to do with the "Guaranteed delivery". It retries 4 times and maybe it is waiting for an retry limit or something. I am not sure.
    Any ideas on this one?

    Shouldn't this be a "Acknowledgment contains system errors" ?
    Are you implementing any logic once the deadline is met?
    To send the NACK to R3 you need to have a Send step in your Exception/ deadline branch which will send the required message to R3.
    A similar approach is shown here: /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Instead of the Control Step you need to have a Send Step.
    Update:
    Please note that any acknowledgement from AE will come into the BPM and will not go directly/ automatically to R3. The meaning of acknowledgement coming back to the Sender Application means ACK/ NACK to the BPM and not any other system.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Aug 5, 2009 2:48 PM

  • Problem with NFS in sender file adapter

    Hi everybody,
    I´m facing the following problem.
    The XI runs under a HP-UNIX server and I want to access into a windows server by using NFS in the file sender adapter.
    I have created a shared folder in the windows server.
    In the Source Directory field I have typed: //Windows_Server/Shared_folder.
    In the file name field: FileA.txt
    The error is the following:
    History:
    - 2006-11-24 13:16:41 CET: Retry interval started. Length: 10.000 s
    - 2006-11-24 13:16:41 CET: Error: Directory //Windows_Server/Shared_folder does not exist
    - 2006-11-24 13:16:41 CET: Processing started
    Do I need to do anything else?
    Any idea?
    Thanks
    Carlos

    hi,
    can you access the folder when you're logged onto the HP-UNIX server?
    with this path //Windows_Server/Shared_folder.
    (via console for example) ?
    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>

  • Receive zipfile with sender file adapter

    Hello,
    I need to receive one zipped file (binary data) with the file sender adapter. This zipped file contains an xml file that I need to process.
    What is the best way to do this?
    I have looked into writing an adapter module to unzip or base64 encode the file before sending it further into xi from the module chain.
    However, it looks like only xmlpayload is available to the adapter modules (and attachments, but in this case there are none). In the module I have the following relevant code (lots of try catch surrrounding)
              Object obj = null;
              Message msg = null;     
              obj = inputModuleData.getPrincipalData();
              msg = (Message) obj;
              XMLPayload xmlpayload = msg.getDocument();
    I end up with an xml payload, that is the zip file in my case.
    Is it safe to do something like this
         InputStream is = xmlpayload.getInputStream();
            // zip data into string
         String str = is.toString();
            // base64 encode
         str = MimeUtility.encodeText(str,"base64");
         xmlpayload.setContent(str.getBytes());
            // send the base64 encoded data to XI
            // that is now at least utf-8 text
            return inputModuleData;     
    What do you recommend?
    Best regards
    /Otto

    Otto,
    Go through this links which may help you:
    Multi Attachments with ZIP or Mail Adapter (Outbound)
    Re: How to read ZIP files(having PDFs,Image) using IDoc without XI
    ---Satish

Maybe you are looking for