Requirement for Alert when outbound idocs are failing

SAP A -
IDOCS -
>  SAP B
We currently have a SAP A system sending outbound idocs to SAP B system via ALE. The current issue is when SAP B system is down. The outbound idocs being sent from SAP A system fail.
We want to get a alert when the System B is down.
What are the options available in SAP to achieve this requirement.
Thanks in advance for any inputs that will be provided.
Regards,
Chandra Kumar

Dear Chandra,
The logical solution to the problem is as below,
You need to have a Function module which checks the RFC connections between two systems before sending idoc. If the connection is found OK then the idoc should be send else a Alert message should be raised u201CSystem B is down, idoc can not be processedu201D
Please let me know if this solution helped in resolving your query.
Regards
Dinesh

Similar Messages

  • How to write a requirement for sales order outbound iDOC

    i need to write the requirement for sales order IDOC
    Please help

    Hi
    From the sales order screen itself you can create the delivery from the menu
    Sales order -> deliver/y
    or from VL01N , enter shipping point and Order number, create and save
    Reward points if useful
    Regards
    Anji

  • User exit required for the ASN outbound IDoc

    Hi All
    Guys ive got  a problem.
    I need to populate a field that SAP does not populate by default in the outbound ASN(856).
    I need to therefore find an exit, in the function module "IDOC_OUTPUT_DELVRY"
    I went by the standard process of finding the exit(Cntrl F ) in the main program.
    but the exit I came up with does not Kick in?!
    I wonder whats going wrong.
    Can any one please help me , along with proper explanations!
    Thanks!
    Im sure Ferry will have a  crisp to the point answer!

    Implement this BADI IDOC_CREATION_CHECK....

  • Automated error email notification when outbound IDOC fails

    Hi,
    The requirement is that whenever the outbound IDOC of message type PAYEXT, basic type PEXR2002, fails, then email has to be trigerred to a group id.
    I had suggested to write a report program that runs as a job. If the IDOC goes to error status then mail will be sent from this report. Client prefers it to be done through workflow.
    There is a standard process code for outbound IDOC failure handling EDIO (we40). standard task 7989 has been assigned to this process code. I dont want to modify this standard task as I am not sure of impact.
    Terminating event for this task is 'ERRORPROCESSCOMPLETD'.
    I have developed the workflow that has trigerring event 'ERRORPROCESSCOMPLETD' and bound with the IDOC number. This will send mail to the group id with the IDOC details
    Now issue is that, I am not sure if standard process EDIO will be trigerred automatically, or should we configure anywhere. Since this is standard outbound IDOC, I am not able to add the process code in partner profile.
    Please give your inputs or any other alternate solution to send mail through workflow when  outbound IDOC fails.
    Thanks in advance.

    Hi,
    I guess in your outbound partner profile for PAYEXT. you need to add process code  EDIO in message control TAb. WHich will cause to trigger the workflow which will send the notification.

  • How to send alert when receiver JMS adapter fails? Please help!

    Hi experts,
       I have the following Asynchronous scenario:
       SAP R/3 -
    >IDOC----->XI>JMS--->BizTalk.
       I am sending IDOC from a given SAP R/3 system to XI. XI then sends the same to BizTalk via JMS adapter. In SXMB_MONI the message is successfully processed as it shows checked flag. But if I see the JMS communication channel status in runtime workbench then there it shows error saying JMS queue user id or password not found.
    How to send this JMS adapter error as alert?
    I also tried configuring alert rule in runtime workbench but still it does not trigger any error.
    I have also verified the alert category and everything is fine with that.
    What could be the problem? How can I send an alert when an Async adapter fails?
    Thanks & Regards,
    Gopal

    Hi! GOPAL,
    Once make sure whther all the below mentioned steps are configured correctly or not ok
    1: First make sure whether you are working on SAP XI or PI 7.1
               a) If XI you need to create Alerts (ALert Category) in CCMS ABAP stack in the
                        Tcode. ALRTCATDEF
               b) Open the alert category/classification definition environment (transaction ALRTCATDEF).
         ensure you are in change mode.
               c) In the group box with the alert classifications, right-click All classifications to open the   
                    context menu, and choose Create.
               d) Under Classification, enter a name for the classification.
               e) Under Description, enter a description of the classification.
               f)  Save your entries.
               g) Then go to RWB-->Go to ALERT Configuation and ADD the RULES to your alert category gor 
         which created there in the abap stack.
    Note Suppose if you want those ALERTS to come to your MAIL then again go to ABAP STACK and go to Tcode.  ALRTCATDEF and select your alert category press FIxed Recepients and there give your SAP XI ID's then  u can see those alerts in RWB-->ALERT INBOX
    Suppoe if you want those to mail then ask the basis team to link your company mail or personal mail ID to your SAP ID.
    2. Supppose if you are working on PI 7.1 Server.
         Only difference is creating Alert Category...Here you can create your ALERT Classification I mean   
         alert caltegory in the ESR (Enterprise Service Repository )
         Software Component >S CVersion>NameSpace-->Alert Category.
         You can configure how u configure there in abap stack such as long and short text every thing 
          except Fixed Receipients you need to give that recepients there only in ABAP STACK.
          what ever ALERT CATEGORY you are creating will reflect there in the ABAP STACK
         even you can Use these alerts Category in BPM --> CONTROL STEP -->Configure here in this step
    You can also reach alerts like this.
    NOTE  Most Important point is You can also view your mails or Alerts in the T Code:: SOST.
    Regards:
    Amar Srinivas ELi

  • Nace config for DESADV type Outbound IDOC of type 856 at Delivery level

    Hi All,
    My requirment is to trigger Outbound IDOC of type 856 at delivery level & not at shippment level & one line per ASN.
    How can I configure this in NACE?
    Thanks in Advance.

    Hi Raj,
    For example, you can use the ASN0 output condition as a SAP standard. please go to NACE t-code and select the V2 for shipping and
    go into the ASN0 output type configuration. in the that sceen;
    1)give access sequence regarding of your requirment,  for general data.
    2)in the default values tab, Dispatch time can be 4= send immediately (when saving the application),  transmission medium should be A Distribution (ALE) and partne function SH.
    3 go in to the processing routines for the output type and Programcan be configured as RSNASTED, Form Routine as ALE_PROCESSING. But these are SAP Standard and they are changing your requirements with the ABAP tricks.
    After the output type configuration, go in to the output condition from nace t-code same. And create condition for ASN0 output type. when creating your conditions regarding of your acces sequence, you should  Dispatch time can be 4= send immediately (when saving the application),  transmission medium should be A Distribution (ALE) and partne function SH like output type configuration,too.
    I hope these will very useful to meet your requirements. But additionally, you should also contact with a ABAPER for the program and routines.
    Regards,

  • Outbound Idocs are not generated for some material number MATNR

    Hi all,
    We are using a custom program to process the IDOCS to some other thirdparty systems.
    but the problem is the IDOCS are not generated and also we can't find the IDocs in TRFC also.
    But it is working for the other matnr.
    I have already debug the custom program, and it is taking all the inputs correctly.
    plz guide me guys

    Hi Praveen,
    This is the code I am using
    LOOP AT GS-MATNR_WERKS ASSIGNING <MATNR_WERKS>
    GS-COUNT = GS-COUNT + 1.
        GS-TEXT  = 'IDOC for Material & & (& of &) is just being created'(001).
        REPLACE '&' WITH <MATNR_WERKS>-MATNR INTO GS-TEXT.
        REPLACE '&' WITH <MATNR_WERKS>-WERKS INTO GS-TEXT.
        REPLACE '&' WITH GS-COUNT            INTO GS-TEXT.
        REPLACE '&' WITH GS-LINES            INTO GS-TEXT.
        CONDENSE GS-TEXT.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
             EXPORTING
                  TEXT = GS-TEXT
    validation code for the MATNR & WEKRS
    CALL FUNCTION 'Z_MASTERIDOC_DISTRIB_ZCOPEBOM'
             EXPORTING
                  MATNR        = <MATNR_WERKS>-MATNR
                  WERKS        = <MATNR_WERKS>-WERKS
                  MESSAGE_TYPE = P_MESTYP
    GS-CREATED = GS-CREATED + 1.
        GS-COMMIT  = GS-COMMIT + 1.
        IF GS-COMMIT >= 100.
          GS-COMMIT = 0.
          COMMIT WORK.
        ENDIF

  • Trigger IDoc when outbound documents are deleted

    Hi Experts,
    I am working on a scenario where in when delivery document is deleted then we need to have a IDoc to be triggered and sent to the receiver.
    I understand that when we create/change delivery, there is a way to trigger IDoc (i.e., through message control). But when we delete a delivery, I am not sure, we have standard mechanism to trigger an IDoc. Can we have a standard way of making this happen?
    Thanks & Regards,
    Suraj Kumar

    Hi,
    In the NACE transaction, Click on the APPLICATION V2 and create a new OUTPUT type with Z as prefix
    In the Processing Routine Tab in the control data enter the MEDIUM as  6 which is the  EDI and  maintain the PROGRAM & SMARTFORM as developed by the ABAPer
    Now maintain the CONDITION RECORDS with the MEDIUM 6  and the LS as Partner function
    Now with the Help of your ABAPer, define  the PARTNER PROFILES in WE20 and the Message types .
    This will trigger the OUTBOUND idoc to the other system.
    Please check these settings and revert back if you need more details
    regars,
    santosh

  • Idocs are failing

    Hi,
    We have a Z program which creates Inbound idocs by processing the files at the application layer. Once the idoc is procesed, based on our business requirement we split the parent idoc into more than one idoc with different message type and process them once again. Now we are seeing a new problem, the child idocs are not getting processed at all and simply moving into the status 51 with with a special message "Application log is already open and cannot be reopened." or "Period indicator T is not defined". These messages are not maintained by us as we maintain some messages to update the application log.  There is no instance where we have failed to close the application log.  Strange things is idocs gets posted when I manually process it by using program RBDPROCESS. They either get posted or will remain in status 51 - with valid message. 
    I have checked all the settings for ALE and Idocs. Everything is working fine. Actually we have three testing sytems, the same setup works fine on one system but is failing on the other two boxes.
    Please help me to resolve this.
    Thank you,
    Ganesh Prasanna.T

    hi ganesh,
    i believe u split ur idocs based on some conditions. plz chk if u r meeting all the conditions.
    also ask basis team if they have any option 2 clear the buffer like if any.
    am not very much sure.
    just try n chk out if helpful.
    reward if helpful
    kiran

  • Outbound IDocs are not visuible in Middleware system(SeeBeyond)

    Hi Experts,
    We need need your expertise help on this issue.
    Issue:
    The Outbound IDocs which are in status 12 in SAP system are not visuible in Middleware system(SeeBeyond) for customized message type( forecast -ZFOSHT)
    If we create a IDoc by using customized program, IDoc(eg.0000000012345678) is successfully created and the status of IDoc is 12. but not visible in Seebeyond.
    but If we are re sending the same IDoc(0000000012345678)  through WE19(IDoc creation)  without changing any thing,the newely created IDoc reached to the Seebeyond.
    Please look the issue and help me on this.
    Raghavendrarao.R
    +91 9739006564

    Hi,
    After your Function module for IDoc creation either it is Z function module or standard one "MASTER_IDOC_DISTRIBUTE" write these
    CALL FUNCTION 'DB_COMMIT'.
    CALL FUNCTION 'DEQUEUE_ALL'.
    COMMIT WORK.
    This should solve your problem.

  • Requirement for Pricing - When region is AR

    Hi Gurus!
    I have done this before so wanted to get some help on this "Requirement for pricing". I need to create  a new Pricing requirement . Basically a new condition table A123 has been created for Access Sequence ZSDR and I was asked to create a new requirement for pricing for sme which teh SD people would fill the requirement number that I create in that. This required for a partcular region "AR', which I believe is that when the region is 'AR' this prcing requiremnt should folow. I am not sure at all as how to go about and would require you help if someone has done tihs type of thing before.
    The details that I ahve been given are as follows:
    Key conbination : Sales org/ material group 4/Customer
    Below are the required fields for this transaction
    Sales Org u2013 CA03
    Material Group u2013 ZTR
    Valid On u2013 defaults to todayu2019s date
    Customer
    I need to create a new Pricing requirement with this. Could someone please help me out with this?
    Thanks,

    I have been able to create a new requirement under the pricing and numbered it 927. Then I activate it and after that I ran the program  RV80HGEN to activate all the routines. It says there is no main program for the routine RV61A927. I even checked the include program RV61ANNN and it does show my new routine there but above that it does not show in the Function tgroup that it exists. Is there a way I can activate it or include it so that it gets attached to the main program?
    Thanks

  • IBots - How to send an alert when NO records are returned

    It seems straightforward enough to send an alert when a query produces results, but I want to do the opposite. For instance, I only want to get an email at 7am when an object has no data in it for the current day. I do not want to know every day that records are returned.
    how would i set up such an iBot such that it fires every day, and only emails me when no records are returned form the query?

    1) Create a small report called "No Records" and create an unscheduled iBot for this report.
    2) You have your iBot created for the original report, yes? Okay. If you don't want any notification when records are produced for this iBot, then in the Destinations tab, make sure all the boxes are unchecked for "Specific Devices."
    3) Now in the Advanced tab, click on the "Add Action" button under the "Execute these actions when no records are returned by the conditional request" section.
    4) Click on "iBot."
    5) Navigate to the "No Records" ibot created in step one.
    Now, when the original ibot fires and there are records, nothing will be sent because you unchecked all ways to get notification. But when there are no records, this event will fire the chained ibot you linked to in the Advanced tab. This iBot will have as an attachment, your report that says "No Records."

  • MATMAS IDocs are failing in 51 Status?

    Hi,
    I am sending across Material from one SAP System 4.5B Version to SAP System ECC 6.0.
    I am using Mass send transaction to send these material (BD10). Here I am giving all the material number and the target system name and send it across in full. Now, the idocs are getting created but on the inbound side they are failing in 51 Status with a error text "<b>Message incomplete (seriousness, area, number, or exception missing)</b>".
    Can anyone let me know what could the reason? Is there problem with configuration setting or else problem lies in EDI Setting.
    Raghuram.

    we can run the IDOC in foreground and see what exactly the error.
    go to t-code: BD87
    enter the IDOC number and execute.
    run the IDOC in foreground ( with selection from Menu >> Restrict and Process.)
    and then select Foreground
    You need to choose proper line item when you selecting the above said Restrict and process.
    Thanks
    JK

  • Message type for Scheduling Agreement - Outbound IDoc

    Hi All,
    I have to create an Idoc for Scheduling Agreement through a Z program based on some conditions. I have bit confusion, whether i can use Idoc type for Orders(e.g ORDERS01..05) & Message type ORDERS / ORDCHG to generate Outbound Idoc.
    Already there is process code for for ORDCHG mappig IDOC_OUTPUT_ORDCHG & ORDERS mappig IDOC_OUTPUT_ORDERS.  Whether there will be any impact on this.
    Appreciate your help.
    Regards,
    Anbalagan.

    Hi Anji,
    Thanks for the Reply. But i think ORDRSP is for Order Confirmations.
    But I have to send Outbound Idoc for a Schedule Agreement.
    Whether the same  Idoc type & Messge type used for SO/PO(e.g ORDERS05, ORDERS/ORDCHG) can be used for Scheduling Agreement.
    Please Advice.
    Regards,
    Anbalagan

  • How to trigger a workflow for DESADV when the IDOC reaches status 51

    Hi,
    A notification to the a user should be sent when DESADV goes to a error status 51.
    I'm in SAP6.0 :
    Basic type: DELVRY05
    Message type: DESADV
    Idoc: IDOCDESADV
    Event: inputErrorOccurred
    Task to be linked for the event : TS00008178
    In SWETYPV the event is active, still this event is not getting triggered when the Idoc goes to 51 status.
    What am I missing? Is there any configurations that I'm missing?
    Can anyone please help me to fix this?
    Thank you,
    Renu

    Hi Renu
    There is two way to find the task and workflow....
    In pftc tcode, you can check the task and where it is used by giving the task type as standard and task as 00008178.Display the task,then check where it is used.
    Another way is:
    1.Goto swdm tcode.
    2.Select the Object tab.
    3.Choose catagory as BOR object type and give the Object type as IDOCDESADV.
    4.Then it'll display the task which is refering the method of the IDOCDESADV object.
    5.Click on that task.It'll come to right window.Now select the where used icon...
    6.If there is any workflow,then It'll display the workflow template number,name,step, and client.
    Regards,
    Hemalatha

Maybe you are looking for