Skip to Content
author's profile photo Former Member
Former Member

Event Linkage - Container element from Event to Workflow

Hello,

I have a Material Master workflow u2018BUS1001006u2019 in the event linkage it works fine if I check/filter the plant in Event Linkage condition and execute the workflow accordingly for certain plants only but due to the change in requirement I have to do something for all plants and some of only specific plants. So I created a element in workflow container(Werks) and passed the Event Container element(Plant) to Workflow Container Element(Werks). When I check this Workflow Container Element(Werks) it is always blank i.e I am not getting value for Event Container element(Plant) passed to Workflow Container Element(Werks).

My event linkage shows fine and it is green.

Am I going in the right path, can someone say what could be wrong or what is that I can do to get the value or current material plant that has been created/extended.

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 03:12 AM

    check whether the binding from event container to WF container is defined or not.

    if you are triggering the event using a FM then you need to set the event container elements explicitly.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 03:39 AM

    Hi Nani,

    The only reason for the WF container to be blank could be the Event-Workflow binding missing.

    But if you need the Plant in the WF container to be used further, you can create a subtype of BUS1001006, a Z method in this and in the program of this Z method, you can fetch the Plant form the standard table. This will surely work. Ensure one thing, in the WF-Task binding, bind the std. BO with WI_Object_ID of the task.

    Let me know if you have any queries.

    Hope this helps.

    --

    AD

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 03:49 AM

    Hi Nani,

    Have you created your own event parameter. How are you passing the value to the event parameter/ event container? Check if the value is getting populated in the event container. Then check the binding. Also check the compatibility of the event container with the workflow container.

    Let me know if you have any queries.

    Regards,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 05:00 AM
    I created a element in workflow container(Werks) and 
    passed the Event Container element(Plant) to Workflow Container Element(Werks). 
    When I check this Workflow Container Element(Werks) it is always blank i.e 
    I am not getting value for Event Container element(Plant) passed to 
    Workflow Container Element(Werks).

    My view on the issue is that you are passing the Plant----->WERKS i;e from event container to workflow conatiner.

    • First thing check the properties of the event conatiner element , I mean make it as Import and export Enabled.

    • Secondly I assume that you are doing some manipulation to the plant in the method of the BO so make sure that you set the to the plant from BO method by using the SWC_SET_ELEMENT .

    • Make the Proper binding between the Plant and Werks and make sure that both belong to the same Data Type.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 04:28 PM

    vikram shah : Binding from event container to WF container is defined and It is a standard event

    Ajay Deshmukh : Binding exits between Event and WF and binding exits for WI_Object_ID of the task and WF.

    Raj Karunanidhi : I did not create my own event parameter. It was there with the Bus Object. I see that it is there as part of event parameter.

    Pavan Bhamidipati : Container element that I have created is import and export. For the event container It does not show up of any option for import/export and the data type is same.

    Thanks you all for you effort in helping me.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Nani,

      Firstly, are you trying to get the Workflow container (Plant) value from a method programetically?

      I guess you are trying to pass this value from Event container i.e. from Basic data.

      As i suggested in my earlier post, fetch the value from standard table and pass it from Method -> Task -> Workflow container.

      Also try to remove buffer thr' SWU_OBUF.

      Hope it helps.

      --

      AD

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.