ALE Audit Messages PI2PI

Hi guys,
we are trying to set up a scenario, where 2 PI servers should send the audit IDOC's when they receive the messages from each other (B2B with Idoc Adapters). Are there any guides for this?
Regards,
Michael

HI,
The PI servers have the ABAP stack. But it works as middelware so you should not generated any Audit IDOC in PI server. If you want the acknowledgment between the PI servers then you can go for ABAP proxy with XI adapters.
Normally dealing with PI to PI server, there is direct communication between XI engines, so you can go for XI adapter. The XI adapter which is normally used to configure the exchange of messages with in an Integration Server, canbe extended to exchange messages between the two Integration Servers in the scenario.
Please verify if if you have the common SLD for both XI systems. its preferable to go for seperate SLDs
Check out the similar threads, XI to XI scenarios:
Re: XI -> XI scenario
Re: XI to XI connectivity
connection XI to XI
Re: XI to XI connectivity
Thanks
Swarup

Similar Messages

  • ALE audit in IDOC

    In respect of ALE Audit in IDOC
    1. All IDOC receivers send Acknowledgement.
    2. All IDOC senders expect an Acknowledgement
    3. Receiver communication channel is required for ALE Audit
    4. Sender communication channel is required for ALE Audit
    I believe 1 and 3 correct. Please confirm me.
    thanks
    kumar

    Kumar,
    I think 3 is correct ,  1 & 2 also correct but based on condition, please see below.
    <b> 3</b> -sure
    <b>2</b> - Please refer the below doc ,Page 1
       fyr :In general, acknowledgments have to be requested explicitly by the sender. However, this does not apply to IDocs. The following acknowledgments are sent back by default, unless the corresponding message type is maintained in an exception table.
    <b>1</b> - Please refer the below doc Page 1
      fyr :IDocs only return acknowledgments if the receiver is configured for using ALE audit.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Please correct me if i 'm wrong!!!
    Best regards,
    raj.

  • ALE Audit

    Hi All,
            Please give me ur inputs on this scenario:
    <b>Scenario:</b>  File–XI- ECC - Data from File is converted to various IDocs and posted in SAP. (No BPM used)
    <b>Problem:</b>  <i>Exception Handling</i> > > We want a message back from SAP system telling us that out of 100 IDocs that were sent,  ‘n’ were posted successfully and rest failed along with the error description. How can this be achieved?
    <b>Possible Solution 1:</b> Along with the IDocs a proxy is also sent to the SAP from XI. Proxy has a ‘wait’ time and collects following information:
    No: of IDocs posted successfully,
    No of IDocs Failed and there reason.
    And then an email has to be sent using Alert Message to the process head with the above information.
    <b>Possible Solution 2:</b> ALE AUDIT is used on the receiver SAP system and the error messages are sent to XI and the messages are collected in another interface in XI and subsequent Alert Management is used to shoot email.
    Which solution is better and why?
    Regards,
    XIer

    Hey
    >>Problem: Exception Handling > > We want a message back from SAP system telling us that out of 100 IDocs that were sent, ‘n’ were posted successfully and rest failed along with the error description. How can this be achieved?
    For this you need to use BPM coz File can't handle sync calls.
    As far as i know,in both the cases you need to use BPM.
    Note:ALEAUDIT is mainly used in a IDOC to IDOC scenario or IDOC to File scenario
    Thanx
    Ahmad

  • Maintaining distribution model for ALE audit.

    hi,
    I have to create a bcakground job in the receiver system to periodically send back the audit data to the sender system. To do the same i need to maintain a distribution model for ALe audit. For doing so i don't have the modal view XIDEMO in BD64. How to implement. Also in SM59 while maintaing RFC destination it says U6D_700 no longer exists. Please suggest how to get it resolved.
    Regards
    Akash SInha
    Edited by: Akash Sinha on Dec 16, 2009 9:59 AM

    Hello,
    You can create your own model view in BD64. In the model view add message type ALEAUD with sender as your system name and logical system of your reciever.
    Also configure the Partner profile in WE20, with outbound parameter ALEAUD and IDoc Type ALEAUD01.
    Schedule the program RBDSTATE with the required parameters.
    BR/Yogesh

  • Ale audit steps

    Hi,
    Can anybody please explain ale audit steps.
    1. i am sending idocs from send1 rece1. how i can i know the status of outbound idocs using ale audit
    i want to know the process behinds this.

    Hi Sudhakar..
    ALE Audit Steps:
    In the Sender system:
    1. In the Model view (BD64) : Add the Message type ALEAUD
       Note: Sender and Receiver has to be reverse..
       Distribute the Model view to the Receiver system.
    2. Audit data can be confirmed periodically back to the sending system, you have to use the program RBDSTATE to specify a variant and schedule a background job in the receiving system
    <b>Reward if Helpful</b>

  • Error while processing audit message

    hi
    I'm running a reconciliation, and throws me the following error .
    please help me
    ERROR,28 Aug 2009 03:50:32,492,[XELLERATE.AUDITOR],Error while processing audit message
    java.lang.NullPointerException
    at com.thortech.xl.audit.engine.AuditEngine.processSingleAudJmsEntry(Unknown Source)
    at com.thortech.xl.audit.engine.AuditEngine.processOfflineNew(Unknown Source)
    at com.thortech.xl.audit.engine.jms.XLAuditMessageHandler.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.AuditMessageHandlerMDB.onMessage(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
    at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
    at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)

    Seems like Article ID: 864906.1
    Cause
    The cause of this problem is, the entries in aud_jms table which were not processed
    after run "Issue Audit Messages Task" schedule task are not complete audit entries.
    Solution
    1. Run the following query.
    select IDENTIFIER from aud_jms where aud_class='UserProfileAuditor'
    IDENTIFIER is the usr_key.
    Save the output of above query into text file. lets say a.txt, the a.txt will looks like........
    a.txt
    122896 122896 122997 122999 122999
    122986
    122997
    2. Delete the all entries (rows ) from aud_jms table
    3. Run the GenerateSnapshot.sh/GenerateSnapshot.bat using following parameter.
    GenerateSnapshot.bat -inputFile E:\OIM9101\XLServer\xellerate\bin\a.txt -missingSnapshots -username xelsysadm -password xelsysadm -numOfThreads 2
    Where E:\OIM9101\XLServer\xellerate\bin\a.txt is the location of text file which is created in Step1.
    4. Run the "Issue Audit Messages Task" schedule task

  • Setup of ALE Audit in SAP Receiver System

    Hello,
    for a scenario JDBC -> XI -> IDoc,  I have to setup ALE Audit in the receiver SAP sytem.
    I have followed the steps in the How-To-Guide (Handle acknowledgements for IDocs):
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    However I just want to have acknowledgements sent back to SAP XI for a specific type of IDoc (source coming from the database) and not all received IDocs as there are different sender systems sending IDocs (some of them via XI some of them directly).
    Is there a way to configure ALE Audit in a way ALEAUDITs are sent just for specific sender systems / IDoc types. I want to avoid that the SAP XI system receives ALEAUDIT for all inbound IDocs.

    Hey,
    This document describe how the handle audit the the sender and the receiver systems are SAP system, when one of the sides (sender/receiver) is not SAP system,
    than the configuration become much more complex.
    As of XI SP18, there are ways to control ALEAUD,
    for more information, read:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393634373435%7d
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc

  • Problem in Audit Message

    Hi All,
    We developed a custom module for printing the AUDIT MESSAGE.
    But the audit log messages are not displayed in the communication channel monitoring.
    But if we use the same EJB modules in receiver side it is diplaying in the audit log of communication channel monitoring.
    Is there is any difference in the sender side and receiver side EJB objects.
    If somebody can help in this secnario will be highly appreiciated.
    Here is the sample code:
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              String SIGNATURE =
                   "process(ModuleContext moduleContext, ModuleData inputModuleData)";
              TRACE.entering(
                   SIGNATURE,
                   new Object[] { moduleContext, inputModuleData });
              Object obj = null;
              Message msgg = null;
              try {
                   obj = inputModuleData.getPrincipalData();
                   Message msg = null;
                   msg=(Message) obj;
                   msgg = (Message) inputModuleData.getPrincipalData();
                   AuditMessageKey amk =
                        new AuditMessageKey(
                             msgg.getMessageId(),
                             AuditDirection.INBOUND);
                   Audit.addAuditLogEntry(
                        amk,
                        AuditLogStatus.SUCCESS,
                        "Content Modify XIEmptyFile: Module Called");
              } catch (Exception e) {
                   TRACE.catching(SIGNATURE, e);
                   if (obj != null)
                        TRACE.errorT(
                             SIGNATURE,
                             "Input ModuleData does not contain an object that implements the XI message interface. The object class is: {0}",
                             new Object[] { obj.getClass().getName()});
                   else
                        TRACE.errorT(
                             SIGNATURE,
                             "Input ModuleData contains only null as XI message");
                   ModuleException me = new ModuleException(e);
                   TRACE.throwing(SIGNATURE, me);
                   throw me;
              return inputModuleData;
    Thanks and Regards
    Art Team

    You have hasdcoded AuditDirection.INBOUND.
    You have to distinguish between AuditDirection.INBOUND and AuditDirection.OUTBOUND
    Regards
    Stefan

  • Audit message in adapter module

    hi all
    I have developed a adapter module, in which I write some audit message. If the message is processed successfully, then I can see the audit message in RWB. But when some errors happen and some exceptions are thrown, I cannot see any audit message in RWB, what's more , I even cannot find the message in the adapter message monitoring. That means the message is lost. The only informaiton I can get is from the communication channel monitoring:
    <i>exception caught during processing mail message [4]com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/PgpMsg caused by: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process.</i>
    the SP level of XI is 18.
    Any idea?
    Thanks!
    Regards,
    Hui

    Hi Rajeev,
    That's what I do. My catch statement is as follow:
    catch(Exception e) {
    Audit.addAuditLogEntry(
                        amk,
                        AuditLogStatus.ERROR,
                         "Error while message processing----"
                        + e.getMessage());
    throw new ModuleException(e);
    I except that when an Exception is caught, it writes a audit log and throw a ModuleException. The message should be in error state and be resent several times automatically. But the current situation is: I cannot find the message in adapter message monitoring and the whole message is lost. The only information I can get is from the communication channel monitoring.

  • ALE Audit - ALE logical system

    Dear all,
    we encounter an issue with an integration workflow that sends an ALE audit back to the R/3 system (Scenario:
    R/3 -IDOC-> |XI-BPE| -HTTP->Partner)
    Everything works fine except the ALE audit from the process to the R/3 System.
    In the receiver agreement we use a header mapping to map the Sender.
    Is there any difference between usual IDOC posting (for which our config works of course) and ALE Audit IDOCs?
    Thanks in advance,
    Helge

    Hi Helge,
    if you're using BPM in the XI
    this is what you could to:
    create a new processing code for inbound aleaudits
    and change a little the standard function module
    for inbound ale audits (the only change
    would be a table in which you'd map
    BPM names to just on partner profile)
    this way if you'd be using a new BPM
    you will only have to add one record to the table
    and the processing will always be done correctly
    with just one partner profile
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • ALE Audit System

    Does ALE audit system work between a non-sap sending system and SAP as receiving system. If yes, then how is the "audit table" and "audit analysis program" step taken care of?

    Hi Helge,
    if you're using BPM in the XI
    this is what you could to:
    create a new processing code for inbound aleaudits
    and change a little the standard function module
    for inbound ale audits (the only change
    would be a table in which you'd map
    BPM names to just on partner profile)
    this way if you'd be using a new BPM
    you will only have to add one record to the table
    and the processing will always be done correctly
    with just one partner profile
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Problem while sending back ALE audit Idoc

    Hi,
    I have a scenario in which an idoc is send from R/3 system to file service using XI. Here we have used BPM, in which Integraion process is the receiver of the idoc and then it is send to file system using file adapter. All the business services and Integration processess are created under Party. We expect XI would send implicit ALE audit Idocs to sender R/3 system.
    I have created a communication channel pointing to sender R/3 system. After maintaining everything also it is throwing an error saying that unable to convert sender service to an idoc partner or ALE logical system.
    Please help me in resolving this issue.
    Thanks,
    Vijay Kumar T.

    Hi,
    I have maintained adapter specific parameters for my integration process and those parameters are corresponding to sender business system parameters. As i told, i am using party and corresponding identifiers. My idoc is coming and successfully transmitted to file system but only problem is with acknowledgement that need to reach sender R/3 system.
    Thanks,
    Vijay Kumar T.

  • Setting up ALE AUDIT between XI and R#.

    Hi Experts ,
                                  I have a scenerio here. I know most of you will be asking me to google and search SDN blogs for the same , but let me tell you , I have already gone through most of them , specially the HOW TO  manuals.
    Mine is a R3 to XI to Web scenerio.
    Initial  rquirement is, R3 will trigger a delivery Idoc, and, if it reaches XI and failes in mapping do to any reason , it will  trigger back to R3 the ALE AUDIT idoc. I have gone through the documents, but I cant make out how to I connect the failure of mapping of the specific idoc information , and tigger the ALE AUDIT  idoc back to R3.
    Can any one help me out with the scenerio, I just am unable to visualise the scenerio.
    I have medium level experience in ALE idoc settings .
    Regards,
    Arnab.

    There is no standard way to send ALE IDOC back to SAP R3 if mapping fails in middleware.
    But this can be handled through BPM.I am not sure if you are from XI background or R3 background
      The BPM design looks like this,
    Receive( IDOCs from R3 ) -
    > Block step ( Inside block Mapping-> If mapping success>.Send to Target application
                                                                                    If mapping Fails(System Error)>Mapping (MAP ALE IDOC with respective details)->Send IDOC to R3 system.
    Hope thsi helps

  • Executing RBDSTATE for ALE-Audit Processing

    Hi Experts,
    when I execute RBDSTATE into my Z_Function for BOMMAT Inbound Processing, it doesn't find any IDoc for the ALE-Audit Processing :
    "No data relevant to audit were selected."
    Any idea ?
    Regards,
    David

    Hi Gordon,
    I've decided to create another Distribution Model, only for ALEAUD (why ? I don't know...).
    Now the IDoc ALEAUD is created into the Target System, but with Status is 02 "Could not find code page for receiving system".
    Regards,
    David

  • OIM 9102 Issued Audit Message null pointer

    Hi All,
    I have a 9102 system with an empty upa_ud_formfields table. We tried running the Issue Audit Message job (which was disabled for some reason) and got a NPE.
    I found the same thing here but never answered.
    Re: Audit reports in OIM 9102
    any help would be appreciated.
    Thanx
    Fred

    1. XL.EnableExceptionReports needs to be set to TRUE and XL.UserProfileAuditDataCollection needs to be set to Resource Form.
    2. In the Audit Report Developers Guide, section 5.3.1 Using the UPA Form Data Upgrade Utility, you need to perform the steps to enable the usable of these fields (http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14045/reporting.htm#CEGFCIAD).
    3. Restart Server.
    -Kevin

Maybe you are looking for