Container element for text comment

Hi
Can someone please assist me with the correct table that I can use to reference my container element to that will be used
for rejection comments..
Needs to be a long text field.
I searched the forum but cant find anything ..
Many thks
Gerhard

In changing tab there is parameter CH_TEXT that is table type CATSXT_LONGTEXT_ITAB. (You could actually use this in the container element and it should be then automatically multiline element). This table type consists of lines of TXLINE (72 characters long). If I test the function in SE37, it seems to return all the text that I write in the text box. If the text exceeds 72 characters, there will be several lines...
If you are having problems with the containers, please check that all the container elements / parameters (task, metdod, workflow) are correct type (=mutiline).
Regards,
Karri

Similar Messages

  • Container element for Count in Parallel Approval Workflow

    Hi Gurus,
    We are using ECC 6.0 and I have this below requirement. Please share your thoughts on how we can achieve this.
    We are using a User decision step in parallel workflow to generate and send individual work items to multiple approvers. that is, we generate multiple work items and send to individual approvers for the same step in the workflow and get the combined result (Approve or Reject) to proceed further. I understand that individual result for each work item is stored in container element '_RESULT' (0001 for Approve, 0002 for Reject) and combined result of all the sub-work items is stored in '_WI_RESULT' (0001 for Approve, 0002 for Reject). Also, we can see the index # of work items generated for the same step (node) from container element ''_WF_PARFOREACH_INDEX'.
    My requirement is to set work item to COMPLETED status after we obtain a certain # of APPROVE (_RESULT = 0001) decision. Let's say, after 2 of the approvers say Ápproved', then I'd like to close all the other relevant work items and set the Combined result '_WI_RESULT'to APPROVE and Complete the relevant work item. I was wondering if there is a container element that holds the (count) # of work items generated in individual work item container so that I can keep reading this value to see how many decisions have been made. That is, for example, If there are 3 parallel work items generated and 1st user said Äpproved',  is there a way to know out of a total of 3 approvals (to get the combined result '_WI_RESULT'), one is completed and 2 approval decisions are still pending. I'm trying to use step-level Pgm Exit (After_execution Method) to read this container element for # of approvals done and if the combined result '_WI_RESULT'is '0001'(Approve), i'll try to end other work items. One way of doing is to have a custom table to capture this and keep reading this table after each decision. But, I don't want to have all this customization and I believe there should be a way the SAP is storing somewhere this # of completed or Pending approval work items that got originated from a single step/node. One way of doing could be, after each decision, read the dependent work items (having same node # and Parent Work item etc.,) and get the other relevant work items and read their status etc., But I think this is a lengthy process and may be there is an easier way, perhaps some container element that holds this information.
    Please let me know if you need any clarification on my requirement and share your thoughts on how I can achieve easily.
    Appreciate and thank you in advance for your help.
    Regards,
    Venu

    Hi Karri,
    Thank you for your reply. I was actually doing the same with having an APR_COUNT and passing that for each of individual work items and bind it back to task--> wflow container. And keep checking this counter in wf container.
    Once, we obtain certain # of approvals, then I guess I'll have to complete or cancel the other work items.
    I was thinking may be there is some container element already exists that keep track of this, I guess not .
    Thanks for your input
    Regards,
    Venu

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

  • How to determine worklfow container element  for BUS2031?

    Hai,
    I am new to W/F. I would like to know how to detemine workflow container element  for Customer Quotation generated(BUS2031)- [event] created.ie based on what?
    Example :&Jquotation&,&JtransactionCode& etc.....
    any screen shot docu for binding/import/export purpsoe.
    Points will be given.
    With Regards,Jaheer

    Hai Aditya,
    Thanks for your reply.
    yes . I want to know what base we can create container element.
    Flow is like this :somebody create quotation , it will for manager approval & finally goes(mail) to customer.
    For this I am using object type BUS2031. Now I want to create w/f container element(in workflow template).From BUS2031(customer quotation), I understand that I need to create one w/f container as &Quotation&.what are others container element I have to create. This is my questions.
    I hope now it is clear.
    If you have any workflow documents/sample please send it to me [email protected]
    With Regards,Jaheer.
    -Jaheer

  • Container element for number of deadlines missed

    Hi,
    Is there a container element already available in which the number of deadlines missed is registered for a dialog step ?
    Meaning if deadline is kept for 2 days then container will increment every two days ?
    thanks
    Dipti

    Not unless you create one and make sure it gets populated.
    Regards,
    Martin

  • How to create a xml element for Text with Java?

    Hi @ all,
    I want to tag a part of a text with Java.
    Like the InDesign function "Tag für Text" (maybe "tag for text" in english)
    Is there a way to tag text with Java?
    I tried to autoTag and to markup the text with an existing xml, but only got IdsExceptions.
    here the code where to tag the text:
    XMLElement newXML = parentXML.addXMLElement(VariableTypeUtils.createString("newXML"),OptArg.noVariableType());
    Text[] texts = para.findText(OptArg.noBoolean());
    for (Text text : texts)
       //TODO tag text
    Exception throwing code:
    text.autoTag();
    text.markup(newXML);
    newXML.markup(VariableTypeUtils.createObject(text));

    This is not a Web Dynpro specific question. This forum is for Web Dynpro specifc development aspects. There are other forums for general ABAP development as well as other specific aspects of ABAP development.
    I strong suggest that you review the rules of engagement for forum involvement, Derek.  You have had multiple violations of the rules in the last week.

  • 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

  • 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

  • Container Element

    Hi Guys
    What is use of container element in Work flow(swdd).I used it for small scenario,but which scenarios we use it.
    Appreciate your answers.
    Thanks

    Hi,
    The main advantage of the STD_TEXT object is that it can print container elements as text symbols.
    Each container element can be printed as follows:
    &ContainerElement&
    If the container element is an object, each attribute can be printed as follows:
    &Object.Attribute&
    If you want to print employee data, a container element of type EmployeeT must be included. This element enables each employee data record (defined as an attribute of EmployeeT) to be printed. If the documents are country-specific, it is a good idea to define the container element as EmployeeXX (ISO country key = personnel country grouping), which includes all of the international and country-specific attributes.
    STD_TEXT can make distinctions between object attributes up to a third level, which means you must define utility objects in the container if higher levels are needed to make more distinctions.
    STD_TEXT cannot make distinctions for the following expression:
    Employee.PersonnelArea.LegalPerson.ActivityText.
    For this reason, you must define a utility container element of the type PersonnelArea:
    PersonnelArea<==Employee.PersonnelArea
    Using this container element, the activitytext attribute can be printed in the text as follows:
    PersonnelArea.LegalPerson.ActivityText.
    If the document requires additional information from other object types, you must define the elements as container elements in the standard task.
    Reward if useful.
    Regards,
    Pranathi.

  • Container element in BPM of type integer

    if i make a container element of type integer in my BPM, does it initiallize to some value

    Hi Pankaj,
    Check this out,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
    Go to Assigning Values
    <i>At runtime, you can assign a value to a container element, for example to increase a counter or to append a message to a list of messages.</i>
    Also refer this
    http://help.sap.com/saphelp_nw2004s/helpdata/en/59/e1283f2bbad036e10000000a114084/frameset.htm
    <i>[Reward if useful]</i>
    Regards,
    Prateek

  • Container Element in ALERT

    Dear Experts,
    Can you plz explain, when it is required to create a CONTAINER ELEMENT in Alert Configuration.?  As we can use the System Defined Variables like  SXMS_ERROR_CODE, SXMS_FROM_INTERFACE etc, what is the need for the container element?
    The System Defined Variables are filled by the System during Runtime, when such an error happens. But who ‘ll fill  the Customized Container Variable and how??
    Also while creating a Container Element for ALERT, the data type can be of OBJECT TYPE/ ABAP DICT.REFERENCE/ABAP DICT DATA TYPE. What is the significance of each?
    Plz explain.
    Regards,
    Navneet

    Hi Navneet,
    The container element contains all the control information required at run time in the form of constants and object references.
    To inform the WF which object was created in the step via the method the reference to the bus object is passed via the binding definition from the task container to the Wf container. An appropriate element was therefore created automatically in the WF container with the correct data type.
    The workflow container contains an element which is defined with a data type reference to the same object type that is created in the referenced task, this binding definition is proposed automatically when an activity is defined.
    If no element with an appropriate data type reference is available in the workflow container, a suitable element is added to the workflow container and the binding entered.
    For more info pz go through the link given below,u will get the useful info regarding creation of container element and much more .
    http://****************/Tutorials/Workflow/Workflow.htm
    Reward points if this helps
    Regards
    Vani.

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

  • How to comment in smartform for text value in abap

    how to comment in smartform for text value in abap.
    i want to comment text value which is coming in output
    From drag and drop option i had dropped an item text in text window and now i dont want to delete it i just want to comment it so can any one help me in commenting the text value.
    Advance Thanks for your help

    hi
    open the text element in the smartform.
    on the left corner, we have text editor button.
    open that and change the editor (goto-->change editor)
    on the new line, give the format as comment line /*. and you can write the comments as required.
    such lines doesnt reflect in the output layout.
    thanks
    pavan

  • XML DB: is it possible to get a row for each element in a container element?

    I have an XML document containing a container element (collection). If I query, using an XPath expression, the contained elements I get a row for each container element with the contained element concatenated. Is it possible to get a row for each contained element?
    I run this simple query:
    select extract(xmltype('<colors><color>Red</color><color>Green</color></colors>')
    , '/colors/color/text()').getstringval() from dual
    And get this result:
    EXTRACT(XMLTYPE('<COLORS><COLOR>RED</COLOR><COLOR>GREEN</COLOR></COLORS>'),'/COL
    RedGreen
    1 row selected.
    What I would like to have is:
    Red
    Green
    2 rows selected.
    Wishful thinking or possible? Many thanks!

    Sure. This is where our XMLSequence() function comes in. It allows you to treat the top-level nodes in a nodeset as if they were rows in a table when combined with the TABLE() operator. Here's an example.
    First, to make the SQL look a little cleaner, I like to define a function like this:
    create or replace function testdoc return xmltype as
    begin
      return xmltype('<colors><color>Red</color><color>Green</color></colors>');
    end;.
    To break out the nodeset of <color> elements as a table, we use the following query:
    select value(list_of_color_elements).extract('*/text()').getStringVal() as color
    from TABLE( XMLSequence( extract(testdoc(),'/colors/color'))) list_of_color_elements.
    Or, using the new-in-9.2 extractValue() operator so we don't have to remember the text() part:
    select extractValue( value(list_of_color_elements), '.') as color
    from TABLE( XMLSequence( extract( testdoc() ,'/colors/color'))) list_of_color_elements.
    Here the TABLE(XMLSequence(...)) combo produces a table of XMLType, with one XMLType object in each row of the table.
    In general, if the XMLType instance were coming from an XMLType table xmltab the query would look like this:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( value(x),'/colors/color'))) colors.
    And if the XMLType were instead in a column of XMLType named doc in a table xmltab, then we would have the syntax:
    select extractValue( value(colors), '.') as color
    from xmltab x, /* Important that this table comes earlier in the FROM clause! */
         TABLE( XMLSequence( extract( x.doc ,'/colors/color'))) colorsOnce you get the hang of it, you'll see that the combination of TABLE(XMLSequence()) to "shred" XML nodes into rows, and XMLAgg() to aggregate fragments of XML across multiple rows back into a single document, is quite powerful.

  • 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

