How to set a payload field value only once for multiple instances selected?

The user needs to set a payload field value and then he can approve the task so the task can continue through the process, that's fine when the user selects one instance and sets the value in the task details section and then clicks the approve button, but how do we achieve the same behavior in a multiple way?, I mean the user can select multiple tasks in the workspace (in this case the details task page is not available and instead the following label appear "Multiple tasks selected") then if the user clicks the Actions drop down -> APPROVE he only gets the message "your request was processed successfully", so how can the user modify the payload field value only once for all the selected tasks so when he clicks APPROVE the value is populated in all the instances selected.
Thanks,
Carlos.

In the action which displays the edit page just set the form idx value before displaying the jsp.

Similar Messages

  • Display group by field value only once for each group

    I have a table with following fields:
    TicketNo (varchar2)
    TName (varchar2)
    DateIssue (Date/Time)
    I wanto retrieve result in the following form:
    DateIssue TName TicketNo
    01-oct-2006 ABC 123-7733
    DEF 545-54454
    GHI 254-4545
    02-oct-2006 JKL 454-7897
    MNO 444-7878
    TName and TicketNos must be grouped by DateIssue. Since "Group By" clause uses agregate functions only, therefore this type of query will not run:
    SQL> Select DateIssue,TName,TicketNo from Table1 group by DateIssue order by DateIssue;
    How to display the above given result?

    SQL> select * from tickets;
    TICKETNO   TNAME      DATEISSUE                                                
    121-565    abc        04-FEB-07                                                
    454-hj     def        04-FEB-07                                                
    4545-856   gftr       03-FEB-07                                                
    fg45-856   gth        03-FEB-07                                                
    SQL> select decode(row_number() over(partition by to_date(dateissue) order by ticketno),1,dateissue) dateissue
      2         ,tname,ticketno
      3  from tickets;
    DATEISSUE TNAME      TICKETNO                                                  
    03-FEB-07 gftr       4545-856                                                  
              gth        fg45-856                                                  
    04-FEB-07 abc        121-565                                                   
              def        454-hj
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to display field value only once in REUSE_ALV_GRID_DISPLAY

    hi experts,
                   i am using REUSE_ALV_GRID_DISPLAY, for alv outpur display.but i want one of the field in output ,not to display the value which is of same, it have to be displayed only once, I mean i have a number which contains multiple line items corresponding, here i want to display the field value only once when it is repeating , for the same header number, how can i achieve it

    Hi,
    check the sample code,
    REPORT  Z_ALV.
    Database table declaration
    TABLES:
      sflight.
    Typepool declaration
    TYPE-POOLS:
      slis.
    Selection screen elements
    SELECTION-SCREEN BEGIN OF BLOCK blk_1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS:
      s_carrid FOR sflight-carrid.
    SELECTION-SCREEN END OF BLOCK blk_1.
    Field string to hold sflight data
    DATA:
      BEGIN OF fs_sflight ,
        carrid   TYPE sflight-carrid,      " Carrier Id
        connid   TYPE sflight-connid,      " Connection No
        fldate   TYPE sflight-fldate,      " Flight date
        seatsmax TYPE sflight-seatsmax,    " Maximum seats
        seatsocc TYPE sflight-seatsocc,    " Occupied seats
      END OF fs_sflight.
    Internal table to hold sflight data
    DATA:
      t_sflight LIKE
       STANDARD TABLE
             OF fs_sflight .
    Work variables
    DATA:
      t_fieldcat TYPE  slis_t_fieldcat_alv,
      fs_fieldcat LIKE
             LINE OF t_fieldcat.
    *START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM get_data_sflight.            " Getting data for display
      PERFORM create_field_cat.            " Create field catalog
      PERFORM alv_display.
    *&      Form  create_field_cat
          Subroutine to create field catalog
          There is no interface paramete
    FORM create_field_cat .
      PERFORM fill_fieldcat USING   'Carrier Id'    'CARRID'   '2'.
      PERFORM fill_fieldcat USING   'Connection No' 'CONNID'   '1'.
      PERFORM fill_fieldcat USING   'Flight Date'   'FLDATE'   '3'.
      PERFORM fill_fieldcat USING   'Maxm.Seats'    'SEATSMAX' '4'.
      PERFORM fill_fieldcat USING   'Seats Occ'     'SEATSOCC' '5'.
    ENDFORM.                                    "create_field_cat
    *&      Form  fill_fieldcat
          Subroutine to fill data to field column
         -->p_seltext      Column label
         -->p_fieldname    Fieldname of database table
         -->p_col_pos      Column position
    FORM fill_fieldcat  USING
                        p_seltext    LIKE fs_fieldcat-seltext_m
                        p_fieldname  LIKE fs_fieldcat-fieldname
                        p_col_pos    LIKE fs_fieldcat-col_pos.
      fs_fieldcat-seltext_m  = p_seltext.
      fs_fieldcat-fieldname  = p_fieldname.
      fs_fieldcat-col_pos    = p_col_pos.
      APPEND fs_fieldcat TO t_fieldcat.
      CLEAR fs_fieldcat.
    ENDFORM.                    " fill_fieldcat
    *&      Form  get_data_sflight
          Subroutine to fetch data from database table
          There is no interface parameter
    FORM get_data_sflight .
      SELECT carrid
             connid
             fldate
             seatsmax
             seatsocc
        FROM sflight
        INTO TABLE t_sflight
       WHERE carrid IN s_carrid.
    ENDFORM.                    " get_data_sflight
    *&      Form  alv_display
          Subroutine for ALV display
          There is no interface parameter
    FORM alv_display .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          it_fieldcat   = t_fieldcat
        TABLES
          t_outtab      = t_sflight
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " alv_display
    End of code

  • How to set one default "reply-to" email address for multiple accounts

    I have an iPhone 3GS. I have my own domain name which I want to use as my primary "public" email address. It is forwarded from the hosting ISP to my ATT/Yahoo email address. I also have a Gmail account. I would like recipients to see that it comes from my domain ([email protected]), but since it is actually going through ATT/Yahoo, I can only see how to set the "From" field to either my ATT/Yahoo account or my Gmail account addresses. Is this even possible?
    Essentially, I don't directly access "[email protected]", but that's where I want it to appear to come from, regardless of where it actually originated.
    Any ideas?
    Thanks,
    Mark

    You get e-mails just fine, but do you have rights to log into the e-mail server at myfirstandlastname.com? If you can do that (check with your hosting ISP to find out if they will let you), then you can just set up the iPhone to use that e-mail server to send your mail. It's possible to set up an iPhone IMAP account to get mail from gmail, but use a separate non-gmail SMTP server to send outgoing mail, all within the same iPhone e-mail account.
    If you can get this working, then you won't need to mess with reply-to headers. Your e-mail will not only look like it got sent from myfirstandlastname.com -- it actually WILL be sent from there and all replies will automatically go there and then be forwarded as usual to your ATT/Yahoo address. No one will know that ATT/Yahoo is involved, and both your sent and received e-mail will show up in the same single e-mail account on the iPhone.
    I do this all the time with my e-mail. My account is really at gmail, but the e-mail address says it came from mycollege.edu. My old college offers me an alumni forwarding-for-life account. They only forward mail, though; they don't hold it. They do also run an SMTP server, though, and that's what I use to make my outgoing e-mail look as if it came from mycollege.edu.

  • How to set a particual field value as sysdate if it is null

    Hi,
    I have a requirement in custom OAF page.
    In the results table, if DATE field value is NULL, then we need to set it as SYSDATE by default.
    For this I'm using the following code. Could anyone suggest me whether I'm doing correct or not?
    PFR CO Code:
    if(xxMDateBean == null)
    OAMessageDateFieldBean xxMDate = (OAMessageDateFieldBean)webBean.findIndexedChildRecursive("xxMDate");
    oracle.jbo.domain.Date date1 = am.getOADBTransaction().getCurrentUserDate();
    java.text.SimpleDateFormat displayDateFormat = new java.text.SimpleDateFormat ("dd-MM-yyyy");
    String OracleDateForm = displayDateFormat.format(date1.dateValue());
    xxMDate.setValue(pageContext,OracleDateForm);
    I am getting the following error:
    Error(81,8): variable xxMDate not found in class (CONTROLLER)
    Edited by: Sruthi on Jan 20, 2011 5:09 PM

    Sruthi,
    Sorry I missed the point that the field is in the table region.
    Now my understanding is, you have a display table, which has a column of Type Date,
    If the query returns null for that value, you want to display the sysdate is it correct?
    If yes, please change ur logic little bit,
    I am sure you will be calling an AM Method to execute the VO,
    In your AM, after the execution, traverse throw the Rows,
    And check for the dateColumn value and then set Sysdate, which will reflect here.
    Sample code:
    locatorVO.executeQuery();
    XXPOLocatorVORowImpl locatorVORow = (XXPOLocatorVORowImpl)locatorVO.first();
    while (locatorVORow!=null)
    //get the dateValue and check it is null
    if(date is null)
    Date currentDate = this.getOADBTransaction().getCurrentDBDate();
    locatorVORow.setOrderedDate(currentDate);
    locatorVORow = (XXPOLocatorVORowImpl)locatorVO.next();
    Thanks,
    With regards,
    Kali.
    OSSI.

  • Payload field value in container for alert

    Hi All,
    I am configuring Alerts for my client.I have to insert a value of one of the field from payload in the alert long message.
    I have gone through SDN to search for any blogs.
    1) I dont want to use BPm
    2) Other option of using RFC lookup in mapping is not feasible.
    Does any one else has any other idea about implementing the same.I could see some System Fields  like XPATH_GET_VALUE in the alert category.But ,how can we use it?
    Thanks
    Nidhi

    If you are using the Alert category definition of SAP PI
    there are default container values that can be used to include
    data in the alert message.
    Refer to: [Alert Category definition|http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm]
    this should be the first place to look for work methods and features.

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

  • How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007

    Hi,
    I am new to Sharepoint development.I dont know whether i am posting  the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place.
    I  created a custom task in Sharepoint Designer 2007 using
    Collect Data from User
    Action.
    I created a field in the task form which is of choice type and
    unchecked allow blank values
    because i  wanted that field to be a mandatory field.When i handled that task ,i was able to complete that task
    without selecting that mandatory field.But, I was expecting not to allow me to complete the task without selecting that field. Kindly  tell me how to set the choice field as mandatory.

    Hi,
    You are using SharePoint Designer 2007, so I moved the thread to the appropriate forum for MOSS 2007.
    This is by design that
    Workflow-generated form (for action Collect data from User) does not perform validation properly on drop-down choices, the workaround is to use JavaScript to perform the field validation.
    This thread has the JavaScript code can help you:
    http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/0ad7fc3c-97a1-464e-ae89-c3133462dda8/
    Xue-Mei Chang

  • How can i transfer a field value in the main report to its sub-report?

    <p><font face="Arial" size="2">How can i transfer a field value in the main report to its sub-report?</font></p><p><font face="Arial" size="2">Please eloberate with example if possible!</font></p><p><font face="Arial" size="2">Thanks...</font></p><p> </p>

    <p>You can do a couple of things - one would be to pass the information using the data linking expert.  Right click on the subreport, choose &#39;Change Subreport Links&#39; and select the field(s) you are wanting to pass to the subreport.  CRW will build parameters and a record selection formula for you in the subreport, and if that&#39;s what you want, then great.  But you can also remove the selection formula from the subreport and work with the parameter fields in the subreport however you would like.</p><p>Alternatively, you can look to passing Shared variables back and forth from the main and subreport.  this link talks about the method to do this: http://diamond.businessobjects.com/node/251</p><p> </p>

  • How do I set a Phase Listener to only run for a specific page?

    How do I set a Phase Listener to only run for a specific page?
    I understand that a Phase Listener runs for ever page in the application, however I want a phase listener to only run for one page at the beginning of the application.
    I discovered I can't use a Filter, because the JSF Application instance always returns null.
    Thus, I thought a Phase Listener would be a good approach.
    Thoughts?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I have moved forward with checking the requested URI...
    (shivers)
    Thanks,
    --Todd                                                                                                                                                                                   

  • How to validate an text field item using javascript for numbers only.

    hi,
    how to validate an text field item using javascript for numbers only.please help me on this urgent
    please mail me solun if posible on [email protected]

    Hi,
    Page HTML header
    <script>
    function onlyNum(evt) {
      // Usage: onKeyPress="return onlyNum(event)"
      evt = (evt) ? evt : window.event;
      var charCode = (evt.which) ? evt.which : evt.keyCode;
      if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        var status = 'This field accepts numbers only!';
        alert(status);
        return false;
      var status = '';
      return true;
    </script>Item HTML Form Element Attributes
    onKeyPress="return onlyNum(event)"Br,Jari

  • How to pass the FORM Fields value by Form Personalization

    Hi ALL,
    I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
    can any one suggest what to do???
    i tried with these syntax
    TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
    TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
    Regards
    Ravi

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • Can not set OARG.cstAllcAcc field value with CustomsGroups Object

    Can not set OARG.cstAllcAcc field value with CustomsGroups Object, please open this field in this Object because it is a key field related to financial system.

    I guess, it should work; instead of html:submit, try with button.

  • How to make a summary column appear only once (in the first page only) in SSRS 2008?

    Hello Everyone,
    How to make a summary column appear only once (in the first page only) in SSRS 2008?
    Regards
    Gautam S
    Regards

    Hi,
    Assuming you have test data like this ;
    select 'abc'as [GROUP],'NN' name , 1 id
    union all
    select 'abc' as [GROUP] ,'PP' name , 1 id
    union all
    select 'abc'as [GROUP],'RR' name , 2 id
    Step1  : take Tablix with row group as your group Name .
    Step2 : right Click on Row Group Details -> Delete-> Delete Group Only
    Step3 : In Count Cell use below expression ;
    =CountDistinct(Fields!id.Value)
    Follow this link;
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b6b45917-0a26-4d15-be46-2c6a2697d6e9/distinct-rows-sum?forum=sqlreportingservices#5ffdee06-c2c8-44ea-a3a5-b958488bb6b5
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

Maybe you are looking for

  • Folder with question mark - Previous posts not resolving my issue

    Good evening everyone I have a Macbook Pro, which I bought in 2009. I have never had any problems, and I have been regularly deleting rubbish to keep the memory ok (Pictures, downloads, old text docs etc) I went online yesterday afternoon, to check o

  • How to access iTunes playlist for iPhoto slideshow?

    In iPhoto 6 when I am setting up a slideshow and click the "Music" button, I am given the option of accessing my full library from iTunes, but my Playlists don't show up anywhere, just the artists' names and individual songs,so I am able to choose ju

  • Loadjava and System class error

    $ loadjava -user dev/dev ./tickets.jar Error while creating resource META-INF/MANIFEST.MF ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler help! [email protected]

  • No field values in ODS!

    Hi, we have four fields in ODS for which the data is empty! i checked in R/3 tables for the repective fields ! there is a data and there is no TR or UR written against these fields! How could i trace the missing data? Thanks, Ravi

  • Memory Issue - Inactive Memory?

    Been having an out of memory issue with Capture One Pro. When i have the Activity Monitor open I can watch the "Inactive Memory" slowly climb higher. It starts out when i first boot at about 170 mb - currently at 351 mb and climbing, and all i have r