How to get the contents of more than one comments of human task?

The human task have more than one comments. I use the following functions to get the contents but still only get the first comment. Append function only returns the first comment.
How to get all conents of comments?
<while name="While_1"
condition="bpws:getVariableData('Variable_int_i')&lt;number(bpws:getVariableData('Variable_comment_node'))">
<sequence name="Sequence_3">
<sequence name="Sequence_3">
<assign name="Assign_7">
<copy>
<from expression="string(bpws:getVariableData('single_approve_1_globalVariable','payload','/task:task/task:userComment/task:comment'))"/>
<to variable="Variable_comment_string"/>
</copy>
</assign>
<assign name="Assign_6">
<copy>
<from expression="bpws:getVariableData('Variable_int_i')+1"/>
<to variable="Variable_int_i"/>
</copy>
</assign>
</sequence>
</sequence>
</while>

You also have to test the value:
REPORT ztest MESSAGE-ID 00.
DATA: BEGIN OF itab OCCURS 0,
        f1 TYPE i,
        f2 TYPE i,
        f3 TYPE i,
        f4 TYPE i,
      END OF itab.
DATA: sel_field(20),
      value TYPE i.
DO 5 TIMES.
  itab-f1 = sy-index.
  itab-f2 = sy-index + 10.
  itab-f3 = sy-index + 20.
  itab-f4 = sy-index + 30.
  APPEND itab.
ENDDO.
LOOP AT itab.
  WRITE: /001 itab-f1, itab-f2, itab-f3, itab-f4.
  HIDE itab.
  CLEAR itab.
ENDLOOP.
AT LINE-SELECTION.
  CLEAR: sel_field,
         value.
  GET CURSOR FIELD sel_field.
  IF sy-subrc = 0.
    CASE sel_field.
      WHEN 'ITAB-F1'.
        value = itab-f1.
      WHEN 'ITAB-F2'.
        value = itab-f2.
      WHEN 'ITAB-F3'.
        value = itab-f3.
      WHEN 'ITAB-F4'.
        value = itab-f4.
    ENDCASE.
    MESSAGE s001 WITH 'Value of' sel_field 'is' value.
  ELSE.
    MESSAGE s001 WITH 'Invalid field selected'.
  ENDIF.
Rob

