XML file to Proxy Scenario with BPM - ID Steps

Hi Guys,
Any one can help me to find  about the scenario XML file to ABAP Proxy with BPM, ID steps please. Any link or logical routing, receiver determination and interface determination idea. Please correct me,
I have created Business Service as sender to send one xml file to BPM, BPM is sending a message to SNC system. I have created 2 receiver determinations, but I am confusing in interface determination, where to declare OM?
Please can any one respond bit quicker.
Thanks  in advance
Regards
San

ES Repository
                     *Service Interfaces*
Create one outbound service interface for XML file.
Create one Inbound synchronous Interface for SNC system.
Create one Abstract Asynchronous interface ,same message type as you used for outbound service interface .This is for Integration process receive step.
Create one Abstract async interface for receiving the response from SNC system in Integration process.
Create one Abstract synchronous interface to be used in the Integration process for Send sync step.
Create on inbound asyn service interface for sending the response from integration process (received from SNC system) to the Receiver System.
              Operation Mapping.
Create an Operation Mapping using Abstract sync interface and inbound syn interfaces.
              Integration Process
start--->receive Step---->send Synchronous step----->send step.
Create two container elements
first with abstrat async interface for the XML request.
second for abstract asyn interface with the XML response structure (asyn receiver system structure)
In the send sync step select your abstract syn interface from the F4 help.and select the corresponding request and response message from the container element you defined earlier.
Integration Directory.
Create one sender File adapter Communication channel for XML file reading.
Create two receiver communication channel for sync system(receiver XI adapte for ABAP PROXY) and other for asyn receiver system .
Create 3 receiver determination
1.from sender to Integration process.
2.from Integration process to SNC system.
3. from Integration process to Asyn Receiver System.
Create 3 Interface determination.
Specify Operation mapping while you are creating interface determination from Integration Process to Syn BS.
Create one sender agreement
Create two Receiver agreement.
Regards
Kubra Fatima.

