Over Time Workflow Container elements not updated

Hi,
I am using Standard Task TS20000459 for approval of Overtime entered for an employee in CAT2 transaction.
Work item is getting generated to his manager's inbox.
Issue is, subject of the work item should have employee number and Employe name. Standard Task contains Container elements &TS_PERNR& and &TS_ENAME& which is not getting filled with any values.
Can any one suggest me how to get the same?
Regards,
Saravana Perumal

Hi Shanti
I faced the same problem...And i resolved that problem by binding...
Create the container element for PERNR and ENAME in the standard task ts20000459 as well as in workflow container.Then bind those container values.
Before bind the workflow and task container, you have to bind the workflow container with the event container.
Regards,
Hemalatha.

Similar Messages

  • Worflow container elements not populating

    Hi,
    I am using a simple method and populating certain parameters of the method. in stand alone from swo1 the method populates the container element. This method is then called from a task in workflow.
    The problem I face is that the workflow container elements are not populated, although the container elements at the task level are populated corectly in the workflow log. Even If I am binding a hardcoded value at the task to workflow binding level, the workflow container elements is not getting correct values; when I check the log and hence the workflow goes in error.
    I would like to know why the workflow container elements not getting filled with right values. I have done many workflows before but never faced such an issue before.
    Regards,
    Vishal Bhatia
    Edited by: Vishal Bhatia on Sep 19, 2011 2:33 PM

    Hi,
    I have checked the binding and workflow is activated again.
    Also buffering was done in SWU_OBUF.
    I also tried to run the workflow from SWDD itself and still the same problem. This is very strange. Never before i encountered such an error.
    Kindly suggest. I also tried to create a new task and change the names of container variables in workflow. The strangest thing is the hardcoding of value also not being passed.
    Types of parameters match and import export set accordingly.
    Regards,
    Vishal Bhatia

  • Workflow issue - Main workflow container elements are not updated.

    Hi All
    We have implemented N-step badi for approval process and for this we have activated one workflow which contains subworkflow .
    During approval process , only the subworkflow container elements( approver list and last approver) getting updated with status and time.But main workflow container elements is not updating with these details.
    Binding between main workflow and subworkflow is perfect. But reverse binding ( from subworkflow -> main workflow ) will take place once subworkflow is completely finished. But here we will require / need to pass some information from sub workkflow to main workflow when still subworlflow in process( before completed itself).
    Please let me know is there any process / steps is required to pass values between subworkflow to main workflow ( binding is perfect).
    Please let me the way how I can update the main workflow container from  subworkflow container or from any step in sub workflow .
    In subworkflow . we have loop of  approvers and it will send workitems to approvers one by one.
    Here i need to update Main workflow with the information like last approver and approver list with status and approved time.
    So please suggest how Can I update main workflow container from subworkflow while subworkflow is still in process( subworkflow not yet completed).
    Kindly reply me ASAP.
    Thanks and Regards
    Madhukar .

    Yes I am setting SWC_SET_ELEMENT for my container values,the ones for which i have defined as EXPORT.
    And I have checked the task also...
    Everything has been checked properly..The binding is fine.
    Thanks & regards,
    Ravikiran Kallimath

  • 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

  • Read Workflow Container Elements attributes

    Hi,
    I am using a F.M <b>'RH_GET_TASK_ATTRIBUTES'</b> to get the attributes of the <b>Workflow container</b> elements.
    But the above F.M does not show the element attributes that I create inside the Workflow Builer under <b>Workflow Container Block</b> and I dont select either Import or Export Properties.
    Is there any F.M that reads ALL Workflow Container elements.

    If you want to clear a single element, use a container operation and assign it to space. If you need to clear an internal table, create another internal table container element that is always empty. Then, inside the container operation assign the empty table to the table you want to clear.
    Basically, you are doing this:
    container_element = space. OR container_element = ' '.
    container_internal_table[ ] = container_empty_internal_table[ ].

  • Creating Workflow Container Elements

    Hi,
                   I am looking to create two new workflow container elements of lenght 80char for 'WS92000027'  inorder to hold the required name to be outputted in the workflow . Could you please let me know setp by step procedure to achive this as am new to workflows .
    Thanks,
    Kumar.

    Hi,
    Create an element in the workflow container with the ABAP Dictionary data type "CHAR_80". Bind the variable accordingly from the task container or the event container and use it.
    Hope this will help.
    Thanks,
    Samson

  • How to create workflow container element from workflow builder?

    How to create workflow container element from workflow builder?

    in workflow
    three are five container, for each container we have define according to requirement of that particular container.
    1. event container
    2. workflow container
    3. task container
    4. method container
    5. rule container
    1. event container
    in evernt contianer we have to create elements in BOR where we create event in parameters
    2. workflow container
    in workflow container we have to create elements in workflow builder itself. in left side of the screen we see <double click to create element>
    3. task container
    in task container we have to create in task itself it has a tab called container elements
    4. method container
    in method container we have to create in BOR. it is created in parameter of that BOR.
    5. rule container
    in rule container we have to create in PFAC transaction

  • Step Container Element not getting updated

    Hi,
          I have created a step container element for handling comments with the same ABAP dictinary structure & import export       parameter of a existing workflow conatiner element  & binded with the WF container & step conatiner & i have the saved & activated the WF template sucessfully.but when action is being taken from portal on a Workitem then comments are being  passed to the WF container but the step container that i created is not getting updated . i checked in SWI6 , it's showing not set.
    can any help me on this regard.?
    Thanks & Regards
    Rohan Kumar Das

    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

  • Standard Container element not populating....

    Hi All,
    I am using a standard task TS17900100 to process the HCM Form in workflow at 2 places. There is a standard container element STEP_OBJECT of this task which gets populated at run time.
    Now at first place this container is getting populated correctly. But in the second place I have used the same binding and same task but STEP_OBJECT container is not getting populated. Also, STEP_OBJECT is not an import/export parameter.
    Please suggest.
    The task is using  the following class and method :
    CL_HRASR00_WF_COMPONENTS
    WI_EXECUTION_VIA_R3_INBOX

    Hi,
    I have checked the bindings in both the steps. It is same and all the containers are getting populated in the log except STEP_OBJECT. That's why I am not getting the reason for such a case. STEP_OBJECT is getting populated by itself in the first step. But it is not getting populated in the second step.
    Please suggest.
    Regards,
    Guddan

  • Return order BUS2102 Workflow container data not populated

    Hi All,
    Please requesting you to provide your advise on the below issue.
    I have created a custom workflow with business object BUS2102
    In the Workflowtemplate (E.g. WS90000XXX)
    i have included the triggering event for BUS2102 with EVENT "CREATED" and
    added a container element SDReturnCN of type BUS2102
    Once the Return Order is created the Workflow is getting triggered successfully
    but data is not populated into the container SDReturnCN.
    Do i need to write and EXIT to populate container UNLIKE as in Credit memo bussiness object :BUS2094
    if yes please let me know which part i am missing.
    Thanks & Regards,
    Veeru.

    Hello,
    "but data is not populated into the container SDReturnCN."
    Check the bindings. Where is the value coming from?
    regards
    Rick Bakker
    hanabi technology

  • Import workflow container element to program exits

    Hi Friends
    Can you please let me know if we can import container elements from workflow to program exits in step?
    Regards
    Rajeev

    Hi Rajeev,
    Yes you can import container elements from the workitem (not the workflow) to the program exit. You need an element which references the container (if_swf_ifs_parameter_container). You probably have an attribute in you class which is a reference to IF_WAPI_WORKITEM_CONTEXT called M_CTX. This has a method called get_wi_container which will give you the workitem container. Now you not only have the option to read elements with method get in your container class, but there is also a method set which will allow you to fill or change values in the container.
    Regards,
    Martin

  • BPM Alert Container Elements Not Filled

    Hi All,
    Another problem i am facing when i am raising alert from BPM.
    In inbox i see alert message being raised but with no text.
    I have also subscribed to email alerts.
    In the email the subject is Process 000000008058
    and the content is the first alphabet of the AlertMessage container element.
    Ex : In BPM my container element is AlertMessage and the message assigned is <i>Error</i> . Then in email message i only get E. where as in alert inbox i get nothing.
    ps : im using XI 7.0 SP 9. there are no notes which are applicable for this release.
    Regards,
    Rahul
    Message was edited by:
            Rahul Jain

    Hi Bhavesh,
    <i>>When you select Dynamic text in the Alert category, the Container tab will no longer be available in ALRTCATDEF for your Alet Category.!</i>
    the container tab is available but the Long& Short text tab is disabled.
    I did not mean that..
    What i meant was see next to the Properties tab in Alert Category defination there is a Container tab where we define our own container elements.
    Do i need to define the names there..or i can directly use in the BPM?
    Regards,
    Rahul
    Message was edited by:
            Rahul Jain

  • Workflow container element empty

    Hi all,
    I have the following problem:
    - my workflow container has an element named 'AbsenceRequest'
    - in the element 'AbsenceRequest' I have a subelement named Comments which is a table
    - I created a business object type 'ZESS_AREQ' in SWO1 which has an attribute named 'Comments' and a method named 'Create'
    - In a report I create an object of this object type using swc_create_object and I set subelement 'Comments' to a value 'test' using swc_set_table
    - Then I call method 'Create' of the created object
    - In that method I retrieve the value from the container using swc_get_table and I receive value 'test'
    Then I have the following piece of code:
    swc_free_object lf_object.                             
    MOVE lw_areq-pernr TO object-key-personnelnumber.      
    MOVE lw_areq-id TO object-key-id.                      
    swc_create_object lf_object 'ZESS_AREQ' object-key.    
    IF sy-subrc EQ 0.                                      
       swc_raise_event lf_object 'Created' container.       
       COMMIT WORK AND WAIT.                                
    ENDIF.
    Which should start the corresponding WF (which it does), but in my WF container the subelement Comments is empty...
    Any idea what goes wrong?
    Many thanks in advance!
    Julien

    Well actually the WF container element has one entry but this entry is empty (blank)...

  • Workflow container elements as attachment in an activity

    Hi @ all
    Iu2019m searching for a resolution to display a multiple attachment in an activity of my workflow.
    The scenario is as follows:
    An Activity should display the image, a generated attachment (from the User decision before) & the workflow conatainer elemnts of the included task. So far so good. The image and the attachment are displayed in the next activity, but how can I display the container elements?
    I need them because the user dynpro-inputs are stored in it. I generate the elements in my task and bind them from the workflow container. And now? What is the next step to get them in an attachment?
    THX
    REGRADS
    Phil
    Edited by: Philipp Höfer on May 18, 2010 2:09 PM

    Hi Karri,
    thanks again.
    if i understand you correctly, i'm going to my Step Task ->(n my case "Display Image"). After that to the tab -> Description and push the button "change text" to insert a new text. But how can i insert my container elemt values.
    There is a button "Program Symbol" but their is no entry. The Binding of the task and the workflow container is correctly.
    What i am doing wrong?
    THX
    Regrads
    Phil
    Edited by: Philipp Höfer on May 19, 2010 12:12 PM

  • Planned delivery time in days is not updating

    Hi Experts,
    planned delivey time in days is not getting updated with BAPI_MATERIAL_SAVEDATA.
    The same type gr_pr_time is getting updated i have commmited it even though it is not reflecting the value.
    i have passed
    la_plantdatax-plnd_delry  =100.
    Please Help.
    Regards,
    Naresh
    Edited by: naresh.k.dasari on Feb 18, 2011 6:31 AM

    Hi,
    This question is not related to APO, i would suggest you to post the thread in ABAP forum.
    However can you check
    can you check whether la_plantdatax-plnd_delry field is 3 charcter or one character field.
    Generally it will be like below.
    la_plantdata-plnd_delry = 100
    la_plantdatax-plnd_delry = 'X
    Regards,
    Srini

Maybe you are looking for