Inbound Idoc error notification. Help needed

Hi Gurus,
Sorry, maybe it's a silly question.
I have a requirement to send an email when occurs any kind of error at inbound processing. The dest. of this mail must be the postprocessing agent from partner profile (WE20) of the message.
I have standard and custom process codes.
I've followed notes 44416 and 11610 but it still doesn't works.
Somebody knows how can I achieve that?
Thanks in advance,
David Gimeno.

Thanks to all,  but it still don't works.
J&Y: this report is necessary to process error Idocs? As I understand, notifys an alert message if a max number of error idoc is reached.
I've done the following things:
- Define custom message type (WE81)
- Bind message (custom) with Idoc type (standard) (WE82)
- Define FM with message type (we57)
- Define FM attributes (BD51)
- Define Process. Code (WE42)
- Define Partner profile with my custom Process Code.
I've tried to link my custom process code with an Standard Object (IDOCAPPL and IDOCPACKET) at BD67, but system brings me the message B1405 Application object type  is not planned .
I've defined all tasks at http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b81b943d711d1893e0000e8323c4f/frameset.htm as standard tasks, and I've assigned it to a Org. Structure.
Finally, I enter an Idoc with an error wich brings to Idoc status 51 but I have no error notification. (I've found at SWI1 but no work item is generated).
Does anyone knows what I'm doing wrong, or what else can I do?
Thanks all in advance!!!!

Similar Messages

  • Invoic inbound IDOC error.Please help!

    Hello:
       When I posted AP document by IDOC triggerred by output RD04 in billing document, this inbound idoc always failed with error message:The transaction was terminated by the user.
      My message type is INVOIC.
      Do you know why this error happened?
    Thanks

    message is "You are not authorized to use Transaction FB01".So I am wondering if the error message "The transaction was terminated by the user" is also caused by authorization problem.
    It seems yes. Why dont you try with proper authorization?
    Reddy

  • Inbound Idoc error notification

    I created IDoc interfaces for FI, PO, and GR. As permitted agent, I specified a specific user for testing in partner profile. I want to widen the range of permitted agents, so I created a basic org structure (i.e: CoName->EDI Admin, EDI Support). I've assigned a few users to each position. This is where I get fuzzy about next step. Here's my understanding of next step
    -> Assign tasks to positions(i.e <msg type>_error)
    --> FIDCC1_ERROR for FI
    --> WMMBXY_ERROR for GR
    --> couldn't find PO tasks PORDCR_ERROR, PORDCH_ERROR
    Can I assign a task group for the admnistrator?
    Can someone lead me in right direction to fill gaps?
    Thanks

    Hi,
    If each partner profile (or each message level within one partner profile) is to be assigned to a separate group of users, you can assign the respective positions (with the group of users included in the position) in the partner profile itself. (Instead of 'user' choose 'position' and specify the position you have created, in the partner profile settings where you are specifying users now). You can do it at the partner profile level, or at the individual inbound message level in the partner profile (Post processing agents in the detail settings screen for the inbound message - specify your 'position' there).
    If this is not a one to one (by one I mean a position and not a single user) assignment, you will need to assign agents at the task level.
    You can see all the standard tasks in SWE2 for example. Choose your business object (eg BUS2032 for purchase order) and corresponding task there. You can assign agents to these standard task in PFTC. For example, if a PO failed, task TS00008097 (in PFTC) which is based on errors encountered when creating a PO, will be triggered and the corresponding IDOCs can go to the assigned agents.
    You have to note that the agents who receive the workitem is a intersection of these two assignments. So, let us say if you have assigned EDI_PO_SUPPORT at the task level, and CCD_PO_SUPPORT at the partner profile level, then the users common in these two positions will only get the workitem.
    I have not looked into 'assign tasks to positions' as I have no experience in that. However, using the above, you can just create positions with users (do not bother about assigning these positions to any task), and assign that directly either at partner profile level or at task level, nothing else is required.
    Hope this helps,
    cheers,
    Ajay

  • Custom inbound Idoc error handling/ Workflow

    Dear Experts,
            I have a requirement where in I created a custom inbound idoc, but now i need to handle the errors in the workflow and notify the users thru workflow on an error.
    Can some one please provide me a step by step guide on how to create a organizational unit, position and assign users to the position... and any other steps that need to be configured to notify the user on the error.
    I'm pretty new to all these organizational uints and workflow related stuff. Any step by step would really be helpful.
    Thanks for your time.
    -Amit.
    Moderator message: sorry, these forums cannot replace proper training, if there is step by step guides out there, then please use the search functions.
    Edited by: Thomas Zloch on Oct 31, 2010 11:50 AM

    Vittal,
    1. If your requirement is for a SAP Standard Basic Message type and a Z extension: Then you simply have to find out the 'Standard Task' associated with basic type. You shouldn't worry about extensions. The standard task will be triggered at input error.
    2. If your requirement is for a Z basic type i.e. you have created a customer IDOC for a custom processing: There are many dependencies on how you can achieve this. Firstly, you need to know how you're are processing this Z_IDOC. Are you using a standard FM or custom workflow or custom FM? There should be some triggering event within the processing of this Z_IDOC which will raise a certain flag when the error you want to capture happens (or when there is a generic error). You can configure this event in binding objects to trigger a workflow task. If you take a look at any standard tasks, you'll get an idea how the triggering event happens.
    Once the workflow task (you can use custom task or use a standard task i.e. by triggering a standard event within the IDOC processing program) is triggered, you can either send it to SAP inbox, e-mail, trigger another processing etc. This is altogether another story.
    So bottomline: For custom IDOC processing, you need to trigger an event when error happens. This can be a custom event or a standard event. This event should be linked to a task (custom/standard - check in SWETYPV). Bind all of these in PFTC. Once the task is triggered, you can do whatever you want to do with it.

  • Inbound IDOC error 51 Application Document not posted

    Inbound IDOC error 51: Item: 002 Goods/Service number not entered So application document not posted.
    Please help me out

    hi
    check whether service number is available in the idoc if not check the field mapping

  • Error messages help need asap!!!!

    hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages
    CREATE OR REPLACE FUNCTION
    no_of_task_types (x NUMBER)
    RETURN NUMBER IS
    my_val NUMBER;
    BEGIN
    SELECT COUNT(distinct t.task_type_no)
    INTO my_val
    FROM employee e, assignment a, task t
    WHERE e.employee_id = x
    AND e.employee_no = a.employee_no
    AND t.task_id = a.task_id
    RETURN tasktotal;
    END;
    SHOW ERRORS
    these are the error messages:
    Warning: Function created with compilation errors.
    Errors for FUNCTION NO_OF_TASK_TYPES:
    8/1     PL/SQL: SQL Statement ignored
    13/27     PL/SQL: ORA-00933: SQL command not properly ended

    Hi,
    Welcome to the forum!
    Don't say things like "urgent" or "asap" (as in your title, "error messages help need asap!!!!"). It's rude.
    971848 wrote:
    hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages
    CREATE OR REPLACE FUNCTION
    no_of_task_types (x NUMBER)
    RETURN NUMBER IS
    my_val NUMBER;
    BEGIN
    SELECT COUNT(distinct t.task_type_no)
    INTO my_val
    FROM employee e, assignment a, task t
    WHERE e.employee_id = x
    AND e.employee_no = a.employee_no
    AND t.task_id = a.task_id
    RETURN tasktotal;
    END;
    SHOW ERRORS
    these are the error messages:
    Warning: Function created with compilation errors.
    Errors for FUNCTION NO_OF_TASK_TYPES:
    8/1     PL/SQL: SQL Statement ignored
    13/27     PL/SQL: ORA-00933: SQL command not properly endedIt looks like you're missing a semicolon at the end of line 13; that's why the statement beginning at line 8 can't be understood.
    Also, you store a number in my_val, but never use that number, and you have a variable called tasktotal that's never defined. Should my_val and tasktotal be the same variable?
    Perhaps this is what you want:
    CREATE OR REPLACE FUNCTION
           no_of_task_types (x NUMBER)
    RETURN NUMBER IS
        tasktotal   NUMBER;
    BEGIN
        SELECT  COUNT(distinct t.task_type_no)
        INTO    tasktotal
        FROM    employee e, assignment a, task t
        WHERE   e.employee_id = x
        AND     e.employee_no = a.employee_no
        AND     t.task_id        = a.task_id;          -- ; at end is important
        RETURN tasktotal;
    END;
    /This question doesn't have anything to do with SQL*Plus, so maybe the SQL*Plus forum isn't the best place for it. This is strictly a PL/SQL problem; in the future, post questions like this in the PL/SQL. The FAQ page for that forum, {message:id=9360002} , can really help you.

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • Workitem not triggered for Inbound IDOC Error (ORDERS05)

    Hi,
    The work item is triggered for the Syntax Error in the Idoc (EDI: Partner profile Not Available).
    But, as per my requirement i need to get the idoc error status (as Workitem) , any help regarding the resolution of this issue is highly appreciated.
    Regards,
    Rusidar S.

    Hi Uwe,
      Many thanks for your response, well i did run the report name that you said me.. when i executed that report i got a workitem as "ALARM Message from Active IDoc Monitoring" and workitem for EDI  syntax errors"EDI: Partner profile inbound not available"
    But my objective remains unsolved.. i need the error status of idoc to be generated, do u have any idea or solutions, kindly share it as its the 3rd day that am still into the same task....
    Regards,
    Rusidar S.

  • Inbound IDOC error :51 Passed with out Message Type to ALE Layer

    Hi,
    I am struct wtih the inbound IDOC scenario ..XI able to send IDOC but at ECC side it is in 51 red status and the error message is
    "IDOC passed without Message type to ALE Layer"
    Do I need to pass these segment values in Message Mapping? I didnt mapped any MESTYP,SNDPOR,SNDPRT and so on.. disabled these fields...
    Could any one light on this issue?
    Thanks
    Rajeev

    >
    rajeev raj wrote:
    > Hi,
    >
    > I am passing values in MM as below:
    >
    > <?xml version="1.0" encoding="UTF-8"?>
    > <ZPORDCR01>
    > <IDOC BEGIN="Constant">
    > <EDI_DC40 SEMENT="Constant">
    > <TABNAM>Constant</TABNAM>
    > <DIRECT>Constant</DIRECT>
    > <IDOCTYP>ZOrders</IDOCTYP>
    > <CIMTYP>Constant</CIMTYP>
    > <MESTYP>Z_Orders</MESTYP>
    > <SNDPOR>B0009</SNDPOR>
    > <SNDPRT>LS</SNDPRT>
    > <SNDPFC>LS</SNDPFC>
    > <SNDPRN>PD_100</SNDPRN>
    > <RCVPOR>DEV</RCVPOR>
    > <RCVPRT>LS</RCVPRT>
    > <RCVPRN>Dev10</RCVPRN>
    > <REFINT>GB</REFINT>
    > <REFGRP>MTI</REFGRP>
    > <REFMES></REFMES>
    > <ARCKEY>20090909</ARCKEY>
    > </EDI_DC40>
    > <E1PORDCR SEGMENT="Constant">
    >
    > I am forwarding these values in MM... IDOC is successfully reaching in ECC but with 51 error in red... Logical system, post and message types are avaliable in Control record of the IDOC which received wiht errors in ECC.
    >
    > Thnaks
    > Rajeev
    Fill the TABNAME as EDI_DC40 and Direct as 2 (represents the inbound direction) and resend the idoc and check
    Rajesh

  • MRESCR01 inbound IDOC error: "Object type 'TRANSID ' has no relationship '

    Hello,
    I am trying to get an inbound IDOC from XI to a SAP R/3 System.
    It's an extended idoc (MRESCR01) for create orders.
    The error at /we02 in the inbound system is:
    Object type 'TRANSID ', key '0A1F032A59B345D027B002DE ', log.system ' ' has no relationship 'OUTTID '
    Message no. RL007
    Diagnosis
    All the roles used in relationships of type 'OUTTID' should be found for object type 'TRANSID' with key '0A1F032A59B345D027B002DE' in logical system ''.
    System Response
    No such roles were found.
    Further information:
    XI process message succesfully, with the Z segments extended information. But, at the WE02, only one of the 3 extended segments arrives to SAP R/3.
    Thanks a lot for your help, best regards

    thanks shridar and michal for response.
    these solution solved the problem of the segments. now the 5 arrives to SAP R/3.
    but i keep getting the error and IDOC is not processed:
    IDOC STAT = Status 51
    Object type 'TRANSID ', key '0A1F032A59B345D03A7A0A26 ', log.system ' ' has no relationship 'OUTTID '
    Message no. RL007
    Diagnosis
    All the roles used in relationships of type 'OUTTID' should be found for object type 'TRANSID' with key '0A1F032A59B345D03A7A0A26' in logical system ''.
    System Response
    No such roles were found.
    Thanks and best regards,

  • Inbound EDI error notification - processing Work Items

    I am testing the inbound error notification. How do you change an IDoc from work item. The work item only allows you to display the IDoc, not change it. Which trans to change IDOC for reprocessing?

    Do you correct the IDOC tru WE19 (test tool)?

  • Inbound IDOC error - status code 52- application document not fully posted

    Hi,
       In Inbound IDOC, the status code is 52 ---> Application document is not fully posted(satus of the inbound idoc is in yello colour). I want to reprocess this idoc in BD87 t.code in order to convert the yellow colour to green colour. Before reprocessing the IDOC, i need to rectify the problem and then reprocess the idoc in bd87. am i correct? if yes, what i need to do to solve the error --->application document not fully posted. Please guide me friends.
    Thanks in advance.
    Regards,
    Sri

    HI
    If you are FM to process the inbound  IDOC,
    possibilities are like below .
    Reason 1 :
    In partner profiles, check is it trigger immediately or not ? for particular partner profile which u r using .
    reason 2 :
    If you are using BDC code to update the data .if any screen contains error then also you will get the status in yellow .
    reason 3 :
    Have you tried with  TCODE  BD87 ,  might be it is processing error also .
    i have worked on same probelm so  if u r not solved with the issue after trying above 3 reasons .
    reply me back .

  • Scheduling agreement inbound idoc error.

    Hi Experts,
    I am creating an Scheduling Agreement with DELFOR02 inbound idoc, while creation the Scheduling Agreement system is giving error regarding Scheduling Agreement not found. In fact I have create the Scheduling agreement by T-code VA31. And I check the table VLPKM, there are relevant record stored.
    Then I maintain the view V_T663A to not check everything when inbound idoc recevie. and tried agan in t-code BD87. the system give me another message Make an entry in all required fields.
    How can I handle these error messages?
    Thanks..
    Regards....

    Does any one has ideas for that?
    Thanks.

  • Inbound IDOC error while processing Invoice

    Hi All,
    I received the following error while processing an Invoice on an inbound IDOC:
    <b>Field BSEG-MEINS - does not exist in the screen SAPMF05A 0300</b>
    Message no. 00349
    <b>Diagnosis</b>
    The specified field does not exist on the screen
    <b>Procedure</b>
    Check your batch input data
    Any assistance will be greatly appreciated.
    Thanks, Inno

    Hi
    Please check which G/L Accounts were involved and verify that the Field BSEG-MEINS was set to 'optional' in Transaction OB14. The correct Field Status Variant
    for the Company Code can be viewed with Transaction OBY6 and the Field
    Status Group for G/L Account can be found with Transaction FS00 under
    the Create/bank/inter Tab. This should eliminate the Error 00 349.
    Regards
    Javier

  • Inbound idoc error in 51 Status of at least one serial number of item

    Dear Experts,
    There is one inbound IDOC which is in error with status 51 showing error Status of at least one serial number of item  is not allowed.
    Can you please advice why this error is coming.
    Thanks & Regards,
    Nikhil Kanegaonkar.

    An inbound IDOC in error will have the status 51, & it is marked for deletion it has a status of 68.
    http://www.dataxstream.com/2009/10/mass-status-change-sap-idoc/
    http://wiki.sdn.sap.com/wiki/display/ABAP/IDoc+Statuses
    Edited by: Krupaji on May 6, 2011 2:38 PM

Maybe you are looking for