Add task container element

I have a deceison step and in the container task I add a variable , and add this variable  to the description of the task , i triger the WF and it is working OK ,
put when i try to do the same thing with new variable ( add another variable to the task container ) 
and add it to description it dosnt appear .
I do a new bindig to the step task
any help please
thanks and regardes

Hi,
U have created one new elemnet in task conatiner n it is not cming in task desc.
For this, first check that d element which u created have right import,export properties.
u have already created one element.....i.e. u know d procedure.
then delete dis 2nd element n create it again....sometimes it helps
hope it helps u!
Regards,
Mamta

Similar Messages

  • Wat is the task container element

    hi ,
    im using a task and  sending a work item .
    if i want to find the person to whom the workitem is triggerd,
    which task container elment  hold this value..
    olease suggest me ..
    Raghu

    I think you can use Function Module
    SAP_WAPI_WORKITEM_RECIPIENTS
    to retrieve the agents that has been assigned provided you have the workitem Id. In the Task container it will not be reflected unless you have designed like that.
    Yes if the step is executed then the WI_ACTUAL_AGENT container element of the relevant task container will store the agent who executed it.
    Thanks
    Arghadip

  • Query regarding task container elements

    Hi,
    im very new to workflows,
    in task container ther r some default elements like WIgroup_ID,_workitem
    WIOBJECT_ID etc..........
    can any one tell the use of them,wher do we use them genrally

    This r my Mail IDs
    [email protected]
    [email protected]
    [email protected]

  • Reg: Access the container element value inside the Task's description tab

    Hi All,
          I need to call one of my container element into the task's description tab as text symbols.
    Please let me know how to do it.
    Regards,
    Selva.

    define an importing element in the task container.
    map this importing element with the element in the workflow container.
    now you can use this task container element in your description text box. (method exxplained in the previous post to this problem)
    rgds,

  • Get container element of task container

    Hi,
    in my method of a Business Object I need to get the value of the element WorkitemID of my task container.
    I tried the following to read the value of the element:
    swc_get_element container 'WorkitemID' lv_wiid.
    But I don't get the workitemID of the task.
    What am I doing wrong here?
    Thanks for your help.
    Regards,
    Martin

    Hi Martin,
    Are you making a call to the BO method from the task you are using?
    If yes, then in the binding between the task container and the method container, pass the workitem element you need to pass to the method.
    In the BO method, add an input parameter 'WorkitemID' of the same type as the workitem element.
    Now create a data element in the method code of name 'lv_wiid' of the same type as WorkitemID.
    Then use the code:
    swc_get_element container 'WorkitemID' lv_wiid
    to fetch the value of the element in the code.
    Hope this helps!
    Regards,
    Saumya

  • Properties of the element of a task container.

    Hello there,
      The element I am binding from workflow to the container element doesn't allow me to change its property to 'import'
    When I check the binding. I get this diagnostic message:
    <element-name> is not an import element and is hence not to be changed
    Message no. SWF_BND_001016
    Diagnosis
    The current binding instruction is aimed at an expression whose basis element <element-name> is not an import parameter. Only import parameters should be filled.
    Procedure
    If the value has to be sent, the element <element-name> should be marked as an import parameter and thus included in the interface.
    Can anybody tell me how to fix this.
    Thanks and regards.

    Hi,
    From the problem that you have I assume that you are doing the binding from the Workflow container to the Task container. If that is right then check the following:
    1. The task container is nothing but a reflection of the method parameters. When you define your method in SWO1 then these parameters usually get generated automatically if you use a function module or a BAPI. You have the option of adding them as well. There you have the check boxes of Import, Export and Multiline. You can change them but since they are auto generated you should not change them as they are a reflection of the interface parameters of the Function module.
    2. If you want to change the entire container's property then go to the respective task either from the workflow builder or PFTC and then go to the tab "Container", select the container nd go to the properties tab and change the properties. However this applies to the container elements you have created and not the generated one (_WI_OBJECT_ID).
    Hope this helps,
    Sudhi

  • How to round value of container element in task description

    I am trying to round the value of the container element from 3 decimals to 2 decimals for display purposes.
    The command symbol in the task description is &_WI_Object_Id.OverallTotalCost&. I have looked at SAP Help and I have tried the suggestion of &_WI_Object_Id.OverallTotalCost(.2)& and &_WI_Object_Id.OverallTotalCost(Z.2)& with no success.
    I have also searched the sap-wug mailing list and SAP ITToolBox and found no references rounding a container element in a task description. I have seen code assigning a value to a packed decimal variable to round. But I have not been able to get this to work as a command in a description for a task.

    I created a new element in the container as suggested by Glauco and added the element binding in the workflow / task binding. Biggest hassle was finding a business object that had a type of 2 decimal places to use for the new container element.
    The reason why the SAPScript symbol for reducing the number of decimals does not work in Task texts is because the container elment symbols are resolved first as text. Therefore only the SAPScript commands that apply to text will work like length.

  • Container element in task item text and task description inconsistent

    We use the purchase order release workflow 20000075: Workflow for release of purchase order
    The container element Release indicator (&_WI_Object_Id.ReleaseIndicator&) is used in the PO release effected task TS20000168 in work item text (title) and task desription (body text). 
    When we release the PO a workflow notification is send to the PO creator, the title text shown Release indicator = Z (released) and task body text shown release indicator = Z (same). 
    However, we do a cancel (undo) to the release of the PO, now when we view the same workflow nofication again the task work item text (title) shown Release indicator = Z (released) and task body text shown release indicator = X (blocked) -latest status.   
    In this scenario the title text does not updated with the latest release indicator value, the task body text does. Task work item title text and task body text is inconsistent for the release indicator. When we view the workflow notification at this point is confused with the release indicator Z and X (approved in task tile  and Blocked in task body text).
    Please help how to resolve this issue, any way to make the body text release indicator does not change once the notification is generated??

    This is very weird!!!!!  I will suggest you to check the binding such that the PO Object is binded from Workflow to Task and viceversa.
    Thanks
    Arghadip

  • Container element not available when task is background

    Hi All,
    We have a task and method. the method works fine when tested individually, returns the correct values.
    However when the task is executed in background mode, the element in container is not updated. If the processing mode is foreground, the element is rightly updated in container.
    Clearly it has nothing to do with binding since I get the elements when I execute the task in foreground.
    any ideas would be welcome.
    thanks,
    Gautam

    Actually, I believe the problem is related to binding.
    When called in the foreground, object references (and data references) are present in memory for all subsequent processing.
    You probably need to make the CONTAINER "Persistent".
    In your code, call the macro SWC_CONTAINER_TO_PERSISTENT <container name here>.   For example:
    SWC_CONTAINER local_container.
    SWC_CREATE_CONTAINER local_container.
    "  Set you Container elements
    " SWC_SET_ELEMENT local_container 'Element01' lv_element01.
    " SWC_SET_TABLE local_container 'Element02' lt_table02.
    SWC_CONTAINER_TO_PERSISTENT local_container.
    " Start your workflow passing local_container.
    Something like this...
    Hope this is relevent . . . Apologies if not . . .
    Regards,
    Tom Carruth

  • Output of multiline container element in email not working

    I'm trying to display a multiline container element in an e-mail from workflow. The element container contains 2 lines. I can see these have been populated in the log in SWIA. However, when using &ITAB##& to output these lines nothing is diplayed. I've also tried &ITAB[]& and &ITAB& all of which return no lines in the e-mail.
    Does anyone know if this is something I'm doing wrong or is there an error in R/3. I'm on release 4.6c.
    Thanks
    Karen

    This is getting annoying. This was sednging e-mails and printing the table in the e-mail fine. Then I had to add more fields to the table ITAB. After this the table wasn't showing again in the e-mail. I recreated the workflow, tasks and even the BOM, but still nothing.
    As before I can see the ITAB entries in the details of the e-mail task. But, they don't get written into the e-mail even though I'm selecting &ITAB##& from the Expressions section to put into the e-mail.
    Is there anything I haven't tried. Is there something I'm doing wrong? Is this a SAP problem that can be fixed with a note. I've had a look, but can't find anything about it.
    Thanks
    Karen

  • UWL Approve/Reject - Workflow Container Element

    Hello,
    I have a custom WF which uses a task copied from a standard. It is a User Decision task based on TS20000135 (Check Trip Facts).
    If the user rejects the trip he will need to Add a Memo which will be bound to container element AttachObjects.
    To test the existence of an attachment, I have a completion based on this field but I also need to check if the user pressed the "Send trip back for correction" or "Reject" button, otherwise he will also have to enter a memo in case he approves the trip.
    Anyone knows what is the WF Container Element that will contain the action value?
    Moreover, does anyone know what are the values for each action? (i.e. Approve, Reject, Send Back).
    Thanks in advance
    Antonio

    This value will appear in the task container of a decision task. I think it is of type SWD_LINES-RETURNCODE. I feel the container element is RESULT. This element gets created default in a decision task. Check the standard Decsion task 8267. Generally it returns a 4 digit number. Suppose you have 3 decision it will return 0001,0002 and 0003. Just analyze that Container Element in the task and you will resolve Ur issue. Test and find out which number returned is corresponding to your decision.
    Thanks
    Arghadip
    Message was edited by:
            Arghadip Kar

  • Container element is not being displayed in email

    Hi Experts,
      I inserted an element from container into email text as below
    The task has been pending in inbox for more than &ins_num& days.
    The value of &ins_num& in container is 9
    In output I get
    The task has been pending in inbox for more than  days.
    Please let me know what is wrong. The binding works fine. No error in workflow.
    Thanks.

    Hi Miak,
    Greetings..:-)
    > I inserted an element from container into email text as below
    > The task has been pending in inbox for more than &ins_num& days.
    > The value of &ins_num& in container is 9
    > In output I get
    > The task has been pending in inbox for more than days.
    > Please let me know what is wrong. The binding works fine. No error in workflow.
    Check on the Following things:->
    1> The Container Element has Initial Value defined, If Yes - it should symbolise in Green Colour.
         If 'Not', then check the WF Log and see whether this Container Element is fetching the Values orr   not.
    2> If the Values are not being Fetched, then the Problem lies with the Binding of these WF Containers.
    Let me know if you are still facing Issues.
    Regards,
    Kanika

  • Syntax for retrieving data from a task container

    Hello Workflow Fans !
    I have a Task with the following configuration:
    BASIC DATA - Object Method :
    Object Category: BOR Object Type
    Object Type: ZBusObj1
    Method: 022_Data_Upd
    CONTAINER :
    I have added a second BOR Object in the container called ZBusObj2
    In conclusion, when the task is executed within my WF run, the method ZBusObj1.022_Data_Upd is executed and both business objects (ZBusObj1 and ZBusObj2) should be available in my Task container.
    My question:
    How, in my method 022_Data_Upd, can I retreive (get) the value of the ZBusObj2 key field (Customer No)?
    Here is what I tried... obviously... without any success:
    BEGIN_METHOD O22_Data_Upd CHANGING CONTAINER.
      break-point.
    * Variable declarations
      DATA: lva_Risk_Cat    TYPE ZTCOMP_PDV-CTLPC.
      DATA: lva_Montant_V TYPE ZTCOMP_PDV-MONTANT_V.
      DATA: lva_Custno       TYPE KNA1-KUNNR.
    * Data retreival from the task container 
      SWC_GET_PROPERTY self 'RiskCategory' lva_Risk_Cat.
      SWC_GET_PROPERTY self 'MONTANT_V'    lva_Montant_V.
      SWC_GET_ELEMENT container 'ZBUSOBJ2.Customerno' lva_Custno.
    The last line (SWC_GET_ELEMENT...) is the one I'm strugling with...
    Any help will be appreciated.
    Thanks in advance.
    José

    So, my understading is that you need an instance of the second object OBJ2 inside the method of the first object OBJ1.
    First, if you only need the customer number, I recommend that you only pass the number itself. Here is what you need to do:
    1- Add an "Import" parameter to method 022_DATA_UPD and call it anything (I'll use PARAM): the parameter can be either an object or a field. You specify the type when you define the parameter. Parameters are added by "single" clicking the method name in SWO1 so that the pointer is on the method name then clicking the "Parameters" button.
    2- Inside the method, add the following code
    Case 1: parameter is an object
    DATA: lvo_custobj  TYPE swc_object.
    DATA: lva_custno TYPE KNA1-KUNNR.
    swc_get_element container 'PARAM' lvo_custobj.
    swc_get_property lvo_custobj '<CUSTOMER_NUMBER_PROPERTY_NAME>' customer_number.
    Case 2: parameter is just a field
    DATA: lva_custno TYPE KNA1-KUNNR.
    swc_get_element container 'PARAM' lva_custno.
    As you can see, adding only the customer number is easier to read. The method should work when you test it in SWO1 before you proceed into the next steps.
    3- Make sure the standard task calling the method is updated with the new parameter. Basically open the task in change mode and type an extra space in the description field then hit Enter. The system will ask you if you want to update the list of parameters.
    4- Update the binding of the task in the workflow template to pass either the customer object or customer number.

  • Assigning a value to container element in rule defination

    I am using a rule to determine an actual agent. I am using a function module containing actor_tab and ac_conatiner in TABLES parameter. the agent determined is appended to internal table actor_tab. I want this agent to be available in a container element(say: APPROVER) to use it further. I am trying to assingn the agent value to container element using macro  swc_set_element ac_container 'APPROVER' agent-name. But its not working...any other way to assgn this agent to the container element. Bindings from workflow container to rule container are proper.
    Edited by: Rishi Bhatia on Oct 19, 2008 2:46 PM

    i think you cannot modify the container element from Rule.
    the agents of the task determined by the Rule will be stored in some variable of the container automatically (i think it is RuleResult.Agents). you can check this yourself and then bind this element of the task to your APPROVER element.

  • Error while creating container Element in WF

    Hi,
    I have created a container element with field vbeln, and specified an initial value. Created mail step and activated it.  I have given the mail subject and content  as "value given : &vbeln&".  When I try to test this I couldn't find the container element in " Input Data" tab  of the Test Data and getting the message as "Contnr elem. VBELN  is for read purposes only. No values are assigned to it." 
    Could anyone suggest me to correct this, because I am new to WF.
    Thanks,
    AA

    Hi AA,
    You would probably need to create more than one containers.
    In workflows, we have following types of containers:
    1. Workflow container
    2. Task Container
    3. Event Container
    Now, since you need the element VBELN, try the following:
    1. Create a WF container for VBELN. Make it as both input and output parameter.
    2. Create a container for the Mail Step, again with VBELN field as an input parameter.
    3. There would be a button for binding in the mailstep. Bind the Field VBELN from Work flow container to the Mail Step container.
    Once binding is done, save it and Activate the Workflow.
    Hope this helps.
    Do get back in case of any issues.
    Regards,
    Sonal

Maybe you are looking for

  • Posting date field in reports S_SMC_47000016 / S_SMC_47000017

    Hi all, We are using the serice desk function for monitoring the support tickets. I have one quert related to List of notification transactions S_SMC_47000016 / S_SMC_47000017. In the service desk whenever we run the report of all open notificaitons

  • Error message when opening iTunes and Mail

    I'm running OS X 10.6.8 on a Mac Book. Since the recent 'hack' reports, I subsequently changed my Apple Password. Since then, when I open iTunes I get the error message: "You are signed in with a different Apple ID than previously used with podcsts.

  • Problem on keyboard

    recently, the volume keys and wireless keys on keyboard are not working

  • Can no longer drag and drop icons

    Hello All All of a sudden no users on my mac can "drag and drop" on desktop in finder or in the dock. can move open windows. have tried my old mouse and just the same also firefox stopped working at the same time wont load! Help please

  • Verizon does not want to honor early termination fee waiver! ANY ADVICE??

    So in september of 2013 I contacted verizon to complain about lack of service in my area, I finally decided to complain after my phone dropped a very important phone call I was having. After speaking with a verizon representative they issued a suppor