IDOC Exceptions from ECC to email

Hi
I've been reading the SAP help on IDOC exception handling as I want all EDI IDOC errors in SAP ECC to be sent to a "user" as an email.    (I know this is not exacly an SAP PI question but thought I ask).
Any step by step guides out there ?

Hi
You can try the same by writing a function module.
The function module will reads the error message from ECC and then sends the email by calling another function module
the sample function module for email sending will look like this
CALL FUNCTION 'ZTEST_SEND_EMAIL'
      EXPORTING
        extcheck            = ''
        subject_long        = subject
        priority            = '5'
        bin_attachment_name = 'Failed error message'
        bin_attachment_type = 'BIN'
      TABLES
        it_content          = it_content
        it_bin_attachment   = it_attachx
        it_recipients       = it_recips.
The recipient needs to be crated using TCODE   SO23.

Similar Messages

  • How to Post Idoc's from ECC to SCM

    Dear Friends,
    This is Shalini Shah.
    how to post the Idoc(MATMAS05)
    from ECC to SCM-APO.
    please give me the details on this topic.
    Regards,
    ShaliniShah

    Please see the Wiki page details mentioned in this [sticky|Wiki page for SCM-APO; thread at the beginning of the forum.
    Refer to the [CIF|https://wiki.sdn.sap.com/wiki/display/SCM/CIF] Wiki page for details on setting up and using CIF. I am not aware of the IDOC details but if it material master (as SB has mentioned) then your best option of transferring the master data from ECC to SCM / APO will be to use the CIF.
    After intial CIF settings are maintained (see details inthe CIF Wiki page) you will need to create Integration Models and activate them for transferring the data.
    Somnath

  • IPad 2 will not send email from any app except from my actual email app

    IPad 2 will not send email from any app (eg camara, pdf edit apps, evernote ect.) except from my actual email app. It will send email from my email account in the mail app or online. Pls help :-/

    I had this problem
    I hit the power button and the round button at the same time and held it until it rebooted
    You get the black screen and the apple logo
    When that was done I want to the app and update screen and I was able to update my apps
    I suggest when you update stay on that screen until they all update
    I find it sometimes get stuck updating when I leave the screen as they are updating and do other things, but I could be wrong. It just seems to me that is when it happens.
    The reboot works and don't worry you don't lose anything when u reboot it's like shutting down a computer and powering it back up. Everything you had before will still be there.

  • Succesful IDOC acknowledgements from ECC

    Dear MDM gurus,
    What is the best way to handle acknowledgements from ECC (INTO MDM) for inbound IDOCS from MDM (MDM->XI->ECC).
    We want it such that when an IDOC gets posted into ECC succesfully,it should send an acknowledgement signal back to MDM saying that IDOC was received properly.
    Thanks.

    HI Mugdha,
    I have a concern on the Acknowledgement (ALEAUD) Idoc. I have implemented this scenario wherein DEBMAS IDoc is posted from MDM -PI - ECC and ECC sends back the acknowldgement using ALEAUD Idoc.
    However, in PI (SXMB_MONI) there is no separate message entry created for this acknowledgment. The ALEAUD acknowldgement message details is attached to the original DEBMAS message which was triggered from MDM - PI - ECC. Due to this, PI interface created is not able to read the acknowledgement message and process it to post/dump the target file onto the MDM Port.
    I tried triggering and ALEAUD Idoc manually using PI - RWB which generated a separate message for ALEAUD Idoc in sxmb_moni and then my target file was created in MDM (But this is just a manual way of testing the PI interface).
    Can you advice on how this concern can be dealt with?
    Thanks in advance,
    Elizabeth.

  • IDOC transfer from ECC to XI

    Hi
    Im trying to trigger an IDOC transfer automatically when a material is created to XI system.
    I activated matmas change pointers and I'm able to create IDOC but its not getting transferred to XI system. IDOC status is 03 - sent to port OK.
    What are the configurations I should take for registering the port in XI? And why is that in WE 20, in creating partner profile, Im unable to select message type, matmas in inbound and outbound parmaters?
    Thanks
    Subbu

    Hi !
    Check this links:
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    ALE configuration for pushing idocs from SAP to XI
    Regards,
    Matias
    ps: please award points if helpful!

  • Download IDOCS from ECC to XI in 7.1.

    Hi
    Can anyone explain how do we download the Idocs from the ECC to PI in 7.1 version
    Thanks
    PR

    HI
    is your requirement to import IDOC metadata from ECC to XI.
    If yes then you need to create an RFC destinations from ECC to XI and XI to ECC for making two way communications for IDOCs of TYPE 3 (ABAP).
    Then from your Software component enable the option for import IDOC and RFC interfaces from SAP systems permitted. Go to imported objects under same SWCV and right click to import IDOC meta data.
    Check the link for refrence
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252bto%252bidoc
    Thanks
    Gaurav

  • Purchase Requisition transfer from ECC to SRM via XI

    Experts,
    Please let me know if you have any information on  the following issue:
    Environment : SRM 7.0,  ECC ep4,  Extended Classic scenario
    The purchase requisitions have been created in ECC and released. I believe in SRM 7.0  the PR's get automatically transferred to  SRM Sourcing cockpit via XI from ECC.
    One PR was pushed manually from SMQ1(Outbound queue ) in  ECC and this failed due to a login issue in XI.
    The XI was using the interface  PurchaseRequestERPSourcingRequest.
    My question is
    1. When the PR is released in ECC, where to check if the PR is pushed to XI. Do we need to schedule a job? When I checked SMQ1 (outbound queue, the queues are empty)
    2. Do we need to define the partner profile in ECC for XI in We20. If so, then what message types to use for the  IDocs going from ECC to XI.
    2. Do we need to configure the interface PurchaseRequestERPSourcingRequest in XI to map the incoming PR from ECC.
    3. In transaction SXMB_moni in XI  I am not able to pull the  XML messages. What options options do I need to
    set to pull the messages that errored out.
    Thanks,
    Scott.

    Hi All,
    Hope this helps you for XI configuration
       Importing Business Scenarios for Sourcing
    In this section, you transfer the business scenario Strategic Sourcing from the SAP Integration Repository, generate it, and activate it.
    Prerequisites
    You have:
    Defined the business systems for SAP Supplier Relationship Management (SAP SRM) and SAP ERP in the SAP System Landscape Directory. For more information about SAP NetWeaver Process Integration (SAP NetWeaver PI), see the SAP Marketplace
    Imported the SAP NetWeaver PI content for SAP SRM into the SAP Integration Repository.
    Procedure
    Log on to the SAP Netweaver PI system.
    Choose Integration Builder: Configuration.
    In the left pane, select the Objects tab.
    Choose  Service Without Partner  Business System .
    Right-click to display the context menu and choose  Business Systems  Assign Business System . This opens the wizard.
    Choose Continue. The wizard guides you through the required steps.
    Create the business system for both SAP SRM and ERP (you can bypass this step if the business system is already setup).
    Select a business system.
    You can create communication channels either manually or automatically. You can create them automatically here. In this case, the systems are applied from the SAP System Landscape Directory (SLD). Channels must be complete in terms of URLs and authentication information.
    Choose Finish, and then choose Close.
    11. On the main screen, choose  Tools  Transfer Integration Scenario from Integration Repository . This opens a wizard.
    Choose Name using input help SE_Sourcing_Enhancements
    Choose Continue. The scenario name is SE_Sourcing_Enhancements.
    Choose Finish and then choose Close. The Business Scenario Configurator opens automatically.
    Choose Component View.
    The Select Component View window opens.
    Choose Apply.
    Choose Assign Services. The Assign Services to Application Component window opens.
    Press F4 to retrieve the available services.
    Choose Assign.
    Select the related service and choose OK.
    Assign a business service to all roles.
    Choose Configure Connections.
    Select the connections from the Service Assignment tab.
    Press F4 in the Communication Channel field.
    Select a communication channel. This channel must be of type XI.
    Note
    If the systems are applied from the SAP Landscape Directory, the Integration Builder automatically creates the communication channels.
    If the systems are not applied from the SAP Landscape Directory, you create communication channels manually. To do this choose an existing service and then Communication Channel using context menu New. You must assign a communication channel for each connection.
    End of the note.
    Choose OK and then choose Apply.
    Choose Generate to open the Create Configuration Objects window.
    Choose Simulation, then Generate, then mark all in the list Scope of Generation.
    Choose Start to generate a log. Check the log for errors and save it if required.
    In the Close Integration Scenario screen, choose Apply.
    In the left pane, select the Scenarios tab; your scenario has been added.
    In the left pane, select the Change List tab.
    Expand the Standard Change List.
    Right click on the scenario name SE_Sourcing_Enhancements and choose Activate.
    Regards
    Sam

  • IDoc Exception (4) Unsupported Operation from NW EP 7.0 ehp1 to ECC 6

    Hi fellow coders
    I'm trying to send an IDoc (WPUWBW01) that I make in Java on an SAP NW EP 7.0 ehp1 SPS5 to an ECC 6.0 ehp4 SPS5.
    I'm using the jar-files: jrfc.jar (external) and sapidoc70.jar (included in the PAR-file).
    It works to request a transaction ID
    //com.sap.mw.jco.JCO.Client.createTID()
    String tid = client.createTID();
    But when I try to send the IDoc (after I've done a "doc.checkSyntax()") with the send command:
    //void com.sap.mw.jco.JCO.Client.send(Object arg0, String arg1)
    //com.sap.mw.idoc.IDoc.Document
    client.send(doc, tid);
    I get the following exception:
    com.sap.mw.idoc.IDoc$Exception: (4) IDOC_ERROR_UNSUPPORTED_OPERATION: Usage of SAP Java Connector IDoc Class Library is not supported in current environment.
    As you can see it's not a JCo-exception but an IDoc exception, that makes me puzzled.
    Some of the options are:
    1. A port needs to be opened on ECC?
    2. An RFC source/destination port needs to be created? In transaction SM59/SICF/WE21?
    3. A module or the like needs to be activated in the ECC?
    Any pointers in the right direction will be rewarded.
    Thank you
    /Petter

    Has this type of Java -> IDoc communication without the JCo connector for third parties never been done before?
    Any tips will be appreciated.
    /Petter

  • Unable to import IDoc from ECC to PI 7.1(ESR)

    Hi,
    I am creating an IDoc to File scenario in PI7.1 . I am trying to import the MATMAS IDoc from ECC to PI 7.1.So under the SWCV -> Imported Objects - > Wizard to import IDod/RFC opens -> I enter the ECC system login details -> But when I expand the IDoc node here,I find no IDoc from ECC ,moreover it throws me an error " component should be attached to some frame or dialog"
    Can you please suggest me as what is going wrong.
    Thanks,
    Venu

    Hi all,
    I am using PI 7.3
    When I Import object and passing parameter like application server, system number, uid and password.
    I got this error
            Unable to establish connection to R/3 system servertm_TM9_06 (system=00, client=001)
    Troubleshooting information: 
    Is the target system online?
    Check the connection data; server name and group fields are case-sensitive
    Tips for administrators (see configuration guide for details): 
    Does the user have sufficient authorization in the target system?
    Is the target system configured correctly in etc/services?
    See error logs for details    
    Please help me.

  • Partner profile to send Idoc to PI 7.4 system from ECC

    Dear Experts ,
    Do we need a partner profile to send Idoc to PI 7.4 system from ECC.
    or Just Port on TRFC is enough ..?
    if i need to create a Partner profile ...how to define a logical system and how Assign Logical System to Client... when there is no client for JAVA only PI system ..?
    thanks
    Shakif

    Hi Mohamed,
    You need to create a tRFC port on sending ECC system. The RFC destination selected in this port os the one created for IDOC transfer.
    Also you need a logical system, use client 000, i.e. PI1CLNT000.
    At last you have to create a partner profile to define the IDOC type used.
    Best Regards
    Harald

  • Replicated vendor email address from ECC 5.0 to SRM 5.0

    Hi All
    Currently, we are trying to replicate vendor email address from ECC to SRM. We use Vendor Master – General – Email (SMTP_ADDR) to store different email address
    1. ) Case One
    - Vendor email address for vendor account receivable
    - Vendor email address for procurement
    - Vendor email address for return invoice
    Our system : SRM will only replicate defaulted vendor email address ( Standard Number )
    Question : Is it possible to replicate all email address ( the above 3 email address).
    2.) Case Two
    When we only one email address for vendor account receivable, we don’t want to replicate to SRM.
    Question: Is possible to block this vendor email address and do not replicate to SRM ?
    Thank You
    Alex

    >>Will XI 3.0 able to work with ECC 6.0 without any change or any change is required in the XI configuration level, please specify?
    As far as I know, no change is required in XI configuration.
    Regards,
    Praveen Gujjeti.

  • Error to send a IDOC from ECC to SUS

    Hi,
    I am trying to connect to SAP SUS System using HTTP adapter using PI 7.0.The scenario is
    ECC ->PI->SAP SRM. I have configured HTTP adapter as the receiver with addressing type as HTTP Destination. I have created a RFC destination of type H pointing to SAP SUS on PI. I have encountered the following error after executing the scenario.
    <?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="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Error during parsing of SOAP header</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Error during parsing of SOAP header</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have configured HTTP receiver with Addressing type HTTP Destination and configured the HTTP destination field with RFC destination(Connection Type H) created on PI. Here my source and target structures are same i.e DELVRY03. I have triggered DELVRY03 idoc from ECC and i am expecting same xml to be sent to SAP SUS but stuck up with the above mentioned error.
    Someone know how fix this problem?
    Tks,
    Erik

    HI,
    As per my understanding to your scenario, You want to send one IDoc from ECC to SAP SUS system using SAP PI.
    So i hope you must have configured on all the steps required to Send one IDoc to PI syste, Secondly, are you using any Standard interface in PI to send data to SAP SUS system? If yes, you need to create an HTTP Destination for that system and then you have to create XI Receiver Adapter with that HTTP destination to post incoming message to SAP SUS system.
    Your error suggests you are using Plain HTTP adapter to post data to SAP SUS, which is in my understanding is incorrect.
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Feb 21, 2011 9:15 AM

  • IDOC from ECC to XI not coming

    in a XI scenario, IDOC is being sent from ECC to XI,
    in ECC, tcode- we05 i can see the IDOC status as 03 (Green),
    but it has not reached XI,
    this problem occurs sometimes, i mean to say, for the same scenario, sometimes IDOC comes properly, sometimes it doesnt,
    i have seen SM58 in ECC, no dump there,
    all port, partner profiles are ok, since it is 03 status (Green) ,

    Hi Sudheep,
    Check in XI's ABAP Stack of SMQ2, i.e Inbound Queue of XI.
    Check if there is nay entries are present in SMQ2 and release them by clicking on Unlock button.
    And also check in IDX2 whether the meta data is loaded or not and see in IDX5 for IDOC-XML
    Regards
    Seshagiri

  • Triggering idoc from ECC to XI

    I have a idoc-xi-jms scenario where
    I have a matrial master, and whenever I change sth in it idoc got to be triggered from ECC with change pointer logic.
    I have changed 2 materials and when I ran the RBDMIDOC Program manually, surprisingly some 20000 idocs are triggered.
    Can somebody advise me how can I avoid this typical problem if I want to send only changed materials ( i.e only 2 idocs) ??
    Thanks
    kumar

    the change pointer program ususally accumlates all the changes ad then sends them out....
    chk the tables CDHDR and CDPOS for changes usually before you trigger the RBDMIDOC program.
    Also you can create use the enhancement spot to create a custom code which deletes the changes caused by other criteria than wht you are looking for.
    Hope this helps!!
    Cheers!!
    Sidharth

  • Issues in employee replication from ECC to CRM through ALE/IDOC

    Hi,
    We are replicating the employees from ECC to CRM through ALE/IDOC.
    Some times for some employees, the Idoc status in CRM is  52(Application document not fully posted) in CRM (WE02 tcode)
    If I see the details its showing as " Identification Category BPCCOD is Not Assigned to Any Identification Type"
    What I need to do now to avoid this.
    Pl suggest
    Regards
    BABU.

    Hi Babu, I'm having the same error when I replicate my employes. I have define  BPCCOD in  spro - Cross-Application Components - SAP Business Partner - Business Partner - Basic Settings - Identification Numbers,  but this configuration does not resolve my problem.
    Could you resolve this problem?.
    Pls. let me know...
    Regards,
    George

Maybe you are looking for

  • Open order value showing in VA05 not matching .

    Hi Guru , In VA05 open order value in not matching with open order value in FD33 in cretit master . Please provide input . Edited by: Ravi Deolalikar on Jun 16, 2010 5:24 PM

  • External HDD not recognized by Retina MacBook Pro

    I recently bought this external HDD (http://www.amazon.com/Seagate-Backup-Desktop-External-STCA1000100/dp/B00829THK0/ ref=dp_ob_title_ce) to backup with my new retina macbook pro. It uses usb 3.0 and if I am not mistaken, the usb ports on the new mac

  • Microsoft SQL Server JDBC driver and WLS JMS problem?

              Greetings,           I'm using the Microsoft SQL Server JDBC driver with WLS with JMS           persisted to SQL Server, during WLS startup the JMS attempts to           read the JMSStore and JMSState tables in the db, if they are          

  • What types of external batteries can be used with the iPhone 4S?

    I need external rechargeable batteries for my iPhone 4S and my iPad for travel to an electricity challenged country. what are my options?

  • Broken phone...warranty...etc HELP!

    Hi there, I bought my BB8520 in India in June last year, have receiptt etc...I am now in the UK and the trackpad is completely broken. Please can someone tell me if there is some sort of Customer Support centre I can contact and if I can send the pho