Maybe you are looking for

  • Project Server 2010 export to Excel 2007 fails

    I keep getting the following error when I try to export Resource Availability to Excel.  I am using Project Server 2010, Excel 2007, IE8, Windows 7.  I have PS set as a intranet site with low security set.  Coworkers with the same setup are not havin

  • Problem in mapping at different level

    Hey experts I need to map the following to formats Source - <source>     <Email_detail>           <Sedber>BOB</Sender>           <Receiver>JOnes<Receiver>       </Email_detail> <source> Target <target>     <Email_detail>          <item>             

  • SELECTION-SCREEN: BEGIN OF LINE.

    Hi Friends, I've tried for Begin of line comment for my required selection screen input, but I got some run-time errors. Can u help me to give a parameters with 3 text field in a straight line/row with your examples. Please adivse thanks & regards sa

  • Difference between web templates in BI and BW?

    Hi gurus, i have some quieries please let me know clearly.your help will be appreciated greatly. what is the difference between web templates in BW and BI? and if i have a 10000 templates avaialble then how can i know that for one particular report w

  • Merging / blending images

    I am using Photoshop CS2 on Windows XP Professional. I want to create an image from four monotone images to place in a document which will be printed. The overall appearance of the finished image will be monotone (a blue/grey colour) with the four im