BPM - ALEAUD

HI.
is there a blog which explains how to handle BPM with ALEAUD ? I want to send
IDOC(ALEAUD) -> XI (BPM) -> BPM(mapping ALEAUD) -> mail receiver adapter.
thanks,
Gordon

Hi Gordon,
Just go through the below link, you will found the solution.
Use Aleaud in BPM
Regards,
Sarvesh

Similar Messages

  • BPM and ALEAUD Response - Looking forward for help

    Hi ,
    I tried the using the concepts from the blog (/people/mitesh.parekh/blog/2008/12/01/receiving-aleaud-as-acknowledgment-in-ccbpm)where i have the Message ID which entered into BPM
    but not the message Id which triggered the IDoc send . I think i m missing some small detail where i need to capture the send step MSG Id
    i'm aware that its not possible to get the Msg id in BPM . How is that ABAP Mapping in the above blog captures the message id ?
    TRY.
    l_msgid_ref = param->get(
    IF_MAPPING_PARAM=>MESSAGE_ID ).
    catch CX_SY_REF_IS_INITIAL into oref.
    endtry.
    Alternatively one more thread has some info
    if someone can let me know where you can get this SourceDocNum would be great in this RFC Look up . in the thread Re: Idoc Acknowledgements and BPM.
    "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:RFC_READ_TABLE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><DELIMITER/><NO_DATA/><QUERY_TABLE>IDXRCVPOR</QUERY_TABLE><ROWCOUNT/><ROWSKIPS/><DATA><item><WA/></item></DATA><FIELDS><item><FIELDNAME>SNDLAD</FIELDNAME><OFFSET/><LENGTH/><TYPE/><FIELDTEXT/></item></FIELDS><OPTIONS><item><TEXT>IDOCNUMBER EQ &apos;"
    + SourceDocNum
    + "&apos;</TEXT></item></OPTIONS></ns0:RFC_READ_TABLE>";
    Since i do not have the Message ID it just creates the below payload from my mapping
    This is the request being sent out using the ABAP Mapping as the Messgae ID is null .
    <?xml version="1.0" ?>
    - <ns0:ZALEAUDIT4XI xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
    <S_DOCNUM>0000000000000000</S_DOCNUM>
    <S_MESTYP />
    <S_SNDSYS />
    <S_UPDDAT>00000000</S_UPDDAT>
    </ns0:ZALEAUDIT4XI>
    Looking forward for Help .
    Edited by: Priyalakshmi Bhuvanendran on Aug 8, 2009 2:28 AM

    Can someone help one the ALEAUD Response - IDOC Capturing Problem . I would appreciate your help . Thanks

  • Another BPM question...  SOAP-XI-IDOC with ALEAUD Idoc

    Hi,
    Have a few problems with this BPM. 
    1- I'm testing my scenario with XMPSpy and when I look at my message in SXMB_MONI, I see the inbound message with the SOAP envelop in one long string.  Usually I don't see it and I think this is why my mapping is not working? Do I need to do something special to not see the message with the SOAP envelop? For this, I didn't setup the SOAP as a sender, I only created a web service.
    2-  The IDoc is being sent to R/3 (not mapped properly because of #1 I think) but the ALEAUD is not sent back to XI.  I don't see it as an outbound in R/3 (we05).  I did look at the (How to handle Ack for Idoc) but no help.  What are the steps that I need to do in R/3 to get the ALEAUD to be sent back to XI?  Is the problem with XI or R/3?
    What I did so far:
         1- Did the setting in my BPM to get an ACK back after sending the Idoc to R/3 (acknowledgement = application)
         2- ALE settings in R/3 for outbound ALEAUD
    3- I guess my next challenge will be to within the same BPM to link back the ALEAUD back form R/3 to the response of my SOAP call. Right now i get Pipeline timeout condition satisfied.  There are  a few messages on this subject but i don't think this was ever done successfully?  Any help you be appreciated for this.
    Rgds,
    Yves

    > 1- I'm testing my scenario with XMPSpy and when I look at my message in SXMB_MONI, I see the inbound message with the SOAP envelop in one long string.  Usually I don't see it and I think this is why my mapping is not working? Do I need to do something special to not see the message with the SOAP envelop? For this, I didn't setup the SOAP as a sender, I only created a web service.
    Very foggy description Do you send request directly to PIPLINE ... ?
    You should generate the SOAP request based on webservice deifintion (WSDL) e.g. via XMLSpy and you should send it to SOAP sender channel in AE.The payload of your inbound message should be exactly like the one you send from XMLSpy.
    Regards,
    Jakub

  • ALEAUD in BPM

    Hello,
    I am trying to create the following scenario:
    1. Send IDOC to R/3 System.
    2. Receive ALEAUD in BPM. Examine the ALEAUD message content. If problems, send message to sender system.
    I have seen many threads with similar scenario, but I have not seen any thread with a good solution. Has anyone been able to successfully receive the ALEAUD message in a BPM, AND been able to process the contents of th ALEAUD message INSIDE a BPM?
    If so, could anyone give a detailed description of how to configure?
    Thanks,
    Bjoern Espen Raadim

    Generally I would say that being able to read the ALEAUD message inside a BPM would be of great advantage since the ALEAUD message contains information relevant to how you would control the next steps of the BPM.
    In my case, the reason is that I need to use it as a status message to send back to the source system. The source system sends a message that is mapped to an IDOC, for which I want the ALEAUD message. The source message contains a messageid from the source system, this message id is needed together with the ALEAUD message to be able to send back a message the source system can correlate to. We did not want to call a synchronous RFC directly, ommitting the ALE.
    I see other alternatives, but I really wanted to get a confirmation of how difficult it would be to use it in a BPM.
    Regards,
    Bjoern Espen

  • How to save IDOC number in BPM to use in ALEAUD

    Hi Experts,
    I am doing IDOC - BPM - sync SOAP scenario, i am using async to sync bridge in BPM, how can i get original IDOC number so that i can use it in webservice response message to ALEAUD mapping??

    hi
    you have to use Configurable Parameters in the ccBPM. in runtimeyou assign the IDOCNUM field value to the parameter and then use it in the response mapping (WSDL-ALEAUD).  you have to define the parameter in the Message Mapping under the Signature Tab.
    Also you have to bind the parameter in the Operation Mapping. to do this,define a new parameter in the Operation mapping and then bind it with the parameter defined in the message mapping.
    see this blog to know how:
    SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
    rgds
    RP
    Edited by: Rodrigo Alejandro Pertierra on Nov 3, 2011 3:49 PM

  • Handling ALEAUD using BPM

    Hi Gurus,
    I have a scenario File -> PI -> Idoc (PI and R/3). Here Idoc sent from PI to PI itself and R/3 (6.0 and 3.1i). Once the Idoc received at target systems then all the target systems needs to send ack (status code) back to PI. If the Ack is 51 then PI needs to send an alert mail. If Ack is 53 then no need to send an alert mail. Any one can please give an idea how to implement this scenario. Is i need to use BPM for this scenario? if yes please provide the step by step solution. 
    Thanks,
    Koti

    hi,
    see this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    coming to sending alerts for status codes...u need to go for BPM
    regards.

  • Logical system name for acknowledgement in BPM

    Hi,
    I have a szenario:
    IDOC --> BPM --> MAIL
    Inside BPM I check the message and depending on an xml-element I stop the process or I send the message by mail.
    When I stop the process the BPM sends back an acknowledgement and in SXMB_MONI I can see an error of the acknowledgement:
    "Sender Test_BPM_IDOC_TO_MAIL kann nicht in ein ALE Logisches System umgeschlüsselt werden" (Sender can not convert in a ALE logical system)
    What can I do?
    Possible Solution 1:
    I can define my BPM "Test_BPM_IDOC_TO_MAIL" as a logical system (including WE20 for ALEAUD).
    Possible Solution 2:
    I can enter an existing logical system name in the "adapter specific attributes".
    BUT it is not use the same logical system name twice (BAD ... or is there a workaround?
    Is Solution 1) a common way?
    Thanx
    Regards
    Wolfgang Hummel

    Hi,
    there are many ways:
    some for aleaud are described in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    >>>>Is Solution 1) a common way?
    no this is not good a good idea
    BTW
    you can also supress aleaud raport IDX_NOALE
    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>

  • 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

  • BPM/MDM Process - Confirmations Back to BPM from ECC

    We are implementing a BPM / central MDM solution.  After the new master data is sent from the BPM to MDM, and syndicated through PI to ECC, the requirement is to send a confirmation back from ECC that the new master data (ex. Vendor) was created.  I don't see such a confirmation in any of the related blogs on the BPM/MDM subject.
    (1)  Is there a way to send a confirmation back to the BPM (file that BPM picks up?, BPM listener-type service?)?
    (2)  Do you recommend using BAM or ALEAUD for the confirmation out of SAP?  Both would work.  With ALEAUD, I could catch errors in PI and handle them.  With BAM on a Vendor.Created event, I would have no extra IDoc statuses to filter away.
    Thanks,
    Keith

    Hello,
    There are 2 options .
    You can use an outbound IDOC from ECC to PI - after the material is successfully created and PI can update MDM with the status and id created.
    1. You can write a service that will check MDM periodically to see if got back the status & id from ECC/PI successfully.
    2. The other way is to write a synchronous webservice call where BPM will wait for a PI service to provide an update directly to BPM. You need to model Synchronous call in BPM.
    Regards, Anil

  • BPM Send step and acknowledge application.

    Hi All,
    with this url
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/65ce41ae343e2be10000000a1553f6/frameset.htm
    I understand that we can define application for acknowledgment from SEND Step in BPM. and this acknowledge will can let me know document as I sent to R3 that posting success or not. But when I try configure with this param. I see only waiting acknowledgement in SXMB_MONI. So how I can to configure this param. Do I have to config someting on R3 side or not?
    Thanks and Regards
    Park

    Ricardo,
    You would not believe me but I had the same requirement a year back.
    Infact I ended up posting a thread on this on the XI forum,
    Idoc Acknowledgements and Idoc Packaging
    Answering your question in 2 phases,
    1. R3 can send the AleAduit back to XI immediately. In the inbound processing code, all the R3 team would need to do is add the code to trigger the RBDSTATE report to trigger AleAudit to XI.
    2. The problem with Correlation - Well, in your case as you are using Idoc Packaging , the solution 1 in my earlier thread would not do the trick. If you look in IDX5 in XI you will see that the Idoc Packaging trigger multiple Idoc's from XI itself but again the problem is the correlation and for this there is no straight forward solution than having some custom field in the Idoc and in the corresponding response.
    But yeah overall your analysis was perfect. Idoc's are used for Asynch Communications and hence trying to achieve what we are acheiving is not always and necessarily the best solution. Proxies help in these cases, and if proxies are not possible then I guess RFC is the way to go.
    Regards
    Bhavesh

  • BPM: Send step with acknowledgment - Application

    Hi folks,
    I’ve a simple BPM with receiver(sender file)->mapping->send(IDoc receiver). The Send step is configured with the option Acknowledge type -> Application. The scenario runs well, the IDoc is successfully processed, but my BPM remains waiting with the clock icon!!! Going to sxi_monitor, in the PE details is a step waiting for an event from R/3 with the message “Waiting for an event SEND_OK_APPLICATION type CL_SWF_XI_MESSAGE. It seams waiting for an event that R/3 didn’t send… Did I miss some steps at R/3?
    The idea is to receive an ack after my IDoc is successfully processed at R/3, in order to finish the BPM.
    Regarding Acknowledgment type -> Application, the sap help says:
    Wait for Acknowledgement
    Specify whether the send step is to wait for an acknowledgement. To receive an acknowledgement in the send step, the receiver (adapter, business system, and so on) must send the corresponding acknowledgment.
    Application - Specifies that the message was processed successfully by the receiver application (for example, ‘posted’).
    I guess it should works, but maybe I'm missing something. Anyone knows how to work with this kind of ack at ccBPM?
    Thanks in advance,
    Ricardo.
    Edited by: Ricardo  Quintino on Jan 21, 2008 4:33 PM

    Ricardo,
    You would not believe me but I had the same requirement a year back.
    Infact I ended up posting a thread on this on the XI forum,
    Idoc Acknowledgements and Idoc Packaging
    Answering your question in 2 phases,
    1. R3 can send the AleAduit back to XI immediately. In the inbound processing code, all the R3 team would need to do is add the code to trigger the RBDSTATE report to trigger AleAudit to XI.
    2. The problem with Correlation - Well, in your case as you are using Idoc Packaging , the solution 1 in my earlier thread would not do the trick. If you look in IDX5 in XI you will see that the Idoc Packaging trigger multiple Idoc's from XI itself but again the problem is the correlation and for this there is no straight forward solution than having some custom field in the Idoc and in the corresponding response.
    But yeah overall your analysis was perfect. Idoc's are used for Asynch Communications and hence trying to achieve what we are acheiving is not always and necessarily the best solution. Proxies help in these cases, and if proxies are not possible then I guess RFC is the way to go.
    Regards
    Bhavesh

  • BPM -  IDoc to SOAP problem (Unable to convert sender service)

    Hi,
    I have a BPM scenario where I'm sending an Idoc from r/3 to XI to SOAP.  As part of my scenario I'm sending an acknowledgment (ALEAUD) back to R/3. 
    I'm getting Unable to convert sender service IP_BPEL_INBOUND_ORDER to an ALE logical system on the Ack back.
    So I usually know what to do when I get this, I do the SLD settings on the r/3 service and I'm OK.  But in this case, it's asking for those ALE settings on the Integration Process?
    I tried adding a logical system on it but now I'm getting the error that this is already used by the r/3 service.  So I'm not to sure what to do next???
    Rgds,
    Yves

    Ok do one thing, in you mapping take one field at target side (may be u can create one or use which is not been used yet) just map the standard function called Sender to this field in target.
    Now in Intergration Directory when you do the header mapping by using F4 do not map the business systems this time, just press the button "Etended Path" (m not sure abt the exact name of this button) not use the X-Path here and select that target field which you mapped with Sender function in mapping.
    How To Handle Acknowledgments for IDoc
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    I hope this will solve your problem.
    Regards,
    Sarvesh

  • BPM  IDoc-XI-SOAP

    Hi BMP Gurus,
    I have a BMP scenario that look like this:  IDoc(ORDER05)-XI-SOAP.
    Within my BPM, I'm returning a confirmation (ALEAUD) back to R/3 to confirm the SOAP Call.  In my ALEAUD Idoc back, I'm mapping some of the original Idoc info (ORDER05). 
    Now, in addition, I would like to do map some of the Web Service result information back as part of the same ALEAUD Idoc.  How can I do that if my Interface Mapping back is defined for the original ORDER05 Idoc to ALEAUD?
    Is there a way to link different struc messages in BPM before sending the IDoc back to R/3? 
    I was looking at correlations but I think this will work for messages of the same structure only.
    Rgds,
    Yves

    Hi,
    Hope the below link will give you the answer...
    Forum post in Exchange Infrastructure: Idoc Acknowledgements and BPM.
    Idoc Acknowledgements and BPM.
    Reg,
    Srini

  • ALEAUD in IDOC to File Scenario

    Hi,
    I have a IDOC to file scenario in which im sending the PAYEXT IDOC from SAP to a bank as the IDOC-XML.
    ie the user will create a payment in the SAP system , this shoud trigger an IDOC to XI. XI puts the IDOC-XML sturcture into a FTP folder path from which the bank will pick it up. Now the bank has to send an acknowledgement(asynchronously) that the payment was processed. And this response should be captured and returned to the user.
    can we use ALEAUD as the acknowledgement or does using ALEAUD make no sense here?

    Hi,
    Assuming that the bank will send you a file to the FTP server you can simply pick up this file and mapi it to the Systat IDoc. I would assumt that the IDoc status's would not be in the file so you would have to do some value mapping or other logic to determine the IDoc status codes that you want.
    The IDoc is very simple with few fields so the mapping should not be a problem.
    Please note you do not use BPM for this scenario. In essence this would be a new flow of File --> PI --> IDoc
    Import the STATUS.SYSTAT IDoc into the Design and play from there, you can make a POC now and test the functionality which would probably be best for you at this point.
    Let me know if you need more details
    Edited by: Alexander Ong on Jul 14, 2009 4:57 PM

  • IDOC_TO_FILE ALEAUDIT message SPLIT

    Hi, 
    1.   I am sending an IDOC from R3 to XI.
    2.   In XI IDOC splits in to 2 messages
    3.   XI sends the 2 messages to 2 File systems(FTP).
    4.   NO BPM,  tried on SP19 / SP20,
    5.    Expected 2 ALEAUDIT messages back to R/3
    Problem:
        ALEAUDIT messages are not reaching the R/3.
    Additional Info:
      1. I dont have any problem in receiving ALEAUDIT message in IDOC_XI_FILE scenario with out message split, means one receiver. Problem is with message split and 2 receivers.
    Thanks in advance.
    Moni

    Hi Moni,
    Please check following points -
    1. Do you get any error in SXMB_MONI transaction in XI? Whats happening to the response messages there? Are you able to see any entry in SXMB_MONI for that?
    2. Also ALEAUDIT idoc only allows few statuses not all. It will be worth checking which status is being passed back to R3. (This will not be relevent in you case as the scenario works without message split...)
    3. Check if you have set up partner profiles correctly and corresponding parter number is set in Idoc specific attributes in adapter channel.
    Hope this helps.
    Rahul.

Maybe you are looking for

  • Error while saving agreement

    Hi I am getting an error while saving the scheduling agreement. This is IS Auto related version. After entering all the details required in the JIT related scheduling agreement; when i am trying to save it gives error "Call usages for xxxxand JIT cus

  • Has anyone had problems with Lightroom not recognizing a D750 during a tethered capture? It is supported with 5.7.1. Mac OS 10.10.1.

    Mac OS 10.10.1.

  • Query Command in JDBC

    hi, everybody now, for try to finish a project about house query, u know, there have many fields(information) about the house, as well as the hourse owner's information. suppose u want to know the price, address, facilities and the owner's informatio

  • FaceTime won't work with two Apple devices & One ID

    Before I got my iPhone 5c I used to be able to use FaceTime on my MacBook Pro. When I got my iPhone 5c I could no longer use FaceTime on my MBPro. Now FaceTime only works on my iPhone.  When I try to sign-in to FaceTime on my MBPro I get the followin

  • Not enough Memory (RAM)

    I have a PC windows 7 home premium, and I have the latest adobe updated version 2014 when I open the adobe photoshop and I start working on it, for example I want to use the brush tool with big size, or I want to do "image resize" from 400x600 pixel