Similar Messages

  • Xml file to mail scenario with zip file as an attachment

    Hi experts,
    I have  a file to mail scenario. File is in xml format.
    At receiver side, first I want to zip this file and send the zip file as an attachment using mail adapter.
    How can i achieve this?
    Regards
    Divia

    Hi Shabarish,
    In the module tab i have specified the below beans
    localejbs/AF_Modules/MessageTransformBean                           contentType
    AF_Modules/PayloadZipBean                                                    zip
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean           mail
    In the module configuration i mentioned as
    Transform.ContentDescription   file
    Transform.ContentDisposition   attachment:filename="file.xml"
    zip.filenameKey                      contentType
    zip.mode                                zipOne
    Now i am getting the mail with zip file as an attachment.But the name of the attachment i got is MainDocument.zip
    Even the file name inside the zip is MainDocument.xml.
    How can i specify my own file name for both zip file and the file inside the archieve folder.Please help me.
    Regards
    Divia

  • Anonymizer Bean is not working XML file -- ABAP Proxy scenario.

    Hi Experts,
    Can anybody please help, How can add   this line <ns0:ROOT xmlns:ns0="urn:XXX:snc:productactivedata"> to my input xml file?
    </ns0:ROOT> to the end of the input xml file. One more thing please, how to remove "standalone="yes" " from this line <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    I have tried with Anonymizer bean settings, I can't able to achieve this, with XSLT mapping could, but I don't know XSLT mapping, can any one help me in this?
    Many Thanks
    Regards
    San

    Hi Prateek,
    If do, like remove namespace in the message type then i get this error.
    - <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="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_EDI_ProAct_One_N_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
      <SAP:P3>The element type "D01_PO4" must be terminated by t</SAP:P3>
      <SAP:P4>he matching end-tag "</D01_PO4>".</SAP:P4>
      <SAP:AdditionalText />
    <SAP:Stack>com/sap/xi/tf/_MM_EDI_ProAct_One_N_com.sap.aii.utilxi.misc.api.BaseRuntimeException:The element type "D01_PO4" must be terminated by the matching end-tag "</D01_PO4>".</SAP:Stack>
    I have checked the message, xml message format fine. Any help in this please?
    Thanks & Regards
    San

  • Step by step File to RFC Scenario with BPM

    hi
    for the following scenario i m following the webblog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    i have successfully created the design phase
    in the configuration stage
    i need to create a business system or business service will do to create the communication channel
    i have not created the systems so i feel i should not create the business systems
    i would like to create the business service
    so in only one business service can i assign all the communication channel
    useful answers will be rewarded
    Regards
    JM

    There are 3 parts of communication: Sender service to Integration Process (Asynch.), Integration Process to RFC (Synch.), Integration Process to Receiver Service (Asynch.)
    The configurations should be like as follows:
    <b>Sender Service to IP</b>
    Receiver determination:
    Sender Service->Request Outbound Message Interface->Integration Processs.
    Interface Determination:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface. (No interface Mapping is required as the interfaces share the same structure.)
    Sender Agreement:
    Sender Service->request Outbound Message Interface->Integration Process->Request Outbound Abstract Interface>FileRFC_Send
    <b>IP to RFC</b>
    Receiver determination:
    Integration Process->Request Outbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC Structure->Corresponding Interface Mapping between file structure and RFC structure.
    Receiver Agreement:
    Integration Process->Request Outbound Abstract Interface->Business service->RFC_Receiver
    <b>IP to Receiver Service:</b>
    Receiver determination:
    Integration Process->Response Inbound Abstract Interface->Business service.
    Interface Determination:
    Integration Process->Response Inbound Abstract Interface->Business service->Response Inbound Message Interface. (No interface Mapping is required as the interfaces share the same structure)
    Receiver Agreement:
    Integration Process->Response Inbound Abstract Interface->Business service->FileRFC_Receive.
    Hope you find this useful.
    Regards,
    Amitabha

  • File to RFC scenario with no BPM

    I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need to have BPM if want to see the response back from RFC?
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK?
    Thanks,
    Deepesh

    Hi,
    I need to have BPM if want to see the response back from RFC? ... yes
    The BPM will help you find the response very comfortable.
    What kind of business system i need to create for RFC? can i use same business system for both File and RFC? I'm using one Business System created on Third party technical system, which i'm using for file Input, also for RFC. Is that OK? ..Yes you can .
    Regards
    Agasthuri Doss

  • File to Proxy scenario message failed in ECC with staus SYSFAIL

    Hi All,
    We are working on File to proxy scenario,  PI  able to send message successfully to ECC, but  In ECC , message got  stuck in queues with the status 'SYSFAIL',
    when I read the error message it is showing Address Invalid.
    when I run the LUW, it is giving 'Function module does not exist or EXCEPTION 'raised message.
    I'm using PI 7.1 EHP1 , ECC 6.0, can anyone suggest the trouble shooting guidelines for this issue?
    Thanks,
    Venu.

    when I run the LUW, it is giving 'Function module does not exist or EXCEPTION 'raised message.
    in your code, there seems to be an invalid statement.
    check the proxy code.

  • File to proxy scenario

    Dear one,
    I need a solution for my problem facing this moment.
    Here is the File to proxy scenario  explained.
    I created three new fields in XI IR to map three more  fields from File to CRM .On this line,I created three fields in IR and passed the updated file(containing three new filelds) and interfaced.Before that I had regenarated and activated CRM level proxy too.
    The file was red by XI and moved to CRM also.
    Now my problem is that I can see the three new fields in SXMB_MONI when I got into detail of that . But when I debug the CRM proxy the value for these three fields are not displaying over there .
    These three values are displayed in XML message but not in proxy ,why it is so?.
    Please help me out to resolve the issue.
    Swasthi,
    Karthik

    Hi Manjusha,
    Here is the reply:
    Is the issue with the fields , or the values in the fields ?
    Ans:Issue is with the values ,not with the fields .
    Is it that your proxy structure doesn't have the fields ?
    Ans:Proxy structure have the fields but not value.
    Can you check sxmb_moni in the CRM system if these fields with value appears.
    Ans:I checked in the CRM system
    <TOTL_INFO>
    <DT_INVOICE>
    <MT_Invoice>
    <ECOMM_VAT_BASIS_AMT>12</ECOMM_VAT_BASIS_AMT>
      <ECOMM_VAT_AMT>13</ECOMM_VAT_AMT>
      <ECOMM_CURR_CODE>GBP</ECOMM_CURR_CODE>
      </TOTL_INFO>
      </DT_INVOICE>
      </MT_Invoice>
    Both field and values are coming perfectly in XML message..
    You can see that above in last three fields (Field- ECOMM_VAT_BASIS_AMT , Value-12 and etc.).
    Only  values are not coming in proxy structure(table) ....fields are coming with no values
    Pls let us know yr views.

  • File to Proxy Scenario Error

    Hi Experts,
    I am working on File To Proxy Scenario. I am getting the below Error: The Messages in SXMB_MONI are going to AUtomatically Restart Status. I see some Queues with RETRY Status in SMQ2. When i am testing from SPROXY, the Table is Updated with the Corresponding Values. But when i place the file in the ftp folder then i am getting this error.
    <?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=""> 
    <SAP:Category>XIServer</SAP:Category>  
    <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>  
    <SAP:P1>500</SAP:P1>  
    <SAP:P2>Internal Server Error</SAP:P2>  
    <SAP:P3>(See attachment HTMLError for details)</SAP:P3>  
    <SAP:P4 />  
    <SAP:AdditionalText />  
    <SAP:Stack>Error while sending by HTTP (error code: 500, error text: Internal Server Error) (See attachment HTMLError for details)</SAP:Stack>  
    <SAP:Retry>A</SAP:Retry>  
    </SAP:Error>
    Please check and do the needful .
    Regards,
    GIRIDHAR

    Hi Giridhar,
    The problem is with connection. Please check the below discussion
    HTTP returns status is 500(Internal Server Error)
    Problem in ABAP proxy........ | SCN
    regards,
    Harish

  • Error in FILE 2 Proxy Scenario

    Hi All,
    I am doing File to Proxy Scenario i am getting following error
    Could any one provide the solution for this.
      *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Call Inbound Proxy*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
      <SAP:P1>ifmmessif</SAP:P1>
      <SAP:P2>MI_Emp_Sender</SAP:P2>
      <SAP:P3>Namespace</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_Emp_Sender, request message, namespace )</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Thanks in Advance
    Mahesh
      </SAP:Error>
    Edited by: Mahesh Reddy on Jul 10, 2008 12:47 PM

    Hi Mahesh,
    1) Use SPROXY transaction.
        Menu-> Proxy -> Activate All.
    2) check in the interface determination if u are using correct
    inbound interface.
    3) If this if fine....try deleting all proxy objects of the interface
    and create new.
    Regards,
    Praveen K

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • Mail to Proxy scenario with attachment. AF channel error.

    Hi,
    We are running SAP PI 7.1. I am experiencing the following problem in a Sender Mail adapter.(POP3).Mail to Proxy Scenario.
    I have configured a sender mail adapter channel as POP3. This channel is configured to use the Mail Package and to Keep attachments. When I send a mail with an attachment to the mailbox that is being monitored by this channel, then the channel collects it from the mailbox.
    In channel monitoring it indicates that the message was successfully delivered. However when I click on the message ID the view the audit Log it gives an error: u201CTransmitting the message to endpoint http://HOSTNAME:8101/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error transmitting the message over HTTP. Reason: java.io.IOException: Error writing to server.u201D The message never arrives at the integration sever to be view in sxmb_moni.
    Also when I sent a message without an attachment the message does go through. Or if I send a message with a text attachment the the message goes through, but not the attachment.
    Any help would be most welcome.
    Regards
    Willie Hugo

    Hi Willem,
    I'm coming back to your original problem: "com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error transmitting the message over HTTP. Reason: java.io.IOException: Error writing to server.u201D
    Actually I had the same problem here and found a solution for it. In this case it was a file to Proxy scenario. The file send was large. After structure conversion the file size was more then 100 MB as indicated in the Audit Log of the message "2009-03-02 09:27:06 Information Send binary file "<File_Name>" from ftp server "<ftpuser>", size 106706248 bytes with QoS EO.
    The ICM restricts all HTTP requests larger then 102 MB via the parameter icm/HTTP/max_request_size_KB which has a default value of 102400 (100 MB). Therefore it rejects the requests and your error is thrown.
    There are two ways of avoiding this:
    1) Increase the parameter:                                         
    Increasing the parameter implies a risk since large messages can overload the system (e.g. during the mapping). Therefore it is good to have these safety measurement in place.                                                                               
    2) Split the request:                                                    
    Depending on the scenario it might be possible to split the request  to restrict the max. number of records for a given file. This is the prefered option because it ensures better stability of the system and also better performance.                                                           
    I think this situation applies to you as well - but I'm not sure since you did not specify the request size and the size of the attachement.
    Best regards,
    Mike

  • File to Proxy Scenario Query

    Hi All,
    I hav a file to proxy scenario. The XML file is sent as a proxy from XI to ECC. but ECC is receving it as a blank file.
    SXMB_MONI in XI is success but in ECC it has failed. Please help us understand where the problem is occuring.
    Regards,
    Sudeep R

    Hi,
    Please check your sxmb_moni in ECC & XI, in both message, check the message data is same.
    If you are receiving data on PI from file successfully, the problem can be in Mapping in PI, check that in PI. In this case data will not be sent to ECC System.
    If you are receiving data on ECC from PI, now check the problem in Proxy code.
    Check the steps for inbound proxy in the below blog :
    /people/sandeep.kaushik/blog/2010/07/15/abap-proxy-complete-developments-on-sap-pi-sap-abap-systems

  • Problem in simple filetofile scenario with BPM

    Hi
    I am a starter to XI. I am implementing simple file2file scenario with BPMs.
    But I am getting error while looking into SXMB_MONI.
    Under "Monitor for Processed XML messages"
    Number of XML message Found 3 (which is my input 3 xmls which is fine) but
    "Status is RED Flag".
    "Error Category: BPE_ADAPTER"
    "Error ID: UNKNOWN_MESSAGE".
    Please help me out with this problem.
    Regards
    Sam

    Hi Raj,
    When i click PE getting following error:
    "Unable to perform action for selected message".
    When i double click the row, it takes me to xml message versions where i can RED FLAG for "Call Adapter". In the trace i foudn the below at the end:
    <trace level =1 type=system error> error exception return from pipeline processing"</trace>
    Hope this helps to guide me mroe
    sam

  • Error handling in File - XI - SOAP scenario without BPM

    Hello!
    We have a File -> XI -> SOAP scenario without BPM. The problem is that if the Web Service sends back an error XI tries to reprocess the same message again and again instead of taking the next one.
    We do not want set the retry interval to NULL because most error cases are temporary connection problems and then also those messages would not automatically be reprocessed any more.
    We also have to use BE instead of EO, otherwise the Web Service will not return a response. But we need the response to be sure that the processing was successful. The message volume in this scenario is quite high and we do not want to use BPM only for the error handling.
    I know that from SP19 some additional adapter modules are available for async - sync scenarios without BPM. I tried to configure it like described in File - RFC - File without a BPM - Possible from SP 19. but it did not solve the problem. Does anybody have any other ideas? Thanks.
    Regards, Tanja

    Hi Tanja,
    >>>The volume is 3000 messages/day on business days and 700 messages/day during weekends but the traffic will increase in the future
    I think, you should check that out. It is assumedly only 2 days work to build a scenario:
    IDoc -> BP
    BP <-> SOAP/HTTP
    BP -> IDoc (Acknowledgement)
    In the process you need a condition branch, where you decide success or not. You need 2 Interface Mappings for filling the ALEAUD.
    Just send 1000 IDocs to the Test-XI and look to performance monitoring at Runtime Workbench, to find out, how many message will be processed in one hour. Assumedly 3000 and more per day should be possible. The advantage would be to reduce number of systems (no file system) and messages (better monitoring) and using the standard (better maintenance).
    >>>So you are suggesting I should use HTTP adapter and then add the SOAP header manually in a mapping?
    Yes, build the SOAP envelop during the mapping. Most easy is to use XSL or, if your mapping is ready, an additionsal XSL. You can put the error into the Acknowledgement to see it in ERP transaction WE02.
    Filling of ALEAUD fields:
    E1ADHDR/MESTYP: original message type
    E1ADHDR/E1STATE/DOCNUM: original IDoc number
    E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
    E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
    I ve done such a scenario several times. That works without any problems.
    Regards,
    Udo

  • File to Proxy Scenario : Error in communication channel monitoring

    Hi,
    I have developed File to Proxy Scenario on PI 7.1 system and it is not working. I see the below error in communication channel monitoring.
    u201CError: com.sap.engine.interfaces.messaging.api.exception.ConfigException: Some of the IS access information is not available. SLDAccess property may be set to true, but SLD is not available.u201D
    File will be picked from the FTP server.
    I have created File system in SLD of type "Third Party", Can this be the issue?
    Please guide me on this.
    Thanks,
    Chandravadan

    Hi!
    Check if the tcode SLDCHECK is ok!
    Check note #764176.
    Also, refer to link below and execute each steps from the links there MANUALLY.
    Wizard-Based Configuration:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/2e4c1b16bb4aa8e10000000a11466f/frameset.htm
    Regards,
    Caio Cagnani

Maybe you are looking for