Reg : Reprocessing of failed messages in SAP PI 7.3.1 Single Stack

Hi All,
          I am working on FILE to IDOC Interface. I have encountered a new problem today.
          When we started testing this interface, the message were failing at the IDOC Adapter.
          When I debuged the error, I found that, we were passing chars for a Date Field in IDOC.
           I updated the mapping on the same and when I tested the Interface it works fine end to end.
          However when I want reprocess the failed message from monitoring, the failed messages are being reprocessed from the point of failure and not from the beginning of Pipeline
          Since the changes are made at the mapping , none of failed messages are being processed.Did any face the same issue and how did u guys resolve it. Can you please help me on this.
Thanks
Siva

Hi Siva
That is the correct behavior in PI. Reprocessing of failed messages are always restarted from the point of failure and not the beginning of the pipeline.
If you want the messages to start at the beginning of the pipeline, you need to resend them, in your case, put the file in the source directory.
Rgds
Eng Swee

Similar Messages

  • Archiving  and Deleting of XML Messages in SAP NetWeaver PI 7.31 single stack

    Hello my XI friends!
    Need step by Step Guide to Archiving
    and Deleting of XML Messages in
    SAP NetWeaver PI 7.31 single stack
    Similar to these instructions
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6fa21c5a7?quicklink=index&overridelayout=true
    Regards,
    Rinaz

    Please check the below blog  for archiving java only-(XMLDAS)
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/11/16/aae-archiving-in-sap-pi-711-with-xmldas
    For deletion there is standard delete job..
    https://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/b2e0036b156ff4e10000000a42189b/frameset.htm
    Message was edited by: Hareesh Gampa

  • Reprocessing a Failed Message

    Scenario : File to HTTP
    If my HTTP Service is down on the Receiver Side then, automatically I need XI to Retry for Certain times , before it Failes. How should I acheive the above task?
    Any pointers or suggestions or BLOGS will be appreicated.
    Thanks.

    Hi Mohan,
    Have a look at this thread..
    HTTP Adapter
    Check this Naveen's weblog...
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    Regards
    Anand
    Message was edited by: Anand Torgal

  • SAP PI/PO 7.31 - Single Stack - Best way of handling 'TBDL' messages

    Hi All,
    I would like to know what is the best way of processing 'TBDL' messages that are shown in 7.31 message monitoring.
    One way I know is to resend the messages but if the volume is huge (100k+), is there a strategy to reprocess them automatically by creating a Job? AFAIK, a job only picks NDLV messages for reprocessing.
    Please share some information on handling such scenarios.
    (PS: I've been through many links with TBDL issue but strategy wise, could not find any concrete responses. One of them suggested cancelling all using SQL command. I would like to know if there are some other ways.)
    Thanks,
    Abhishek

    Hi Abhishek,
    1. TBDL message are handled automatically by the system. Is there a specific time frame(or any setting) under which they start getting delivered automatically? Or it waits for resource/thread recovery?
    - TBDL is an intermediate message status. Depending on the number of queues/threads for this adapter type, you will also have 5/10 messages in Delivering status. Something is preventing these messages from being delivered and this results in the backlog of messages in TBDL status. Only when the messages in Delivering status are processed will the threads be released and then become available for the messages which are backed up in TBDL.
    2. If messages remain in TBDL for a longer time than expected(like 3-4 days), is there a way to resend them? Any job configuration that can do this?
    - There is no way to resend TBDL messages. As above, this is an intermediate status. The focus should be on the messages in Delivering status and why these are not reaching their target and thus freeing up the threads for the backlog.
    3. I would like to understand what factors on sender/receiver side can cause this to happen? Any supporting/clarifying documents? (1808554 is already analyzed and we are on a higher patch level)
    - It is very difficult to answer this. There could be many different factors which could cause this to happen. Receiver system may not be available, network issues, bugs on SAP side etc. It really depends on the individual case. Best practice here would be to ensure any timeout settings are configured for the relevant adapter types. This can help prevent issues.
    4. Changing message status at DB level is advisable or not? If yes, then setting them to NDLV and reprocessing using a job is suggested?
    We do not advise to make any changes to message status at DB level. This option should only ever be used as an absolute last resort.
    Ultimately the best way to get to the bottom of this is capture Java Thread dumps and create a support ticket with SAP.
    Regards
    Mark

  • SLDCHECK error when configuring SAP-CRM 7.0 to Single Stack SAP-PI 7.31 Java only

    Hello Experts,
    This would be a usual exercise when we are connecting SAP application to SAP-PI 7.31 JAVA only and the most usually asked question in different ways. I had performed successfully connection test according to Michael Blog or https://help.sap.com/saphelp_nw73/helpdata/en/3b/dec6eaf3ac42fba8f92f2413ec930f/content.htm
    Both SAP-CRM 7.0 and SAP-PI 7.31 JAVA only are hosted on the same physical hardware.
    Surprisingly , when tested with Tx SLDCHECK it shows error that RFC destination SAPSLDAPI and LCRSAPRFC are missing "SLD Configuration error".
    Do we  have to still consider creating the 2 RFC destination SAPSLDAPI and LCRSAPRFC
    Regards
    Rebecca

    Hello,
    Please refer to the following link:
    https://help.sap.com/saphelp_nw73/helpdata/en/48/a9bc457e28674be10000000a421937/content.htm
    Thanks.
    Jim

  • RFC logon failed with message: Failed: Connect to SAP  gateway failed

    I installed CI instance fine and i am stopped here with this error at the end of DB instance install. Could someone let me know what could  be the reason for this. Is there any fix or workaround to continue the install.
    INFO       2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
              CAbRfcImpl::setRfcConnectParam
    RFC parameter ASHOST set to value hostSAP.
    INFO       2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
              CAbRfcImpl::setRfcConnectParam
    RFC parameter SYSNR set to value 09.
    INFO       2006-09-16 01:13:02 [iaxxrfcimp.cpp:543]
              CAbRfcImpl::checkConnectInfo
    RFC connection information checked successfully.
    ERROR      2006-09-16 01:13:02 [iaxxrfcimp.cpp:450]
              CAbRfcImpl::openRfcConn
    FRF-00007  Unable to open RFC connection.
    ERROR      2006-09-16 01:13:02
              CJSlibModule::writeError_impl()
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP  gateway failed
    Connect_PM  GWHOST=hostSAP, GWSERV=sapgw09, ASHOST=hostSAP, SYSNR=09
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host hostSAP, service 3309)
    TIME        Sat Sep 16 01:13:02 2006
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8528
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     4
    Thanks,
    Ram

    at the end of the database instance installation SAPInst is doing some RFCs to the CI.
    The logfile states that the gateway on host hostSAP with the systemnumber 09 is not reachable.
    Please check if you have started the central instance on this machine.
    peter

  • XI messages failed with com.sap.aii.af.ra.ms.api.ConfigException

    Hi forum experts,
    A group of POs were sent at the same time, but once a while we get one PO failed with the below error.  Could someone help me understand what the below error message mean.  Your help would be greatly appreciated.
    thanks,
    Velvet
    <?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>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.ConfigException: Could not check current user (PIISUSER) against technical IS service user. Reason: Failed to read IS ServiceUser Id from EP. Reason: null</SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack />
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>

    Hi,
      we are facing exactly the same problem. Where you able to solve it? And how?
    Thanks.
    S.Socratous

  • FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway fa

    We are getting below error while installing CRM 4.1 on oralce,sunsolaris.
    ERROR      2007-09-27 01:19:46
               CJSlibModule::writeError_impl()
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway failed
    Connect_PM  GWHOST=uapkb2dh, GWSERV=sapgw29, ASHOST=uapkb2dh, SYSNR=29
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host uapkb2dh, service 3329)
    TIME        Thu Sep 27 01:19:46 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8642
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     2
    Regards,
    Madhu.

    We are getting below error while installing CRM 4.1 on oralce,sunsolaris.
    ERROR      2007-09-27 01:19:46
               CJSlibModule::writeError_impl()
    FRF-00063  RFC logon failed with message: Failed: Connect to SAP gateway failed
    Connect_PM  GWHOST=uapkb2dh, GWSERV=sapgw29, ASHOST=uapkb2dh, SYSNR=29
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host uapkb2dh, service 3329)
    TIME        Thu Sep 27 01:19:46 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8642
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       146
    ERRNO TEXT  Connection refused
    COUNTER     2
    Regards,
    Madhu.

  • Failed Messages

    Hi,
    What are the options of handling failed messages that sit in the message monitor? These are IDoc messages coming from SAP and are processed by the 'Transaction' type. I prefer the failed messages to automatically reprocess. Please advise. Thanks.
    Regards,
    V M.

    V M,
    if you feed the Query Message action like Christian said, then you should configure a repeater with the string output of the action:
    getMessageList.BufferListDoc{/JCOMessageList/JCOMessage}
    Inside the repeater use a Read Message action and link the Message ID which comes from the repeater to the Read Message property "MessageId":
    forAllMessages.Output{/JCOMessage/MessageId}
    If there are no messages found, the repeater will not execute and there will be no error.
    Michael

  • Where & what to look for failed messages analysis ?

    Hi,
        Im new to PI. Messages are failing in PI.
       Just want to know where exactly to look in SXMB_ADM or RWB for the failed messages and what do I need to look in there to analyze these failed messages ?
    Please help.
    Thanks
    Sourav

    hi,
    ou use message monitoring in the following cases:
    ● To track the status of messages
    ● To find errors that have occurred and establish what caused them
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/2f/4e313f8815d036e10000000a114084/content.htm
    You use end-to-end monitoring in the following cases:
    ● If you want to monitor message processing steps in a number of SAP components (to be configured).
    ● If you want to monitor the path of individual messages through these SAP components, from start to end.
    Check this help for further info:
    http://help.sap.com/saphelp_nw04/helpdata/en/82/9e8dfe9eadbd4b9194c433e646b84e/content.htm
    and also
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7c/14b5765255e345a9e3f044f1e9bbbf/frameset.htm
    refer this forum replies too..
    Questions about Failed Messages
    Thanks,
    Vijaya

  • Automatic Reprocess of Trfc messages in PI production server using RSARFCEX

    Hello All,
    i am getting frequent errors of SYSFAIL in TRFC queue in PI. I am trying to schedule RSARFCEX report as the Background job, please advice me "is this correct solution" and also please tell whether this will effect any other messages other than reprocessing the failed TRFC messages.

    Hi
    RSARFCEX is the report for restarting messages with trfc errors. But if the messages are failed because of wrong entries in ALE configurations in case of IDoc scenarios then you need to resolve them manually.

  • Send IDOC Messages to SAP

    I have a text file which contains lots of records. I have created a schema for that text file.Then I mapped this schema with IDOC (Acc_Document03)schema.Now I want to send this IDOC message to SAP.There is not shown any errors by BizTalk admin console.But
    the message is not reached to SAP.But when I  send this IDOC message to a location through File adapter instead of SAP adapter then it has reached there .Why this is happening ?
    Please also tell me how to send multiple IDOC message to SAP ?

    Hi Glenn.
    I got the following error:
    The adapter failed to transmit message going to send port "Interplx.SAP_SendPort" with URL "sap://CLIENT=130;LANG=EN;@A/10.151.97.51/00?RfcSdkTrace=False&AbapDebug=False&ListenerGwHost=10.151.97.51&ListenerGwServ=SAPGW00&ListenerProgramId=BTSIDOC_DEV-".
    It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Xml.XmlException: Start element 'ITEMNO_ACC' from namespace 'http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/ACC_DOCUMENT03//701' expected. Found element
    'ITEMNO_ACC' from namespace ''.
    Server stack trace: 
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    Prakash

  • Monitoring of failed Messages in XI.. Any one place to see them???

    Hi All,
    Is there any place where we can see all the failed messages for particular week or particular month in XI.
    Like in SAP, we can go and see in WE02 transaction where we can see all the failed idocs.
    In the same way is there anyway where we can see the failed messages in XI??
    I know in SXMB_MONI, we can see only the ones which fails at integration engine and in RWB , we need to select particular selections to go and see the failed ones at Adapter engine level.
    As a functional people point of view, if they want to see the all the failed ones in XI.. which one place i can suggest to see them... instead of going 2 places like SXMB_MONI and Runtime Workbench.
    Waiting for your answers.
    Regards
    Deepthi.

    From my point of view RWB is best option because you can filter messages there with error, with success and with all differenr options.
    But in case of MONI sometimes, messages sometimes have problem on sender side and it may happen it will not be seen in MONI.
    So RWB can be used for testing as well as viewing the message status.
    but only the concern is functional guy should have knowledge of it, because it is only part of XI system and on other hand MONI is available on both R3 and XI.
    BR,
    Alok

  • Extracting Value from Message Payload of the Failed Messages

    Hi Experts,
    We are working on PI 7.0. We have an asynchronous scenario from JMS to IDOC. Vehicle related data is being sent to SAP.
    We have a requirement where in we have to extract the vehicle commission number (a field in message payload) of all the failed messages in sxmb_moni(mapping failure).
    Is there a way we can achieve this? Can we write some OS level script to the same.
    If yes please help me out here.
    This is a critical issue.
    Kindly advice.
    Regards,
    Pooja

    Hi Pooja,
    We have done something similar, but instead of the Vehicle Comm Num, we just retrieved our Transaction ID. Please see the links below. These will send out an email if there was an issue with the message mapping.
    Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 1 – ESR
    Trigger customized email on error in PI
    XI Alerts from UDF using file adapter.
    Trigger one alert per failed message
    How to send variable data through alert mail without BPM
    Raise Alert and also Execute the message
    Regards,
    Jannus

  • CcBPM: can we resend the failed message from PI to R/3

    Hi All,
    I have  a scenario where I need to process 4 separate files in a fixed sequenec in R/3. (File-1 first, then File-2, File-3 and then File-4). These files will come to PI at same time.
    I understand CCBPM may be the only way to do it elegantly. (please advise if otherwise)
    My questions on CCBPM approach:
    1. If out of the 4 files, The first file fails to update data in R/3 (due to missing config), can I make the ccBPM to stop and not process other files.
    2. So approach in point 1 above means, ccBPM will have to wait for an acknowledgement from SAP or run some RFC command to check if data has actually been posted...am I right? 
    3. Now, If the user manually corrects the config in R/3, can I re-run this interface from PI(read ccBPM) to start the processing of 1st file( which failed previously).
    4. If it succeeds to post data in SAP, then will ccBPM ensure that all other files are sent for processing as they all need to go in a sequence.
    5. Is this message re-running possible from SXI_MONITOR or for ccBPM failed messages there is something else. ( aplogies for this basic question - I am new to ccBPM approach )
    Appreciate your help on same.
    Many thanks
    SK

    Hi SK,
    plz find all required informations at [SAP Help: Integraton Processes (ccBPM)|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm]
    And, yes, you are new to BPM, but obvisiously experienced in IT at all and additional familiar with SAP applications. Look forward to run your first BP, it is a very welcome satisfaction to see the checkered flag. Only the best drivers are going to see it
    Regards,
    Udo

Maybe you are looking for