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

Similar Messages

  • 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

  • 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

  • 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[ ].

  • 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

  • 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.

  • 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)...

  • 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

  • How to set the following workflow container element

    In the below example i have created the following  field chgdocdat fieldnam in the workflow container in the initial value it is showing as <notset>
    but i want the value for initial value for field chgdocdat as 00.00.0000
    fieldnam as
    can any body help me

    hi koto,
    when u create a work flow element container.
    u have tye option to give the data type.
    there u u choose from dictonary, ie some date field from the data dictonory.
    after that in the 3rd tab it is initial value.
    click it and give 00.00.0000
    since it is date type no problem here.
    save it.
    thats all
    clarifiactions are welcome.
    pls reward points, if this helped u.
    regards,
    anversha.
    [email protected]

  • 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

  • Workflow: check multiline container element for emptiness

    Hi!
    Please suggest how to check multiline workflow-container element for emptiness in condition block.
    Regards,
    Maxim.

    Hi Max,
    One way to do this is to add a process step which calls a function module passing the multiline container as the import parameter. In this function mod, you can check for emptiness and set a variable which will be the export parameter. Map this export parameter of the step to a workflow container field. Finally in the next step (control block) you can check the above workflow field.

  • Element Missing in Workflow Container

    Hi,
    I am facing a strange issue.
    I am not finding a particular element in workflow container (both in the Container tab and also in Basic data->Workflow Builder->Workflow container->Element (R/3 4.70 Enterprise)) but at runtime - SWI1 (Workflow Log) when I execute with workflow instance id, I am getting that workflow container element with the value that I required. I am sure I haven't deleted that element from that container... since it's not appearing, again I went to workflow template and added the Element and now it's appearing and working. As of now my problem is solved but can you please tell why it was not appearing in definition.
    Advance thanks.
    Regards,
    Balaji Viswanath.

    Is there any reason to pass single line element to multiline element?
    Instead of that try to pass single line item to single line item and user
    SWC_GET_ELEMENT CONTAINER ac_container <container> <single line element> to get the value.
    After that you can pass the value to internal table(if required)
    Aman

  • Workflow: Delete container elements

    Hi All.
      I was modifying a workflow made by someone else.
    I tried to delete unused Workflow container elements.
    But got the following message:
    "Inherited Elements may not be deleted".
    What does that mean, and how do I delete these unwanted elements?
    Thanks in advance.
    Regards.
    Samant

    Samant,
    This is the right forum. I have never come across nor did I hear of this message before. If the workflow being modified is already in Production, my advice is to make sure these elements were not used by any versions of the Workflow in production that may still be in process. That said please clarify if the WF Syntax Check point out the elements you are trying to delete as unused?
    If you have not already done it, I suggest you take a look at OSS Note #125400 - Modifying a productive Workflow.
    <b>Following added by: Ramki Maley @12:17PM</b>
    Are you sure you are trying to delete WF conatiner elements using either the Workflow Builder (SWDD) or the template editor (PFTC)? Looks like the message you are getting is from the Object Type editor (SWO1). If you are trying to delete attributes of a BO sub type, the message is self explanatory. Your sub type inherits the attributes of the original object type - a standard SAP object. You can only delete the attributes that have been defined for the sub type. <u><b>Be absolutely certain before you delete any attribute, that it has never been used in Production Environment</b></u>.
    Cheers,
    Ramki Maley.
    Message was edited by: Ramki Maley

  • 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

  • How to give Container Elements for FM EWW_WORKFLOW_START

    hi experts,
    i am new to workflow,
    i am using the FM EWW_WORKFLOW_START to start a workflow.
    my issue is that i am using the std BO BUS2017
    i am not getting the element name that i need to pass to the container.
    When i see in SWDD it shows
    Import Parameter BUS2017 in the list of workflow container elements. but when i pass the OBJKEY: materialDocument and matdocumentyear like
    concatenate '5000000305'  '2009 ' into text1.
    swc_set_element   t_cont  'BUS2017' text1 .
    its not getting passed to the workflow.
    but i added 2 new elements mblnr and year to the container and i pass it , it gets passed.
    how can i know the exact Element name?
    or where could i be wrong?
    thanks and regards,
    Gunj M.

    Hello,
    Here's some sample code of how to pass an object:
    INCLUDE <CNTN01>.
    data: lv_rc like sy-subrc.
    data: lt_messages type standard table of SWR_MESSAG.
    data:
    begin of lv_object_instance,
      objtype type swo_objtyp,
      objkey  type swo_typeid,
    end of lv_object_instance.
    * Define the container
    swc_container lt_wf_cont.
    * Create the container
    swc_create_container lt_wf_cont.
    * Clear the container (not necessary here)
    swc_clear_container lt_wf_cont.
    lv_object_instance-objtype = 'FORMABSENC'.
    lv_object_instance-objkey = '0000000088'.
    lt_wf_cont-element = 'ABSENCEFORM'.
    lt_wf_cont-value = lv_object_instance.
    append lt_wf_cont.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
    EXPORTING
       TASK                     = 'WS30000015'
    *   LANGUAGE                 = SY-LANGU
       DO_COMMIT                = 'X'
    *   USER                     = SY-UNAME
    *   START_ASYNCHRONOUS       = ' '
    *   DESIRED_START_DATE       =
    *   DESIRED_START_TIME       =
    *  IMPORTING
       RETURN_CODE              = lv_rc
    *    WORKITEM_ID              = lv_wfid
    *    NEW_STATUS               = lv_wistat
    TABLES
       INPUT_CONTAINER          = lt_wf_cont
       MESSAGE_LINES            = lt_messages
    *   MESSAGE_STRUCT           =
    *   AGENTS                   =
    regards
    Rick Bakker
    Hanabi Technology

Maybe you are looking for