Alert to external system

Hi,
I would like to send the alert message to an external monitoring system. what is th best way to do so?

Hi Shai,
Using XI's alert framwe work , you can send an EMAIL / FAX / SMS to any user.
take a look at this blog for Alerts,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Regards,
Bhavesh

Similar Messages

  • Id like to watch RWB from External System

    To XI specialist
    Id like to watch RWB(Runtime Work Bench) from External System.
    What I want is
    "If Sender Adapter is error, re-schedule from scheduler "
    "If Integration engine is error, re-schedule from scheduler "
    "If Receiver Adapter is error, re-schedule from scheduler "
    So I want to watch the status of RWB.
    Maybe There is the status in the DB of XI of in the LogFile of XI.
    If I can watch the status, I don't care the way of watching, by db, api, file...
    Please give me your help!
    thanks Naoki

    Hi,
    CCMS is installed on SAP so it will work there you can use tools like Tivoli/HP Openview to monitor CCMS which can give you status of SAP anywhere you want.
    Another option is to use Java API and write custom code to connect SAP and watch status, which may consume time to write such cose and also will work slow.
    I am using IBM Tivoli to watch my SAP systems from non-sap system. It can give you alert in file/db if you like.
    Regards,
    Gourav
    Rew<i>ard points if it helps you</i>

  • Alerts to external mail

    Hi ,.
    Step by step mayerial on Alerts to external mail
    Regards,
    radhika

    hi,
    Alert Configuration:- You use alert configuration to have the system informed you about the errors that occurs during message processing.
    *Used for alerts that occurs at IE.
    defining Alert Categories
    During alert category definition, you specify the alert text, expiry time, escalation, and all other conditions related to the sending of this kind of alert.
    1. Ensure that you are in change mode in the alert category definition environment (transaction ALRTCATDEF).
    2. Choose Create Alert Category.
    3. In the Alert Category column, enter a technical key. Choose a key that describes the situation that triggers the alert, such as CUSTCANC for a category responding to a customer cancellation. This key is language-independent and identifies the alert category. The standard namespace convention applies to the key, this means keys Z* und Y* belong to the customer name space.
    4. On the Properties tab page:
    a. In the Description field, enter a description for the alert category. Choose a description that is informative with respect to the content of the alert category. The description is language-dependent.
    b. If required, you can select a classification in the Classification field. If you do not choose a specific classification, the category is stored in the classification folder Unclassified. For more information on classifications, see Alert Classification.
    c. In the Max. No. of Dels field, specify a maximum number of times that an alert of this category is to be delivered if it is not confirmed. This refers to delivery using a communication channel other than to the recipientu2019s display program (UWL, application-specific program, or alert inbox).
    d. Select Dynamic Text if the texts of the alert category cannot be defined at this stage. This refers to situations in which the texts are not known until runtime, for example when CCMS Alerts are forwarded to ALM.
    No translation can be performed for alerts with dynamic text. System messages can be entered manually in several languages.
    e. In the Expiry Time in Min. field, you can enter a life span for alerts of this category if the alerts will no longer be relevant after a specific period of time. If the expiry time elapses, the alert is removed from the alert inbox and is no longer delivered using any other channel.
    Expiry times can be derived from various sources. Priority is given first to the data provided by the triggering application, second to the BAdI ALERT_EXP_DATE, and third to this field in the alert category definition. If none is found in any of these sources, the default expiry of 31.12.2099 applies.
    f. If you wish to specify an escalation recipient, select Escalation Active and enter the escalation recipient. Also specify a tolerance time in minutes. When escalation is active for an alert category, an alert is escalated if none of the alert recipients has confirmed the alert after this tolerance time. The escalation recipient is also informed that he or she has received the alert because of an escalation.
    The escalation functionality is based on the administrator report RSALERTPROC. This report has to be scheduled as a regular job. For information on this report.
    5. On the Container tab page, define any variables that you may want to use in the short text or long text. You can also define other application-specific variables, such as company code or material number. These variables are then replaced at runtime with values from the application. For more information, .
    6. On the Short and Long Text tab page, enter texts for the alert category. You can include text variables referring to elements of the alert container or system symbols. In the case of a container element, the variable must be defined in the alert container. The entry in the text must be in the form &<ElementName>&.
    The title is used as mail title, fax subject, and alert title in the inbox. The long text is used as mail/fax body and the long text view in the inbox. The short text is used for pager and SMS.
    7. On the Optional Subsequent Activities tab page, you can enter URLs for subsequent activities. If you trigger your alerts by calling a function module, you can also specify dynamic subsequent activities. For more information, see Triggering by Calling a Function Module Directly in Triggering Alerts.
    8. Save your entries.
    You create an alert category to use in alert rules.
    Basic alert configuration
    The specified item was not found.
    The specified item was not found.
    Trigerring alerts from UDF
    Triggering XI Alerts from a User Defined Function
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    ALRTCATDEF Editing Alert Categories
    ALRTCATDEF_SEL Define Alert Category
    ALRTDISP Display Alerts
    ALRTINBOX Alert Inbox
    ALRTMON Alert Monitor
    ALRTPERS Personalize Alert Delivery
    ALRTPROC Process Alerts
    ALRTSUBSCR Subscribe to Alert Categories
    The Alert Framework provides an interface from the Basis (Web AS) Alert Framework. You use
    transaction ALRTCATDEF to define the text, the priority, number of delivery, etc. for the alert.
    ?? To configure your alerts, proceed as follows:
    ?? To define an alert category, choose Create Alert Category.
    ?? You can also create the alert category directly by calling transaction ALRTCATDEF. In both
    cases you require the authorizations of the role SAP_XI_ADMINISTRATOR.
    Triggering XI Alerts from a User Defined Function
    The specified item was not found.
    The specified item was not found. - Alert Configuration
    The specified item was not found. - Trouble shoot alert config
    Configuring scenario specific E-mail alerts in XI-CCMS: Part  - 1 -- ccms alerts ? 1
    Configuring scenario specific E-mail alerts in XI-CCMS: Part-2 -- ccms alerts ? 2
    Configuring scenario specific E-mail alerts in XI-CCMS: Part 3 -- ccms alerts --- 3
    Alerts with variables from the messages payload (XI) - UPDATED -
    The specified item was not found.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    From HelpFile
    When alerts r not displayed in inbox ?
    Then check the following
    Tcode - ALRTCATDEF_SEL
    Report - RSALERTDISP and RSALERTPROC , SXMSALERT_LOGREADER
    Did you run the report SXMSALERT_LOGREADER in SE38... If you run it, please post the corresponding logs here. If not, try to run the report giving corresponding message id and post the logs here. We will try to figure it out
    regards,
    navneet

  • Scenario: Idoc - XI - external system (Idoc)

    Hello,
    I am trying to send an idoc from an sap 4.6c system to an external system. The external system is supporting idcos with trfc. This scenario is currently working with ALE. Now i have to set XI between these two systems.
    My problem is to set up the communication channel in the integration builder (configuration) for the external system. The idoc is waitung in XI to transport. So the step XI-> external system causing problems.
    My settings are:
    adapter type: idoc
    transport protocol: idoc
    message protocol: idoc
    adapter engine: integration engine
    rfc destination: xyz (is working fine)
    interface version: sap release 4.0 or higher
    port: ??
    sap release 46c
    My problem is the port. should i set up a port in idx1? But the external system is not an sap system and so i dont have a client.
    In XI i have defined a port in transaction we21 (transactional rfc) for the external system with rfc destination xyz. But if i enter that port in communication channel i got error messages.
    Thanks for any help.

    Hi christian,
    i'm also working in IDOC scenario between ECC to XI to MDM, if u have any document or snapshot then pls fwd it to me.
    [email protected]
    Thanks,
    Jitendra

  • HUGE amount of data in flat file every day to external system

    Hello,
    i have to develop several programs to export all tables data in a flat file for external system ( EG. WEB).
    I have some worries like if is possible by SAP export all KNA1 data that contains a lot of data in a flat file using the extraction:
    SELECT * FROM KNA1 ITO TABLE TB_KNA1.
    I need some advices about these kind of huge extractions.
    I also have to extract from some tables, only the data changes, new record, and deleted records; to do this I thought of developing a program that every day extract all data from MARA and save the extraction in a custom table like MARA; the next day when the programs runs compare all data of the new extraction with the old extraction in the ZMARA table to understand the datachanges, new records or deleted record.. It's a righ approach? Can have problems with performance? Do you now other methods?
    Thanks a lot!
    Bye

    you should not have a problem with this simple approach, transferring each row to the output file rather than reading all data into an internal table first:
    open dataset <file> ...
    select * from kna1 into wa_kna1
      transfer wa_kna1 to <file>
    endselect
    close dataset <file>
    Thomas

  • Is it possible to integrate LSO 600 with an external system without SAP PI?

    Hi,
    as asked in the title, i am wondering if it is possible to integrate LSO 600 with an external (non-SAP) system without using SAP PI/XI. The external system is a middleware application which can handle RFC functions, IDocs besides the usual web service communications.
    However, i don't know how LSO and SAP PI are integrated so i wonder if their interfaces are such that instead of SAP PI another middleware could be used.

    Web Services are used. If you were to implement the services in your 3rd party middleware and configure SAP to call it, I suppose it is possible. The external course catalog can be used for CourseEnrollment and LearningProgress. See the application help for details. Don't expect to receive support from SAP with such a setup however.

  • Integration of Financials with external systems

    Hi,
    I am strugling with an implementation where the client is not sure if Oracle Financials suits his business processes
    Overview of situation on Hand:
    We do not have the product installed as yet at the client site
    Products of Oracle Financials to be used :General Ledger, Account Receivable, Account Payable, Fixed Assets,India Localization Patch
    Products of Oracle Applications NOT available for use :
    Purchasing, Inventory, Order Management
    (All these areas are being covered by developing a customized Bespoke system)
    1.     Is it possible to use Oracle India Localizations (with regards to the excise functionality, for e.g. claiming of ModVat, the various excise registers that are to be maintained for e.g. RG23 A, RG23C,etc ) in the above situation (without implementing Purchasing, Inventory, and Order Management?).
    2.     Further, while passing the Vendor’s Bills (in Oracle Payables), one of the criteria for PO Matching is to check if the ModVat has been claimed. Is this functionality available in Payables with the India localization patch?
    3.     Does Oracle India localization cater for VAT requirements?
    4.     Is an Open Interface available to transfer Purchase Order data from external systems to Oracle Purchasing tables (which are shared by Oracle Payables the names being PO_HEADERS, PO_LINES, PO_LINES_LOCATIONS, PO_DISTRIBUTIONS, PO_DISTRIBUTIONS_AP_V (VIEW OF PO_DISTRIBUTIONS), PO_RELEASES (Blanket Purchase Orders), PO_LOOKUP_CODES) at transactional frequency? However, if the oracle purchasing module is not being used, can the interface tables of Purchasing be used?
    5.     An open interface (Payables Open Interface) is available in Oracle Payables to import the Invoices from external systems. While importing these invoices, does the system expect to have the Purchase Order data in the PO tables mentioned in the point above?
    6.     Is an Open Interface available to transfer Quantity Received/Accepted data from external systems to PO_line_locations table to enable carrying out of 2/3/4 way matching of Purchase orders with invoices? Can the 4 way mathcing be carried out in AP by just importing Purchase Order data??
    7.     Can the Credit Card Transaction Interface be used for uploading employee expenses / advances settlement (not carried out via credit card) directly from feeder system?
    8.     Is it possible to use Open Item interface (including import concurrent program) even though Inventory module is not being installed ? If yes, then we would like to use this interface for updating Item master from bespoke system..
    9.     Can Auto Invoice API be used to import invoices from feeder system / legacy system (via RA interface Tables) into the Oracle receivable invoice tables? Is order number as column a prerequisite for successful completion of Auto Invoice API?
    10. Where should the Masters be kept....OF of Bespoke
    eg. Employee master, Inventory Item Master etc.
    11. What is the best strategy for keeping the data in Bepoke and OF related to Masters in sync?
    I have got various answers to these questions .....but some seem to contradict each other.
    PLEASE HELP!!
    Thanks,
    Kamana

    Dear Kamana,
    Can you send me the replies given by our other Forum Friends, let me analyze the entire stuff and get back to you with a single consolidated bible for all your questions.
    Gopal

  • Calling a web service in external system from SRM

    Hi folks,
    A web service is created in the external system and I need to access this web service from a BADI. Can you tell me how can I call this web service (the external system is giving me a URL) and how I'll get a return. Please let me know in detail.
    Thanks,
    Prem

    Prem,
    Hi. You can call the service via HTTP protocol. Pass them values (SET_DATA), and receive a response (GET_DATA), via xml/html.
    In your code you would need to create the xml data to pass them, and evaluate the returned xml.
    Process...
    Data setup
    1) Create the XML to send them
    Working with the external service
    2) Open the HTTP connection
    2a) cl_http_client=>create_by_url (IF_HTTP_CLIENT)
    2b) lr_client->authenticate
    3) Call the to send them the XML
    3a) lr_client->request->set_data
    3b) lr_client->send
    4) Call the lr_client->receive to return the response
    5) Close the connection lr_client->close
    Data evaluate
    6) Evaluation the returned XML and process.
    Hope this helps
    Cheers
    Rob
    Code example below.. (There are loads of SAP examples depending on which release you are on).
    Process the call to the HTTP client - logic copied from RSHTML01     *
    Open IF_HTTP_CLIENT
      call method cl_http_client=>create_by_url
        exporting
          url                = l_url
        importing
          client             = lr_client
        exceptions
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          others             = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          raising oops.
      endif.
    Authenticate the user
      if not g_int_type-usr is initial.
        move: g_int_type-usr      to l_user,
              g_int_type-password to l_password.
        call method lr_client->authenticate
          exporting
            username = l_user
            password = l_password.
      endif.
    Allow for Cookies
      lr_client->propertytype_accept_cookie = lr_client->co_enabled.
    Set the server protocol
      select single gsval into l_server_protocol
        from z77s0
          where grpid = c_grpid
          and   semid = c_server_protocol.
      if sy-subrc eq 0
      and not l_server_protocol is initial.
        move l_server_protocol to l_st_server_protocol.
        call method lr_client->request->set_header_field
          exporting
            name  = '~server_protocol'
            value = l_st_server_protocol.
      endif.
      Send out the XML
      Set body to XML data
        lr_client->request->set_data( g_xxml ).
        save_xml( i_role = cl_xml_document=>c_role_oreq ).
        l_request_length = xstrlen( g_xxml ).
      If Data is sent through then we need certain flags set
        lr_client->request->set_header_field(
                                   name = 'Content-Type'
                                   value = zcl_tem_bsp=>c_xml_content ).
        call method lr_client->request->set_header_field
          exporting
            name  = '~request_method'
            value = 'POST'.
      Set length of string to the header fields
        if not l_request_length is initial.
          move l_request_length to l_st_request_length.
          lr_client->request->set_header_field(
                                    name = 'content-length'
                                    value = l_st_request_length ).
        endif.
      Send the request
        call method lr_client->send
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            http_invalid_timeout       = 4
            others                     = 5.
        check_for_error 'Send'.
      Receive the response
        call method lr_client->receive
          exceptions
            http_communication_failure = 1
            http_invalid_state         = 2
            http_processing_failed     = 3
            others                     = 4.
        check_for_error 'Receive'.
      Determined returned XML or HTML
        g_xxml = lr_client->response->get_data(  ).
      Determine the header fields for failure validation
        if lr_client->response->get_header_field( '~status_code' )
              between 200 and 299.
          save_xml( i_role = cl_xml_document=>c_role_ires ).
        else.
          l_status_code =
            lr_client->response->get_header_field( '~status_code' ).
          l_descript_1 =
            lr_client->response->get_header_field( 'error' ).
          l_descript_2 =
            lr_client->response->get_header_field( 'errortext' ).

  • Office 365 ECT to Azure Cannot connect to the LobSystem (External System)

    I've tried to set up External Content Types to an Azure SQL database but when I access my page I get an error.
    I basically followed http://www.pointbeyond.com/2012/12/31/surfacing-data-from-sql-azure-in-sharepoint-2013-online-office-365
    Can you help me work out what i've not done, I don't know where to configure Azure firewall as this message suggests. The error is below:
    Cannot connect to the LobSystem (External System). Reason: 'Cannot open server 'uf7prto4sj' requested by the login. Client with IP address '157.55.225.241' is not allowed to access the server. To enable access, use the Windows Azure Management
    Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect. Login failed for user '*REMOVED*'. This session has been assigned a tracing
    ID of '9389a67c-dc78-4134-9167-545ec963be3a'. Provide this tracing ID to customer support when you need assistance.'
    Correlation ID:9a3fb39c-d0ea-1000-8099-2fad02009a01

    Hi,
    It depends, if it's a static IP address for your machine, it should be OK for this one IP address; if it is a dynamic IP address in a range, you can input the IP address range which contains this mentioned IP address
    157.55.225.241, or update the changed address to date.
    http://stackoverflow.com/questions/8543653/windows-azure-client-with-ip-address-xxx-xxx-xxx-xx-is-not-allowed-to-access-t
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you
    have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • Cannot "Complete" Service Desk Messages in External System

    Hello Solution Manager Experts!
    I have an issue where we had two Solution Manager Service Desks and needed to consolidate into one.  As part of that exercise, we set up an external service desk relationship between the old service desk (call it SID OLD) and the new service desk (call it SID NEW).  When sending the service desk messages from OLD to NEW via the action (Send to External Service Desk) we can only set the status to "Accepted", and the status "Completed" is grayed out for the service desk message that resides in the NEW system.  In the NEW system, under the Transaction Details-->Transaction Analysis there an error indicating that the message can only be closed by the external system (OLD).  However, in the OLD system, the original message is already set to "Complete", and I am no longer able to do anything with the original service desk message.  Even if I make another copy of the message in the OLD system and resend the copy to the NEW system (as status "new"), I still cannot mark the service desk message "Complete".  In the OLD system, even of this copy of the service desk message is something other then Complete, I cannot mark it complete and synchronize with the new system.  I get an error in the old system that says that "The problem message is locked in external system SM_NEWCLNT030_SERVDESK", which is obviously a reference to the RFC destination for the new external service desk.
    How can I go back into the NEW system and change the message to "Complete"?  Additionally, even if I could close the message in OLD and synchronize with NEW, I am curious how I would get around this issue if the OLD Solution Manager service desk needed to be decommissioned, and was no longer available, this would still be an issue of closing out service desk messages to a status of "Complete".  Is there some kind of program I can run agains certain service desk message numbers which will "break" that relationship with the OLD service desk so I can set those messages that originated in OLD to be "Complete" in NEW?
    Any service desk messages that are created directly in NEW can be closed out to "Completed".  This is an issue that is only a problem with  messages that originated in OLD.  I hope this makes sense. 
    Your input is greatly appreciated.
    Thanks!

    I found a workaround by going into the status profile in the NEW system, double clicking on the CONF status, changed "To be distributed"  to "allowed" and "set".  Then I backed up one screen so I could see all my status's; and then in the last column of the CONF status in the column labled "Trans.", I set it to RELE instead of FINI.
    This enables me to set the "completed" messages from my legacy (OLD) system to "completed" in my (NEW) system.  Once I have all the status's set, I'll set the status profile entry for CONF back to the way it was.

  • Create Support Message from external system

    HI experts,
    I would like to change the Create Support Message screen(Menu->Help->Create Support Message) and add three fields namely: Category, Subject and Solution Number because currently these fields are not populated in the Service desk if I create message in this way unlike in using NOTIF_CREATE tcode where there are selection fields for these.
    Also, I'm creating the support message from an external SAP system and the messsage is sent to the Solution Manager system. The NOTIF_CREATE tcode does not exist in the external system as well as the whole package DSWP.
    Please let me know you rthoughts on this.
    Thanks
    Eric

    Hi guys,
    Thanks for your answers... But is it possible to call transaction NOTIF_CREATE from an external system?
    I have done something already so that those 3 fields will be automatically populated for a message sent from an external system.
    I changed the screen and called FM BAPI_NOTIFICATION_CREATE(a remote enabled FM which is the one being used by transaction NOTIF_CREATE to create a message) inside FM BCOS_SEND_MSG.
    I populated the category, subject and solution in the FM export parameters as well as the solution number in the sap data table. I put a destination also..
    This FM calls another FM DNO_OW_CREATE_NOTIFICATION which is the one being used from the external system but do not cater the functionality to send the 3 fields that we need.
    As you will notice, there are lots of standard objects that I've changed. =)
    My problem now is that the system data sent is the same with the system data if you create the message using NOTIF_CREATE. Some system that were sent when a message is sent from an external system is missing but at least the sap system and client ID is sent. There is no external reference number also. But hopefullly, the users will accept it. Can't find any other solution to this.
    Thanks,
    Eric

  • Error while connecting to external system in SM59 with ICM_HTTP_SSL_ERROR

    Hi all,
    we have configured an SM59 RFC destination of G type which pings to the external third party server. Before testing we have uploaded the external server certificate in PI system. it was working fine with * HTTP 200 OK* message. since 2 days we are facing the ICM_HTTP_SSL_ERROR while testing the connection. when we telnet from PI to the external system using the port no.443, its getting connected.
    so any idea why it started giving the error.
    We have check out this forums but of no help.
    [ICM_HTTP_SSL_ERROR|ICM_HTTP_SSL_ERROR;
    The trace file dev_icm says
    [Thr 52] Thu Jan 20 14:34:00 2011
    [Thr 52] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_CONNECTION_LOST
    [Thr 52]    session uses PSE file "/usr/sap/XD1/DVEBMGS00/sec/SAPSSLDRV.pse"
    [Thr 52] No Secude Error present in trace stack!
    [Thr 52]   SSL_get_state() returned 0x00002141 "SSLv3 read server key exchange B"
    [Thr 52]   SSL NI-sock: local=192.168.127.70:65243  peer=80.78.2.187:443
    [Thr 52] <<- ERROR: SapSSLSessionStart(sssl_hdl=6000000000d50fd0)==SSSLERR_SSL_CONNECT
    [Thr 52] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT {00370a03} [icxxconn_mt.c 1957]
    [Thr 81] Thu Jan 20 14:34:15 2011
    [Thr 81] IcmWorkerThread: end worker thread 53
    [Thr 80] Thu Jan 20 14:44:45 2011
    [Thr 80] IcmWorkerThread: end worker thread 52
    Thanks,
    Asem

    Hareen,
    We checked the the note 1318906 and followed the steps but error persists.
    Could you please advice more on this.
    Rahul,
    The note you mentioned is for different error "ICM_HTTP_INTERNAL_ERROR".
    Br
    Asem

  • Problem while sending HL7 ACK to HL7 external system

    Hello,
    I am facing a problem with GlassFish ESB.
    The product version indicated in the IDE is: NetBeans IDE 6.1 (Build 200810140114). I have not yet tested the current version.
    My problem is as follow:
    - I have 2 service assemblies, one is File BC > HL7 BC and the other HL7 BC > BPEL with Database WSDL as partners.
    - It seems everything is doing OK. The HL7 file is read by File BC, then sent to HL7 BC, retrieved by the second HL7 BC, fed to the BPEL, and finally queries are executed. Then an ACK message is generated and an error occurs. Here is the stacktrace:
    HL7BC-I0155: Sent HL7 request to HL7 External System :MSH
    EVN|A01|2008090801529|||JavaCAPS6^^^^^^^USERS
    PID|1||A000010^^^HosA^MR^HosA||Noseda^Arthur^^^^^||19460101123045|M|||7 South 3rd Circle^^Downham Market^England - Norfolk^30828^UK^||||||||A2008090801529
    PV1|1|I|^^^|I|||FUL^Fulde^Gordian^^^^^^^^^^MAIN|||EMR|||||||||V2008090801529^^^^VISIT|||||||||||||||||||||||||2008090801529
    HL7BC-I0117: Received a message in HL7 binding 68899546013632-10229-134707429449130110
    HL7BC-I0137: Pattern for message exchange ID 68899546013632-10229-134707429449130110 is http://www.w3.org/2004/08/wsdl/in-only
    HL7BC-I0135: Constructing the ACK message with version ID HL7v231
    HL7BC-I0162: Creating ACK Builder object of class com.sun.jbi.hl7bc.extservice.ack.HL7v231ACKBuilder
    HL7BC-I0136: Constructed ACK message to be send to the sender MSH
    MSA|AA|CTLID_2008090801529
    HL7BC-I0129: Sending ACK back to the sender
    HL7BC-I0141: MLLPEncoder.setStartBlockChar():Value is set as :  (in decimal ascii).
    HL7BC-I0143: MLLPEncoder.setEndDataChar():Value is set as :  (in decimal ascii).
    HL7BC-I0142: MLLPEncoder.setEndBlockChar():Value is set as :
    (in decimal ascii).
    HL7BC-I0144: MLLPDecoder.setStartBlockChar(): Value is set as :  (in decimal ascii).
    HL7BC-I0146: MLLPDecoder.setEndDataChar(): Value is set as :  (in decimal ascii).
    HL7BC-I0145: MLLPDecoder.setEndBlockChar(): Value is set as :
    (in decimal ascii).
    HL7BC-I0160: Sending HL7 message acknowledgement to HL7 External System :MSH
    MSA|AA|CTLID_2008090801529
    ERREUR :  'HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)'
    HL7BC-W0126: Unable to decode the message due to error=[javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)]
    ERREUR :  'HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)'
    HL7BC-E0209: Failed to process the message exchange with ID 68899546013632-10229-134707429439760109 and exchange pattern http://www.w3.org/2004/08/wsdl/in-only due to error: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.
    java.lang.Exception: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.processOneWayOutbound(OutboundMessageProcessor.java:851)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:301)
            at com.sun.jbi.hl7bc.OutboundAction.run(OutboundAction.java:66)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:720)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
            at com.sun.jbi.hl7bc.util.XmlUtil.transformToDOMResult(XmlUtil.java:268)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.getDOMResult(OutboundMessageProcessor.java:2187)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.start2WayChannelWithExtSystem(OutboundMessageProcessor.java:1723)
            at com.sun.jbi.hl7bc.OutboundMessageProcessor.processOneWayOutbound(OutboundMessageProcessor.java:825)
            ... 5 more
    Caused by: org.xml.sax.SAXParseException: HL7ENC-E0027: Element: MSH.11 must occur at least 1 time(s)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.throwException(UnmarshalAdaptor.java:1181)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parsePseudoGroup(UnmarshalAdaptor.java:771)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseFieldCompSubcomp(UnmarshalAdaptor.java:490)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:340)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseSequence(UnmarshalAdaptor.java:571)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:351)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseSegmentOrPseudo(UnmarshalAdaptor.java:532)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:342)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseSequence(UnmarshalAdaptor.java:571)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parseParticle(UnmarshalAdaptor.java:351)
            at com.sun.encoder.hl7.runtime.provider.UnmarshalAdaptor.parse(UnmarshalAdaptor.java:306)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:637)
            at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)
            ... 10 more
    Accepted the message in DBBC Binding.
    HL7BC-I0139: Set message exchange status to ERROR for message exchange ID 68899546013632-10229-134707429439760109 and exchange pattern http://www.w3.org/2004/08/wsdl/in-only
    FILEBC-W00708: One-Way Inbound MessageExchange for service: {HL7v22_Feeder_CA}casaService1, endpoint: casaPort1, operation: {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation, was returned with status=ERROR. If Re-delivery is configured, message will be re-sent.
    FILEBC-E00767: Provider for service [{HL7v22_Feeder_CA}casaService1] endpoint [casaPort1] responded with an error status. Error detail is: HL7BC-W0121: Unable to process message exchange 68899546013632-10229-134707429439760109, end point com.sun.jbi.hl7bc.EndpointImpl@8cce44 and operation {http://j2ee.netbeans.org/wsdl/HL7v22_Feeder_CA/HL7v22_Feeder_CA_HL7_ANY_HL7Out}hl7wsdlOperation.I wonder if the MEP could be the reason. I think I chose in-only, and for the ACK to be sent, it could be necessary to go for in-out. Yet, what's puzzling me is the error message: MSH.11 must occur at least 1 time(s). Could it be that the ACK is badly generated? In the input (ADT) HL7 this field is populated with a P.

    Sadly, the reason was nothing but the Oracle JDBC driver. While it was correctly working as far as NetBeans is concerned, it was not for GlassFish. Hence, with the bubbling up exception mechanism, the stacktrace I got. Problem solved, but nasty error message.
    Thanks anyway.

  • Production Order and external system non-SAP

    Dear Friends,
    I need to send a Production Order to a external system no SAP, and upload the information back to SAP,
    SAP does something standard to accomplish this task?
    To send Production Order, I created an IDOC with report RCCLORD, this IDOC contains all information of a production order (AUFNR, WERKS,..) and all operations and materials. But I don't know how to process the information returned.
    Also I have read some information about the interface PP-PDC, but I don't know how to use it.
    Please, Can anyone tell me the best way to accomplish this task?
    this is the scenario:
    SAP R/3 -
    > Production Order -
    > External System
    External System -
    > Return information about Production Order -
    > SAP R/3
    Thanks!

    Hi,
    PP-PDC is for confirmations only, see further details
    http://help.sap.com/erp2005_ehp_05/helpdata/en/31/fcbd3411d411d3b6b60000e8359890/frameset.htm
    maybe usage of POI is an option for you. See details here
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/1a/0e347b539911d1898b0000e8322d00/frameset.htm
    BR Sabine

  • SAP R/3 to External System RFC issue

    Hi Experts,
    We have one Peculiar issue in our SAP R/3. Request you to help me in resolving this.
    Order Processing:
    During Sales Orders Processing, for every line item a RFC is being initiated from SAP R/3 to an external system called Trilogy Pricer to get the Pricing data.  Trilogy Pricer sends the Pricing data to SAP R/3 and the respective Orders are being processed in SAP R/3.
    Current Issue:
    The issue we are facing is that, once the Pricing data is sent to SAP R/3, Trilogy Pricer expects an acknowledgement (RFC_OK) from SAP R/3 in order to release the RFC connection.  Intermittently, Trilogy Pricer is not receiving this or any kind of acknowledgement from SAP R/3 causing the connection to hang which is causing several problems.
    For example:
    On every business day, there will be 50,000 Sales orders.
    So, 5 or 10 sales orders are getting hanged every day.
    We tried to simulate this issue in Dev and Stage environments by processing 30,000 to 40,000 sales orders.
    But we were unsuccessful, which means all the RFC connections were being closed as the external system is able to get the acknowledgements for all those orders from SAP R/3.
    We are having this problem only in Prod.
    Any thoughts to solve this issue is highly appreciated.
    Advance thanks for your great help.
    Thanks and Regards,
    Srinivasa

    Hi I am not sure if it was similar issue, but I once had a kindaa problem I solved using
    CALL FUNCTION func STARTING NEW TASK task
                  [DESTINATION {dest}]
                  [{PERFORMING subr}|ON END OF TASK].

Maybe you are looking for