Workflow notification when idoc fails

Hi Gurus,
have little confusion over in understnaind the concept of order acknowledgement and shippining notification and the way they appear in MD04. Please ckindly clarify.
We create a PO and send it to the vneodr (this is called 850). we use a third part VAN provider who will trnasmit the PO to our vendor. Now if there vendor receives the PO sucessfully, then it is called a 997. This is received only by the van provider. we do not get this. the van provider will only contact us if the document is not sucessfully trasnmittted.
Now if the vendor agrees to the date and quantity on a single line that we have asked on PO, what is it called? Order acknowledgement or order confirmation or shipping notification? If it is order confirmation, then should it not appear as Ord conf or something like that in MD04. What do we need to do to make it look like ord conf. Becuase rright now we are still in the testing mode, once we get a confrimation about dates and quanitites on the confirmations tab on the P,O, i see that it shows up as SHPNTG ind MD04. is it right or am i missing anything. again this is setup in config. How we can deal a scenario where our users do not want to go the route of creating the inbound delivery automatically, and VL32N goods receipt, tehy dont want to do that. They still want to stick to MIGO and receive. <<Text removed>>
My understanding is as follows, let me know if i'm right or wrong and please correct
PO gets sent out - This is 850.
Van provider gets confirmatioon of the successful receiupt of the PO from vendor - This is 997 and only van proivder gets this.
Order confirmation - is this called order ackwnowledement or order confirmation? The vendor agress to the dates and quantities that we asked, Lets say the vendor changes the dates and/or quantities than what we asked. Is there a posssibility in system where we can put them in wait mode and not update our PO, then the buyer will go to some place in SAP and verify the changes dates and/or quantities that the vendor sent and then accept or reject the changes if we dont like etc.
once the material is put on truck by the vendor, then we can get loading confirmation if we need to. Then finally once when they do the PGI that is when we get the shipping notifdication. IF this is the shipping notification then what is it that we got when the vendor agreed to our dates and quantities or changed the quanittues and dates. Please help
Thanks
Anusha
Edited by: anusha vemulapati on Jun 23, 2011 7:30 PM
Edited by: Matt on Jun 24, 2011 9:51 AM

Hi Anusha,
Well a very long description of question, and too many questions, please mention if something is missed in reply
Firstly when you receive acknowledgement of the order from vendor, that means it is Order Acknowledgement, that vendor agrees to the terms and conditions of the PO sent in the PO, he may send you a date variance and may not, but not sending a date variance doesn't guarantee that there can be no change later.
You mentioned the uses are not ready for Inbound delivery creation, so don't enter the shipping notification confirmation category in your confirmation control set up at all, or if you want you can use it but make it unaffected for your GR posting manually, by not ticking the GR assignment field in the confirmation control against shipping notification. by doing this it doesn't matter whether an Inbound delivery exists or not, you can post a GR Manually using MIGO.
See basically order acknowledgement is just an acceptance by the vendor of the PO terms and condition whereas a shipping notification is more relevant from planning point of view, because it gives you exact dates of material reciept, also you can link use these documents for various other purposes.
Regards
Chandra Shekhar