Similar Messages

  • Get the data with more than one of the desired value

    Hi,
    I need to pull the records with more than one value of 'Other' on the delivery days fields.
    The delivery fields are mon,tue,wed,thu,fri and sat that tells the where the item will be delivered. The value can be Home, Work, or Other.
    Here is the Sample data:
    cust_id: 123
    item: newspaper
    mon: Home
    tue:Work
    wed: Other
    thu: Home
    fri: Other
    sat: Other
    And here is my query so far.
    select
    cust_id,
    item,
    mon,
    tue,
    wed,
    thu,
    fri,
    sat,
    sum(case when (del_mon = 'O' or del_tue ='O' or del_wed ='O' or del_thu ='O' or del_fri ='O' or del_sat='O') then 1
    else 0 end) as day_ctr
    from customer
    Could you please help me with the right formula I need to get this?
    Thank you in advance..

    First
    DESC customer
    Second
    Can you explain what you are trying with
    sum(case when (del_mon = 'O' or del_tue ='O' or del_wed ='O' or del_thu ='O' or del_fri ='O' or del_sat='O') then 1 else 0 end) as day_ctr
    Third
    Usually it's helpful a example of the result you want...
    Perhaps you want this
    select DECODE(mon,1,(select distinct mon from customer), 'OTHER') mon,
            DECODE(tue,1,(select distinct tue from customer), 'OTHER') tue,
            DECODE(wed,1,(select distinct wed from customer), 'OTHER') wed,
            DECODE(thu,1,(select distinct thu from customer), 'OTHER') thu,
            DECODE(fri,1,(select distinct fri from customer), 'OTHER') fri,
            DECODE(sat,1,(select distinct sat from customer), 'OTHER') sat from
    select
    COUNT(DISTINCT mon) mon,
    COUNT(DISTINCT tue) tue,
    COUNT(DISTINCT wed) wed,
    COUNT(DISTINCT thu) thu,
    COUNT(DISTINCT fri) fri,
    COUNT(DISTINCT sat ) sat
    from customer
    )

  • How to change the columns in more than one playlist

    I am trying to change the columns in my playlists for all of my audio books. I have over thirty books on my computer with a play list for every cd adding up to over 500 playlists inside of folders for each book. I want to change all of the play lists to have audiobook related columns only. I was wondering if there is any shortcuts besides going into every folder and every playlist and manually changing them all.
    What I already know: Changing the view options of a folder containing a playlist or other folder doesn't change the view options of all containing folders and playlists.
    Doug's Applescript "Assimilate view options" is for changing all of my playlists to match the view options as the library and I cannot change the library because I have over 1500 album playlists.
    If anyone could tell me how to change that I would really appreciate the help

    Hi Manish,
    There is no need to delete/inactive those entres.
    It is the funtionality provided by SAP to store the short texts for catalog in multiple languages.
    If you go to QS42 transaction with another language key selected during login.  You can find another language short text.
    Regards
    Amit

  • Getting the configuration of more than one material

    Hi Fox,
    I need to fetch configuration for some materials found in MARC like the characteristic "Size" or "Color".
    I use the function 'VC_I_GET_CONFIGURATION' and it works ok when you have one two or 10 materials. However if you have 512000 material it would take verrrrrrrrrry long time. I wonder if anybody know how to read mass data for configuration or anybody knows the step to setup the "select statements" to fetch the configuration very fast.
    Thanks for you comments
    Kami

    You need to use VC_I_GET_CONFIGURATION FM and schedule the job in background...

  • How to Remove the Catalogs in More than One language

    Hi Experts,
    We find that there are code groups for Calalogs in 2 languages in the QPGT Table with same names.Can anyone tell how to make one as inactive or delete them.
    While seeing through QS42 or via Config we cannot see the 2 set of codes.
    Regards,
    Manish
    Edited by: Manish Chachra on Dec 9, 2008 6:52 AM

    Hi Manish,
    There is no need to delete/inactive those entres.
    It is the funtionality provided by SAP to store the short texts for catalog in multiple languages.
    If you go to QS42 transaction with another language key selected during login.  You can find another language short text.
    Regards
    Amit

  • How to prevent the access of more than one person to an APEX application?

    Hello,
    I want to prevent the access to an application when it is already opened by another user.
    How to do it?
    Thank you by advance
    Jean-Louis

    Why would you want to do this? APEX applications are MEANT to be MULTI-USER WEB BASED APPLICATIONS? This makes NO SENSE..
    If you need this functionality, you can do this in Access..
    Thank you,
    Tony Miller
    Webster, TX

  • How to send the invoice through more than one E-mail Ids?

    Hi Experts,
    I need to send invoice to two email ids. I made a set up in vv31 by setting the transmission medium 7 but
    it doesn't work.
    The customer is asking that when i do invoice it should go to two email address.
    Which output type i should take?
    Kindly help me regarding this.
    Thanks
    Raghu

    Hi,
    In VV31
    In communication maintain recipients as your 2 Emil id's and recipient type
    If you have customized output then take that if Not then use standard RD00
    Kapil

  • ITunes will not show my purchases before October 18, when I had a different username.  How do I get the older purchases (more than 5,000) listed when my password is rejected and it won't issue a new one for that username?

    iTunes will not show my purchases before October 18, when I had a different username.  How do I get the older purchases (more than 5,000) listed when my password is rejected and it won't issue a new one for that username?

    Wow that was really quick, thank you so much.  Im not sure at all which version it was because i said it was around 4 years ago he bought it.  I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names.  isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
    So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
    either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
    sarucia

  • How do I set or get firefox to print more than one all pages the print using verizon emails is there a setting to change I have been told by verizon techs it is not my printer

    when opening an email using verizon emails I can only print one page. I have checked an I do not have a printer or computer problem because the printer prints more than one page with others such as gmail. We feel there is a print setting in firefox that needs to be changed. How do I change this??

    That is usually caused by a few different Bugs in Firefox, which seem to be fixed in the Firefox 4.0 betas.

  • I am thinking of buying a MacBook Air and am wondering how to get the content of my iPad into iTunes.

    I have iTunes on an old pc and am thinking of buying a MacBook Air. I am wondering how to get the content of my iPad on to the Mac as I know that sync only happens in one direction, from pc to device. I assume therefore that when I attach my pad to the new Mac it will sync to an empty iTunes and I will have lost all the content of my pad. I know I can restore purchases, but what about contacts, calendar, photos and music not purchased from apple. I have a fairly recent backup on a pen drive but it is a usb2 device and is formatted for a pc. Any advice would be appreciated.

    Do I copy my media library or from a backup.  I have a backup on my pc and on an external drive. This drive is usb2 and formatted for windows so I can't connect it to a MacBook Air to make the transfer.  Equally I don't think there is a way to connect the 2 computers via a cable ie usb2 one end and usb3 the other.  Will the computers talk to each other via wifi if I enable home share although I think this is only for music which still leaves contacts, mail etc.
    I am sorry to be such an ignoramus but any further help would be appreciated.

  • How do you select and move more than one bookmark at a time? Shift+Click does not select multiple items that are next to one another in a list because the item

    How do you select and move more than one bookmark at a time?
    Shift+Click does not select multiple items that are next to one another in a list because the items open in firefox before this happens.

    Use the bookmarks library. You may use Shift +Click, and Ctrl + Click to create groupings of selected bookmarks to drag and drop.
    * one method of opening the bookmarks library is keyboard shortcut <br /> Ctrl+Shift+B (Windows)
    *see also [[How to use bookmarks to save and organize your favorite websites]]
    *and [[Use bookmark folders to organize your bookmarks]]

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • How to get the content of the uploaded file.

    Hi Experts,
    I am using a input box to get the path of the file to be uploaded.(I am not using FILE UPLOAD UI Element).Could you please let me know how to get the content of the uploaded file.
    Regards,
    Arun

    >
    ARUN KUMAR.S wrote:
    > Hi Experts,
    >
    > I am using a input box to get the path of the file to be uploaded.(I am not using FILE UPLOAD UI Element).Could you please let me know how to get the content of the uploaded file.
    >
    > Regards,
    > Arun
    You will not be able to use a normal InputField to upload file contents.  This is not allowed by the browser security model. You must use one of the upload specific UI mechanisms - the FileUpload UI element or as of 7.01 ACFUpDownload or FlashIslands.

  • How to get the contents associated with a component.

    How to get the contents associated with a component.
    Like i have 2 buttons and i want to get the contents associated with these button without clicking them i.e without firing the event.
    By Contents i mean, whatever things we get after firing the event,we get some other window and some thing is added to the current page and so on.

    grab all the code inside the actionPerformed(ActionEvent e) method

  • How to get the content of a jTextArea?

    hi everyone
    can some body provide me with some help???
    I want to know how to get the content of a jTextArea
    it may be a String and i want to use that String to make some applications
    I've use this :
    String ch=jTextArea.getSelectedText()
    but i'm not sure it will work and i'm not sure it will take the text writen inside the jTextArea ... please help
    Thanks

    http://forum.java.sun.com/thread.jspa?threadID=778988&tstart=0

Maybe you are looking for

  • How to get ip and hostname in application server 10g

    when i am using sys_context('USERENV','HOST') IN MY value based audit trigger it return ip address of application server. i want to get client's ip address and hostname that connect to application server 10g. Regards, Muhammad Touseef

  • How do I stop Firefox from filling in usernames and passwords when other people use my computer?

    When other people use my computer, how do I stop Firefox from filling in usernames and passwords?

  • IOS 5 is not showing up in itunes

    Hi there, So I have downloaded the newst itunes but when my phone is plugged in and i click on the check for updates it tell ms that "This version of the iPhone software (4.2.1) is the current version." Please help, run out of ideas of what i now nee

  • HTTP web server disappeared ?

    Hi there, please help me as I cannot connect to the HP HTTP Server in my own LAN any more. My HP 8500 a910g is connected to LAN with a static IP 10.0.0.1 assigned.  Up until now, I always used http://10.0.0.1/# to access the web server and a dyndns w

  • How to transfer playlists?

    I just bought a new mac and transfered all my music from my old machine just by dragging the contents of my old itunes library from the external HD I used for my old computer right into itunes. All my music is there but I need to get my old playlists