Skip to Content
avatar image
Former Member

Workflow from inbound IDOC_INPUT_ORDRSP

Hi Experts,

I have spent a few days trying to figure out how I could create an workitem based on the inbound idoc_input_ordrsp. Basically, my objective is to create an workitem based a value in the the inbound edi 855 file. For example, depending on a value in the e1edp01-abgru value, I wanted to trigger ME22N transaction and have the use modify the PO with the values contained in the idoc file.

Your urgent feedback and expert knowledge is greatly appreciated.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 21, 2007 at 12:35 AM

    hi,

    Check the content and based on the condition Call function module 'SWE_EVENT_CREATE' to tigger the event.

    Attach this event to a workflow in transaction SWETYPV.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      What I have now is the "SWW_WI_CREATE_VIA_EVENT

      " for objectype = IDOCORDRSP and receiver type "TS00008075".

      Your elaborate explanation is greatly appreciatd.

      Thanks,

  • avatar image
    Former Member
    Aug 21, 2007 at 02:30 AM

    hai

    You need to move the SDATA Segments from EDIDD into the respective structures like E1EDKA1, E1EDKA2 etc.

    Then you have the all the values in the internal strucutures.

    I hope this will help you.

    Regards

    rose

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rose,

      As you may know, I only have user exits at a certain places and I don't have many facility where I can overwrite the error messages. What I am looking to do is to look at the abrvw field in the e1edp01 segment and depending on the value, ME22N or MM03 Methods need to perform.

      Your step by step instruction is greatly appreciated.

      Thanks,

      Shawn

  • avatar image
    Former Member
    Jun 20, 2008 at 02:01 PM

    Still looking into this solution.

    Add comment
    10|10000 characters needed characters exceeded

    • Take a look if we approach in this direction:

      1. find the user-exit where you can check this inbound idoc segment value if found, trigger the event based on BO "BUS2012" and event "Created" or "changed"

      2. Create a Std Task with this object and event with method "EDIT" and assign the appropriate agent

      Hope it helps.

      Regards, IA