Similar Messages

  • When idoc failes for inbound sales orders then how to trigger a mail notifi

    Hi All,
    When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement.
    Thanks in advance..

    Closing thread as there are no replies

  • How to trigger email notification when users fail to reset your password in fim 2010 r2.

    Hi,
    how to trigger email notification when users fail to reset  your password in fim 2010 r2
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2

    Hi,
    How to trigger email notification when users fail to give correct answers to reset your password in fim 2010 r2
    Senario:I want put wrong answering to the Questions that i was during registration if i give wrong answers to the questions then a Email Notification should be trigger to Users.
    Regards
    Anil Kumar

    Hi Sylvain,
    I did all thing as you told me.First i created Criteria based Set after this we created a Workflow type Action and Actvities Type Notifcation Email template and finally i called this Workflow in MPR as Set Transition and call Set that i was created below.and
    check Advance View of Set this gives
    <Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Dialect="http://schemas.microsoft.com/2006/11/XPathFilterDialect"
    xmlns="/Request[(Creator">http://schemas.xmlsoap.org/ws/2004/09/enumeration">/Request[(Creator = 'b0b36673-d43b-4cfa-a7a2-aff14fd90522') and (RequestStatus = 'Denied or PostProcessingError')]</Filter>
    But this is not working for me so please tell me where i am wrong.
    Regards
    Anil Kumar

  • How to trigger a workflow notification when DESADV reaches a 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

    Renu,
      Event "inputErrorOccurred" is still not getting triggered....
    For this event there are many parameters, Do you think this may be the reason?
    I DO NOT THINK SO.
    In IDOCDESADV business object, I put a break point in the method INPUTFOREGROUND. When I tried to execute this I will get the required output but the control doesn't stop at the break point.
    YOU'RE TRYING TO EXECUTE THE METHOD BUT THE ISSUE IS EVENT NOT RAISED WHEN IDOC ERRORS OUT(STATUS - 51).
    Please try this and let me know.
    Try to put a break point in the IDOC function module
    and create the error IDOC using WE19.
    Your function module should populate the workflow related parameters in the IDOC funtion module.
    Thanks

  • Mail to be triggered when IDOC fails

    Hello experts,
    I have created a responsibility and added list of user to it. I have been to WE20 and assigned responsibility to one of the logical system and message type "ORDERS". Whenever an IDOC with message type "ORDERS" fail, respective persons of responsibility shall get mail.
    Please let me know what all I need to do.
    Thanks,
    Krishna.

    Hi,
    You can achive this in the following way,
    1. create a custom workflow to send mail
    2. go to Transaction WE42 and select your process code
    3. Open the process code by double clicking
    4. Here you can find the funtion module ( Identification field ) to process the inbound IDOC.
    5. select the button attached with Identification
    6. You can find there are several box..
        Select the 'Idoc' Box
    7. Here you can find the
       Object Type
       Start Event
       End event
       Success Event
        You can can maintain the requrired event here which will trigger if any idoc failed.
        e.g.
        Object Type                         IDOCHRMD
        Start Event                         INPUTERROROCCURRED
        End event                           INPUTFINISHED
    8. link this start event with your custom wokflow.
    9. When ever the idoc fails event INPUTERROROCCURRED will trigger and this will start the custom workflow.
    Hoping that this will help you.
    Thanks and regards,
    SNJY

  • Workflow Termination when IDoc is changed

    Hi all,
    For some inbound IDocs (SRCLST and INFREC), a workflow is triggered in case of an error. This works very well, and the extended notifications are triggered as well (mail included).
    However, in some cases, an IDoc in error is retreated automatically by a certain job and often, succesfully (data is locked or...). Nonetheless, the workflow item remains in the inbox and can only be closed by executing it and clicking on "End Process". Sometimes this leads to a number of notifications (mail) that are being sent even though the IDoc has already been treated successfully.
    Is there any way to trigger the termination of these workflows when the IDoc status is changed? The standard tasks that I am using are TS40007912 (SRCLST) and TS40007911 (INFREC). I am fairly new to workflows, so any assistance would be greatly appreciated.
    Thanks in advance,
    Aerv.

    Hi Aerv,
    (on the requirement in general)
    I think that your requirement (terminate error workitems when Idoc is re-posted successfully) is part of standard:
    Workitem termination is implemented by means of terminating events. If you look at 'terminating events' tab of task TS40007912( or TS40007911), you'll see that INPUTFINISHED event is there.
    Thus, the workitem should terminate whenever INPUTFINISHED event fires.
    The event fires when
    - a user processed the idoc (see 'Error Handling Process' here Error Handling - ALE Programming Guide - SAP Library) ,
    - the system processed the idoc successfully (RBDMANI2) - your case
    (on your setup)
    I suppose, you don't need to add entries in SWE2 to make a terminating event work.
    If you have those extra entries now, try deactivating them - probably it will correct the inconsistent behaviour as we see on the screen shot.

  • Email notiifcation when idoc failed

    I want send the mail to respective person when PO idoc failed.
    tell me the steps how to verify this senerio.

    Hello,
    Following SAP link will help you for email trigerring during IDOC failure.
    http://help.sap.com/saphelp_nw04/helpdata/en/90/c4b523c4c411d2a5ee0060087832f8/frameset.htm
    Br,
    Tushar

  • PI 7.1 send email when IDOC fails

    Hi,
    we have PI 7.1 with local CCMS for monitoring.
    Can anyone tell me if its possible to send an email when the idoc adapter receiver adapter fails to send a message to ECC ?
    Any documentation on this ? Can this be done without using a BPM ?
    Thanks.

    Hi Thierry,
    You can activate IDOC monitoring. Check the links below if it helps you:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b81b943d711d1893e0000e8323c4f/frameset.htm
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    Best Regards,
    Rogério

  • How to set the status when Idoc fails

    Hai ,
    I created Idoc extension & created a segment under that(Delivery related).
    My requirement is,
    if certain data not found,
    Idoc should fail with text"Shipemnt for delivery <del. No> not found.
    Could you please help me how to do this?
    I checked the table EDIDC table but the above mentioned status is  not there.
    Thanks & Best Regards,
    Bhaskar.

    you need to set the status using IDOC_STATUS
    where ever error occurs populate the status table.
    IDOC_STATUS-DOCNUM = IDOC_CONTRL-DOCNUM.
       IDOC_STATUS-STATUS = '51' ." if it is inbound
       IDOC_STATUS-MSGTY  = Message-type.
       IDOC_STATUS-MSGID  = message-id.
       IDOC_STATUS-MSGNO  = message-MSGNR.
       IDOC_STATUS-MSGV1  = message-MSGV1.
       IDOC_STATUS-MSGV2  = message-MSGV2.
       IDOC_STATUS-MSGV3  = message-MSGV3.
       IDOC_STATUS-MSGV4  = message-MSGV4.
    *  IDOC_STATUS-SEGNUM = ?????????????????
    *  IDOC_STATUS-SEGFLD = ?????????????????
    *  IDOC_STATUS-UNAME  = ?????????????????
       IDOC_STATUS-REPID  = SY-REPID
    *  IDOC_STATUS-ROUTID = ?????????????????
       APPEND IDOC_STATUS.

  • Workflow notification is not tiggered for IDoc of message type 'WPUWBW'

    Hi All,
            I would like to know the setting up of workflow notification for IDoc message type 'WPUWBW' (idoc of different message type is getting notified). Please provide pointers and also the steps for the above issue.
    Regards,
    PSS

    Hi Ferry,
    System checks for the IDOC version and then calls the EXIT if the versions are different .Following is the code snippet that ensures the above thing in include LBD11F0T :
      Change IDOC version if target <> current version.
      IF  F_EXCEPTION-MSGTY IS INITIAL
        AND (    F_IDOC_CONTROL-IDOCTP <> TARGET_IDOCTP
              OR F_IDOC_CONTROL-CIMTYP <> TARGET_CIMTYP ).
        PERFORM CHANGE_IDOC_VERSION TABLES   T_IDOC_DATA
                                    USING    TARGET_IDOCTP
                                             TARGET_CIMTYP
                                    CHANGING F_IDOC_CONTROL
                                             CHANGED_FLAG
                                             F_EXCEPTION.
      ENDIF.                               "End of  if subrc = 0
    Have you tested it ? Pls suggest if I am wrong somewhere.
    Thanks and Regards
    Gurpreet Singh

  • Triggering workflow upon idoc fail

    Hi Gurus,
    I have to trigger emails to users thru workflow whenver an idoc fails. Please teach me how can I achieve this.
    Your help is highly appreciated.

    Hi
    Here is the link for idoc error handling workflow.
    [idoc error handaling|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609e6465-15de-2a10-859d-da7bcbca54a3]
    [idoc description|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8088e6fc-5637-2b10-c189-9733fa621cf1]
    Regards
    vijay

  • 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 setup notifications when workflow fails ?

    Hi all,
    new to this, so please help.
    I want to receive notifications when a workflow fails for whatever reason.
    I am using R12 (12.0.4) on linux.
    Is there a way to configure this through OAM perhaps.
    Many thanks in advance.

    Hi;
    Please check and see its helpful for your issue
    Oracle Alert and WF mailer
    Re: Oracle Alert and WF mailer
    plz help me...!!!! Workflow Notification Mailer
    Re: EBS work flow
    Regard
    Helios

  • Sending an email notification when an IDOC get failed

    Hi Experts,
    Can anybody tell how i can send an email notification when my Idoc fails.
    Regards,
    Ratheesh

    report zalv10.
    type-pools: slis.
    data: g_repid like sy-repid,
    gs_print type slis_print_alv,
    gt_list_top_of_page type slis_t_listheader,
    gt_events type slis_t_event,
    gt_sort type slis_t_sortinfo_alv,
    gs_layout type slis_layout_alv,
    gt_fieldcat type slis_t_fieldcat_alv,
    fieldcat_ln like line of gt_fieldcat,
    col_pos type i.
    data: begin of itab,
    field1(5) type c,
    field2(5) type c,
    field3(5) type p decimals 2,
    end of itab.
    data: begin of itab1 occurs 0.
    include structure itab.
    data: end of itab1.
    data: begin of itab_fieldcat occurs 0.
    include structure itab.
    data: end of itab_fieldcat.
    Print Parameters
    parameters:
    p_print as checkbox default ' ', "PRINT IMMEDIATE
    p_nosinf as checkbox default 'X', "NO SELECTION INFO
    p_nocove as checkbox default ' ', "NO COVER PAGE
    p_nonewp as checkbox default ' ', "NO NEW PAGE
    p_nolinf as checkbox default 'X', "NO PRINT LIST INFO
    p_reserv type i. "NO OF FOOTER LINE
    initialization.
    g_repid = sy-repid.
    perform print_build using gs_print. "Print PARAMETERS
    start-of-selection.
    TEST DATA
    move 'TEST1' to itab1-field1.
    move 'TEST1' to itab1-field2.
    move '10.00' to itab1-field3.
    append itab1.
    move 'TEST2' to itab1-field1.
    move 'TEST2' to itab1-field2.
    move '20.00' to itab1-field3.
    append itab1.
    do 50 times.
    append itab1.
    enddo.
    end-of-selection.
    perform build.
    perform eventtab_build changing gt_events.
    perform comment_build changing gt_list_top_of_page.
    perform call_alv.
    form build.
    DATA FIELD CATALOG
    Explain Field Description to ALV
    data: fieldcat_in type slis_fieldcat_alv.
    clear fieldcat_in.
    fieldcat_ln-fieldname = 'FIELD1'.
    fieldcat_ln-tabname = 'ITAB1'.
    *FIELDCAT_LN-NO_OUT = 'X'. "FIELD NOT DISPLAY, CHOOSE FROM LAYOUT
    fieldcat_ln-key = ' '. "SUBTOTAL KEY
    fieldcat_ln-no_out = ' '.
    fieldcat_ln-seltext_l = 'HEAD1'.
    append fieldcat_ln to gt_fieldcat.
    clear fieldcat_in.
    fieldcat_ln-fieldname = 'FIELD2'.
    fieldcat_ln-tabname = 'ITAB1'.
    fieldcat_ln-no_out = 'X'.
    fieldcat_ln-seltext_l = 'HEAD2'.
    append fieldcat_ln to gt_fieldcat.
    clear fieldcat_in.
    fieldcat_ln-fieldname = 'FIELD3'.
    fieldcat_ln-tabname = 'ITAB1'.
    fieldcat_ln-ref_fieldname = 'MENGE'. "<- REF FIELD IN THE DICTIONNARY
    fieldcat_ln-ref_tabname = 'MSEG'. "<- REF TABLE IN THE DICTIONNARY
    fieldcat_ln-no_out = ' '.
    fieldcat_ln-do_sum = 'X'. "SUM UPON DISPLAY
    append fieldcat_ln to gt_fieldcat.
    DATA SORTING AND SUBTOTAL
    data: gs_sort type slis_sortinfo_alv.
    clear gs_sort.
    gs_sort-fieldname = 'FIELD1'.
    gs_sort-spos = 1.
    gs_sort-up = 'X'.
    gs_sort-subtot = 'X'. ***CRUCIAL STATEMENT****
    append gs_sort to gt_sort.
    clear gs_sort.
    gs_sort-fieldname = 'FIELD2'.
    gs_sort-spos = 2.
    gs_sort-up = 'X'.
    *GS_SORT-SUBTOT = 'X'. **THIS SHOULD NOT BE UNCOMENTED*
    append gs_sort to gt_sort.
    endform.
    form call_alv.
    ABAP List Viewer
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    I_INTERFACE_CHECK = ' '
    I_BYPASSING_BUFFER =
    I_BUFFER_ACTIVE = ' '
    i_callback_program = g_repid
    I_CALLBACK_PF_STATUS_SET = ' '
    I_CALLBACK_USER_COMMAND = ' '
    i_structure_name = 'ITAB1'
    is_layout = gs_layout
    it_fieldcat = gt_fieldcat[]
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    it_sort = gt_sort[]
    IT_FILTER =
    IS_SEL_HIDE =
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    it_events = gt_events[]
    IT_EVENT_EXIT =
    is_print = gs_print
    IS_REPREP_ID =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER =
    ES_EXIT_CAUSED_BY_USER =
    tables
    t_outtab = itab1
    exceptions
    program_error = 1
    others = 2.
    endform.
    HEADER FORM
    form eventtab_build changing lt_events type slis_t_event.
    constants:
    gc_formname_top_of_page type slis_formname value 'TOP_OF_PAGE'.
    *GC_FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE'.
    data: ls_event type slis_alv_event.
    call function 'REUSE_ALV_EVENTS_GET'
    exporting
    i_list_type = 0
    importing
    et_events = lt_events.
    read table lt_events with key name = slis_ev_top_of_page
    into ls_event.
    if sy-subrc = 0.
    move gc_formname_top_of_page to ls_event-form.
    append ls_event to lt_events.
    endif.
    define END_OF_PAGE event
    READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
    INTO LS_EVENT.
    IF SY-SUBRC = 0.
    MOVE GC_FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
    APPEND LS_EVENT TO LT_EVENTS.
    ENDIF.
    endform.
    form comment_build changing gt_top_of_page type slis_t_listheader.
    data: gs_line type slis_listheader.
    clear gs_line.
    gs_line-typ = 'H'.
    gs_line-info = 'HEADER 1'.
    append gs_line to gt_top_of_page.
    clear gs_line.
    gs_line-typ = 'S'.
    gs_line-key = 'STATUS 1'.
    gs_line-info = 'INFO 1'.
    append gs_line to gt_top_of_page.
    gs_line-key = 'STATUS 2'.
    gs_line-info = 'INFO 2'.
    append gs_line to gt_top_of_page.
    CLEAR GS_LINE.
    GS_LINE-TYP = 'A'.
    GS_LINE-INFO = 'ACTION'.
    APPEND GS_LINE TO GT_TOP_OF_PAGE.
    endform.
    form top_of_page.
    call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
    it_list_commentary = gt_list_top_of_page.
    write: sy-datum, 'Page No', sy-pagno left-justified.
    endform.
    form end_of_page.
    write at (sy-linsz) sy-pagno centered.
    endform.
    PRINT SETTINGS
    form print_build using ls_print type slis_print_alv.
    ls_print-print = p_print. "PRINT IMMEDIATE
    ls_print-no_print_selinfos = p_nosinf. "NO SELECTION INFO
    ls_print-no_coverpage = p_nocove. "NO COVER PAGE
    ls_print-no_new_page = p_nonewp.
    ls_print-no_print_listinfos = p_nolinf. "NO PRINT LIST INFO
    ls_print-reserve_lines = p_reserv.
    endform.deepakb
    Posts: 3
    Joined: Mon Nov 17, 2003 8:18 am
    Location: Mumbai

Maybe you are looking for