How to add one more character in selection [JS] [CS2]

Hi All
I am wondering the way to add one more character in my selection.
I have a script which adds the xml Element and parent xml Element in selected text so far so good, but further my expectation is to cut this text with tag and paste it into anchored frame but in selection it won’t add the closing tag of parent tag.
function add_element(mySel){
var the_add_tag = the_document.xmlElements.item(0).xmlElements.add ("story", mySel);
var add_space = mySel.insertionPoints[0].contents = " "
var new_selec = app.select(mySel.characters[0], SelectionOptions.addTo);
var my_new_sel = app.selection[0];
var add_parent_tag = the_document.xmlElements.item(0).xmlElements.add ("sidenote", my_new_sel);
app.select(mySel.characters[0], SelectionOptions.replaceWith);
app.select(mySel.characters[1], SelectionOptions.addTo);
app.selection[0].remove();
       app.select(my_new_sel.characters[0], SelectionOptions.replaceWith);
       app.select(my_new_sel.characters[-1], SelectionOptions.addTo);
Could anyone suggest me the way to achieve it as I am bit primitive in scripting?
Many Thanks
Mac

Hi Mac,
Here is working code for CS4. Hope it will work on CS2 too.
function add_element(mySel){
var the_add_tag = the_document.xmlElements.item(0).xmlElements.add ("story", mySel);
var new_selec = app.select(mySel.characters[0], SelectionOptions.addTo);
var my_new_sel = app.selection[0];
var add_parent_tag = the_document.xmlElements.item(0).xmlElements.add ("sidenote", my_new_sel);
app.select(my_new_sel.characters[0], SelectionOptions.ADD_TO);
Regards,
Shonky

Similar Messages

  • How to add one more values in Search Criteria,

    Hi All,
    OAF page Search Criteria :
    Search By "name"only Available already have in the search criteria .we are need to add Description in search criteria .How to add one more filed “Description” in Search Criteria,
    Please Help Me
    Thanks
    Rajavel

    "Set the Search Allowed property to True for any LOV result items you want to present to the user as searchable values. These items are listed in the search poplist the user sees in the LOV window.
    At a minimum you must set the Search Allowed property to True for the the result table item corresponding to the LOV field on the base page.
    This is from the devguide, I suggest you read it once at least if you have started work on the framework.
    Tapash

  • How to add one more field to an exist internal table

    hi abapers
    i am a very new abap programmer and just started learning it.
    i want to know How to add one more field to an exist internal table.
    lemme me put my question in a very simple way.
    i have a internal table having fields f1,f2,f3 and which also that internal also contains some data.
    now i want to add two more fields (mm & nn) to that internal table now.
    how can i do that.
    and i wanna know the websites names where i can find some brain teasing questions in abap programming.
    eagerly waiting for ur reply
    regards,
    Maqsood A Khan

    Hi, MAQSOOD.
    You can insert more fields in your internal table like this.
    refer this code snippet.
    DATA : BEGIN OF tbl_itab OCCURS 0.
            INCLUDE STRUCTURE zsdtc009.
    DATA :  vkorg   LIKE vbak-vkorg,  "inserted one
            vtweg   LIKE vbak-vtweg,  "inserted one
            vkbur   LIKE vbak-vkbur,  "inserted one
            vkgrp   LIKE vbak-vkgrp,  "inserted one
           END OF tbl_itab.
    you can also read the book "Teach yourself abap in 21 days"
    at http://cma.zdnet.com/book/abap/
    but that book is just about basic concept of abap and report program.
    it doesn't give a lecture for on-line program.
    you can get pdf version books(about abap, sap...things) from sap.
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    I wish I could help you.
    Regards
    Kyung Woo.

  • How to add one more field in Internal table

    Hi Experts
    i have declared an internal table
    DATA: lt_viqmel_iflos TYPE TABLE OF viqmel_iflos.
    viqmel_iflos is a Standared SAP Table,
    Now i want to add one more Text field in the internal table only, how to add in program. any one plz help.
    <REMOVED BY MODERATOR>
    Mohana
    Edited by: Alvaro Tejada Galindo on Feb 7, 2008 10:09 AM

    you can put this:
    types: begin of t_table_viqmel_iflos,
    include structure of viqmel_iflos,
    new_field type xxxx.
    types: end of viqmel_iflos.
    DATA: lt_viqmel_iflos TYPE TABLE OF t_table_viqmel_iflos.
    Luck.

  • How to add one more user the email notification

    Hi,
    I would like to know, how I can add 'CC' / One more user to the email notification?
    Currently system is sending email with From Address, And To address (to the user email). But I need to send email to User and one Administrator.
    Template: Create User Self Service Notification
    How can I achieve this?
    thanks

    "Set the Search Allowed property to True for any LOV result items you want to present to the user as searchable values. These items are listed in the search poplist the user sees in the LOV window.
    At a minimum you must set the Search Allowed property to True for the the result table item corresponding to the LOV field on the base page.
    This is from the devguide, I suggest you read it once at least if you have started work on the framework.
    Tapash

  • How to add one more database to an ASM instance

    Dear Gurus,
    I Created an ASM Instance and Database. Now I would like to install one more database and use the ASM instance to manage my disks.
    I tried using DBCA, It is not detecting ASM instance not sure why it is giving the problem.
    Thanks in advance.

    adchanana : I refered thread written by adchanana, I was able to fix my problem
    thanks

  • How to add one more field in infotype and PA 30 screen

    Hi to all
    My requirement is to add a new field in infotype and that should be reflected in PA30 screen.
    Actually in my company one field require from which date the car allowance is started.
    For that one date field is require on PA30 screen ..
    Also suggest me which screen is suggestable for that. and also give me any othe way is possible.
    Thanks & Regards
    Anubhav

    Yes .. I added the field in the structure but that field is not reflecting in PA30 screen.
    please advice me .. what to do...
    Thanks..
    Anubhav

  • How can I add one more path in the classpath tag in xml

    I have added the following line in the global-web-application.xml, and it works.
    <classpath
    path="/apps01/o9ias/j2ee/home/default-web-app/WEB-INF/properties"
    />
    But whenever I add one more path into it, the oc4j can't start.
    The Oracle manual Oracle9iAS Container for J2EE is beta. It doesn't tell the grammer to do that.
    Hopefully you can share some ideas and let me know how to add some more path into it.
    Thanks.
    Wei

    Hi Wei,
    I have just done a quick search of the following URLs
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    And -- as is nearly always the case -- found a shamefully minute amount
    of information, and what I did find was totally useless.
    Oracle have not produced any real documentation for OC4J -- they
    claim it's coming in the next release -- and, as I already said, I
    couldn't find anything on the Internet about "global-web-app.xml" or
    "classpath" element. Therefore (surprise, surprise) your only option
    (as I see it) is just experiment and try to hack the code.
    I wish someone would please tell me if there's another option, because,
    like you, I find it very frustrating to have to continually play
    "guessing games" when trying to work with OC4J. I imagine other people
    seem to enjoy this -- since I don't see anyone else complaining.
    In any case, have you tried multiple "path" attributes, for example:
    <classpath path="/your/path/" path="/your/other/path/"/>
    Got nothing to lose, have you :-)
    Good Luck,
    Avi.

  • QA: Designer's operation to Add one more Field to display in Query Result Web Part

    QUESTION ABOUT Query Result Web Part presentation +1 Field
    I'd be looking at a property of Web Part to look up Discussion Board through Query Result Web Part. Currently it displays 'Title' column of Discussion Board, and my caring requirement is presentation customization to hold double
    columns of 'Title'+'Updated Date'. How could I add one more field 'Updated Date' to display in addition to that preexisting 'Title' field?
    Any procedural steps to realize how to add Filed to display in Query Result Web Part?

    Hi Yoshihiro,
    As I understand, you want to add the field to display in Query Result Web Part in SharePoint 2013.
    Which web part does you use? Content query web part or search results web part?
    If you use search results web part, you could edit the discussion board result template and add the updated field in the template.
    You could go to Design Manager: Edit Display Templates (site setting-> look and feel->design manager->edit display template), download the Discussion Item.htm file, and edit the file. 
    After editing, upload the file.
    The articles below are about how to modify an existing Display Template in SharePoint 2013.
    http://www.learningsharepoint.com/2012/09/17/sharepoint-2013-the-new-display-templates-for-styling-your-content/
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
     If you use content query web part, you could edit the content query web part, in the Property Mappings section select the “Change the mapping of managed”, and add the “modifiedOWSDATE” (it means the last modified date) in the line, after
    that you could see the update date under the title.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Add one more column

    select
                    nvl(appr.APPROVER_NAME, org.APPROVER_NAME) as APPROVER_NAME,
                    nvl(appr.APPROVER, org.APPROVER) as APPROVER,
                    nvl(appr.APPROVER_TYPE, org.APPROVER_TYPE) as APPROVER_TYPE,
                    nvl(appr.ASSIGNED_DATE, org.ASSIGNED_DATE) as ASSIGNED_DATE,
                    nvl(appr.APPROVAL_DATE, '-') as APPROVAL_DATE,
                    nvl(appr.STATE, org.STATE) as STATE,
                                    org.SEQ as numberoftimesmodified,
                    nvl(appr.PROCESS, org.PROCESS) as PROCESS,
           -- appr.request_comment,
                    appr.seq2
                    from (
                        select a.seq,
                        b.usr_display_name as APPROVER_NAME,
                        b.usr_login as APPROVER,
                        'User' as APPROVER_TYPE,
                        '-' as ASSIGNED_DATE,
                        '-' as STATE,
                        a.seq as numberoftimesmodified,
                '-' as PROCESS
                        from(
                            SELECT 1 as seq, USR_UDF_MANAGER_LOGIN as GID, '' as approver_name, 'user' as approver_type FROM DEVT_OIM.USR WHERE USR_LOGIN =:BENEFICIARY_GID AND :APPLICATION = 'Oracle 11i On demand'
                            UNION
                            select rownum as seq, regexp_substr(:APPROVERPAYLOAD,'[^,]+', 1, level) as gid, '' as approver_name, 'user' as approver_type from dual
                            where :APPLICATION != 'Oracle 11i On demand'
                            connect by regexp_substr(:APPROVERPAYLOAD, '[^,]+', 1, level) is not null
                        ) a
                        inner join DEVT_OIM.usr b on a.gid = b.usr_login
                    ) org
                    left join(
                        select b.numberoftimesmodified as seq, rownum as seq2, a.*
                        from
                            select
                            LEAD(a.ASSIGNEES) OVER(ORDER BY a.numberoftimesmodified) as prev_gid,
                            LEAD(a.pushbacksequence) OVER(ORDER BY a.numberoftimesmodified) as prev_pushbacksequence,
                            a.ASSIGNEES as current_gid,
                            nvl(retrieveGidName(a.ASSIGNEES), '-') as APPROVER_NAME,
                            (DEVT_OIM.TOKNEW(REPLACE(a.ASSIGNEES, ',', ':'))) as APPROVER,
                            'User' as APPROVER_TYPE,
                            a.pushbacksequence,
                            TO_CHAR(a.assigneddate,'DD-Mon-YYYY HH:MI:SS AM') as ASSIGNED_DATE,
                            case when a.state = 'WITHDRAWN' then TO_CHAR(a.updateddate,'DD-Mon-YYYY HH:MI:SS AM') else TO_CHAR(d.updateddate,'DD-Mon-YYYY HH:MI:SS AM') end as APPROVAL_DATE,
                            a.numberoftimesmodified,
                            case when a.state = 'EXPIRED' then 'Expired' when a.approvalduration is null then 'Pending' when  a.outcome = 'REJECT' then 'Rejected' else 'Approved' end as PROCESS,
                            d.state as process2,
                            case when d.substate = 'REASSIGNED' then 'Reassigned' when d.state = 'INFO_REQUESTED' then 'Request Info' when a.state = 'EXPIRED' then 'Expired'
                                when  a.outcome = 'REJECT' then 'Rejected' when d.substate = 'INFO_SUBMITTED' then 'Submitted' when a.state = 'WITHDRAWN' then 'Withdrawn' when e.state is null then 'Pending' else 'Approved' end as state,
                            e.ASSIGNEES, d.substate
                            from DEVT_SOAINFRA.WFTASKHISTORY a
                            left join DEVT_SOAINFRA.WFTASKHISTORY d on d.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and d.numberoftimesmodified = (a.numberoftimesmodified+1)
                            left join DEVT_SOAINFRA.WFTASKHISTORY e on e.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and e.numberoftimesmodified = (a.numberoftimesmodified-1) and e.ASSIGNEES = a.ASSIGNEES
                            where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY and a.state is not null
                            order by a.numberoftimesmodified
                        ) a
                        inner join (select rownum as numberoftimesmodified, pushbacksequence from (select distinct pushbacksequence from DEVT_SOAINFRA.WFTASKHISTORY a where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY order by pushbacksequence)) b
                        on b.pushbacksequence = a.pushbacksequence
                        where a.prev_gid != a.current_gid or prev_gid is null
                        order by a.numberoftimesmodified
                    ) appr on org.seq = appr.seq
                union
                select
                    nvl(appr.APPROVER_NAME, org.APPROVER_NAME) as APPROVER_NAME,
                    nvl(appr.APPROVER, org.APPROVER) as APPROVER,
                    nvl(appr.APPROVER_TYPE, org.APPROVER_TYPE) as APPROVER_TYPE,
                    nvl(appr.ASSIGNED_DATE, '-') as ASSIGNED_DATE,
                    nvl(appr.APPROVAL_DATE, '-') as APPROVAL_DATE,
                    nvl(appr.STATE, '-') as STATE,
                                       999 as numberoftimesmodified,
                    nvl(appr.PROCESS, '-') as PROCESS,
                    999 as seq2
                    from(
                        select 999 as seq, '-' as APPROVER, ugp_name as APPROVER_NAME, 'group' as approver_type
                        from DEVT_OIM.UGP ugp
                        where  ugp_name in (
                        SELECT a.it_processor_group FROM ec_admin.ENTITLEMENT a
                            inner join ec_admin.application b on a.application_id = b.application_id
                            WHERE b.extra_field_2 = :APPLICATION
                            and a.module_name = :MODULE
                            and a.site_name = :SITE
                            and a.entitlement_name = DEVT_OIM.TOKNEW(:RESPONSIBILITY)
                            and b.auto_provisioning = 'FALSE')
                    ) org
                    left join(
                    select nvl(grp.APPROVER_NAME, usr.APPROVER_NAME) as APPROVER_NAME,
                    nvl(grp.APPROVER, usr.APPROVER) as APPROVER,
                    nvl(grp.APPROVER_TYPE, usr.APPROVER_TYPE) as APPROVER_TYPE,
                    TO_CHAR((select min(OSI_create) from DEVT_OIM.OSI where request_key = :IDENTIFICATIONKEY),'DD-Mon-YYYY HH:MI:SS AM') as ASSIGNED_DATE,
                    nvl(grp.APPROVAL_DATE, usr.APPROVAL_DATE) as APPROVAL_DATE,
                    'ASSIGNED' as STATE,
                    999 as numberoftimesmodified,
                    case when nvl(grp.APPROVAL_DATE, usr.APPROVAL_DATE) = '-' then 'Pending' else usr.ost_status end as PROCESS
                    from
                        select b.usr_display_name as APPROVER_NAME, b.usr_login as APPROVER,  'User' as APPROVER_TYPE,
                        TO_CHAR(a.OSI_create,'DD-Mon-YYYY HH:MI:SS AM') as APPROVAL_DATE, 'key' as tbl_key,
                        (select ost_status from DEVT_OIM.UPA_RESOURCE where UPA_RESOURCE_key in (
                                  select max(UPA_RESOURCE_key)
                                  from DEVT_OIM.UPA_RESOURCE a
                                  inner join DEVT_OIM.oiu b on a.oiu_key = b.oiu_key
                                  where b.request_key = :IDENTIFICATIONKEY )) as ost_status
                        from (
                          select osi_assigned_to_usr_key, OSI_create
                          from DEVT_OIM.OSI
                          where request_key = :IDENTIFICATIONKEY and osi_assigned_to_usr_key != 1
                          order by OSI_create desc
                        ) a
                        inner join DEVT_OIM.usr b on a.osi_assigned_to_usr_key = b.usr_key
                        where rownum between 0 and 1
                    ) usr
                    left join
                        select ugp.ugp_name as APPROVER_NAME, '-' as APPROVER, 'Group' as APPROVER_TYPE,
                        '-' as APPROVAL_DATE, 'key' as tbl_key
                        FROM DEVT_OIM.OTI itp
                        inner join DEVT_OIM.UGP ugp on ugp.ugp_key = itp.osi_assigned_to_ugp_key
                        where itp.request_key = :IDENTIFICATIONKEY
                        and :REQUEST_STATUS != 'Request Completed'
                    ) grp
                    on usr.tbl_key = grp.tbl_key
                    order by numberoftimesmodified
                    ) appr on 1=1
                order by numberoftimesmodified, seq2
                   Above is the script and i need to add one more column for the script column name request_comment from the table request_comments, anyone help me in doing so.

    /* Formatted on 2012/06/14 13:19 (Formatter Plus v4.8.8) */
    SELECT X.*, request_comments.request_comment
    FROM(
    SELECT   NVL (appr.approver_name, org.approver_name) AS approver_name, NVL (appr.approver, org.approver) AS approver,
             NVL (appr.approver_type, org.approver_type) AS approver_type, NVL (appr.assigned_date, org.assigned_date) AS assigned_date,
             NVL (appr.approval_date, '-') AS approval_date, NVL (appr.state, org.state) AS state, org.seq AS numberoftimesmodified,
             NVL (appr.process, org.process) AS process,
                                                        -- appr.request_comment,
                                                        appr.seq2
        FROM (SELECT a.seq, b.usr_display_name AS approver_name, b.usr_login AS approver, 'User' AS approver_type, '-' AS assigned_date,
                     '-' AS state, a.seq AS numberoftimesmodified, '-' AS process
                FROM (SELECT 1 AS seq, usr_udf_manager_login AS gid, '' AS approver_name, 'user' AS approver_type
                        FROM devt_oim.usr
                       WHERE usr_login = :beneficiary_gid AND :application = 'Oracle 11i On demand'
                      UNION
                      SELECT     ROWNUM AS seq, REGEXP_SUBSTR (:approverpayload, '[^,]+', 1, LEVEL) AS gid, '' AS approver_name,
                                 'user' AS approver_type
                            FROM DUAL
                           WHERE :application != 'Oracle 11i On demand'
                      CONNECT BY REGEXP_SUBSTR (:approverpayload, '[^,]+', 1, LEVEL) IS NOT NULL) a
                     INNER JOIN
                     devt_oim.usr b ON a.gid = b.usr_login
                     ) org
             LEFT JOIN
             (SELECT   b.numberoftimesmodified AS seq, ROWNUM AS seq2, a.*
                  FROM (SELECT   LEAD (a.assignees) OVER (ORDER BY a.numberoftimesmodified) AS prev_gid,
                                 LEAD (a.pushbacksequence) OVER (ORDER BY a.numberoftimesmodified) AS prev_pushbacksequence,
                                 a.assignees AS current_gid, NVL (retrievegidname (a.assignees), '-') AS approver_name,
                                 (devt_oim.toknew (REPLACE (a.assignees, ',', ':'))) AS approver, 'User' AS approver_type,
                                 a.pushbacksequence, TO_CHAR (a.assigneddate, 'DD-Mon-YYYY HH:MI:SS AM') AS assigned_date,
                                 CASE
                                   WHEN a.state = 'WITHDRAWN'
                                     THEN TO_CHAR (a.updateddate, 'DD-Mon-YYYY HH:MI:SS AM')
                                   ELSE TO_CHAR (d.updateddate, 'DD-Mon-YYYY HH:MI:SS AM')
                                 END AS approval_date,
                                 a.numberoftimesmodified,
                                 CASE
                                   WHEN a.state = 'EXPIRED'
                                     THEN 'Expired'
                                   WHEN a.approvalduration IS NULL
                                     THEN 'Pending'
                                   WHEN a.outcome = 'REJECT'
                                     THEN 'Rejected'
                                   ELSE 'Approved'
                                 END AS process,
                                 d.state AS process2,
                                 CASE
                                   WHEN d.substate = 'REASSIGNED'
                                     THEN 'Reassigned'
                                   WHEN d.state = 'INFO_REQUESTED'
                                     THEN 'Request Info'
                                   WHEN a.state = 'EXPIRED'
                                     THEN 'Expired'
                                   WHEN a.outcome = 'REJECT'
                                     THEN 'Rejected'
                                   WHEN d.substate = 'INFO_SUBMITTED'
                                     THEN 'Submitted'
                                   WHEN a.state = 'WITHDRAWN'
                                     THEN 'Withdrawn'
                                   WHEN e.state IS NULL
                                     THEN 'Pending'
                                   ELSE 'Approved'
                                 END AS state,
                                 e.assignees, d.substate
                            FROM devt_soainfra.wftaskhistory a LEFT JOIN devt_soainfra.wftaskhistory d
                                 ON d.identificationkey = a.identificationkey AND d.numberoftimesmodified = (a.numberoftimesmodified + 1)
                                 LEFT JOIN devt_soainfra.wftaskhistory e
                                 ON e.identificationkey = a.identificationkey
                               AND e.numberoftimesmodified = (a.numberoftimesmodified - 1)
                               AND e.assignees = a.assignees
                           WHERE a.identificationkey = :identificationkey AND a.state IS NOT NULL
                        ORDER BY a.numberoftimesmodified) a
                       INNER JOIN
                       (SELECT ROWNUM AS numberoftimesmodified, pushbacksequence
                          FROM (SELECT DISTINCT pushbacksequence
                                           FROM devt_soainfra.wftaskhistory a
                                          WHERE a.identificationkey = :identificationkey
                                       ORDER BY pushbacksequence)) b ON b.pushbacksequence = a.pushbacksequence
                 WHERE a.prev_gid != a.current_gid OR prev_gid IS NULL
              ORDER BY a.numberoftimesmodified) appr ON org.seq = appr.seq
    UNION
    SELECT   NVL (appr.approver_name, org.approver_name) AS approver_name, NVL (appr.approver, org.approver) AS approver,
             NVL (appr.approver_type, org.approver_type) AS approver_type, NVL (appr.assigned_date, '-') AS assigned_date,
             NVL (appr.approval_date, '-') AS approval_date, NVL (appr.state, '-') AS state, 999 AS numberoftimesmodified,
             NVL (appr.process, '-') AS process, 999 AS seq2
        FROM (SELECT 999 AS seq, '-' AS approver, ugp_name AS approver_name, 'group' AS approver_type
                FROM devt_oim.ugp ugp
               WHERE ugp_name IN (
                       SELECT a.it_processor_group
                         FROM ec_admin.entitlement a INNER JOIN ec_admin.application b ON a.application_id = b.application_id
                        WHERE b.extra_field_2 = :application
                          AND a.module_name = :module
                          AND a.site_name = :site
                          AND a.entitlement_name = devt_oim.toknew (:responsibility)
                          AND b.auto_provisioning = 'FALSE')) org
             LEFT JOIN
             (SELECT   NVL (grp.approver_name, usr.approver_name) AS approver_name, NVL (grp.approver, usr.approver) AS approver,
                       NVL (grp.approver_type, usr.approver_type) AS approver_type,
                       TO_CHAR ((SELECT MIN (osi_create)
                                   FROM devt_oim.osi
                                  WHERE request_key = :identificationkey), 'DD-Mon-YYYY HH:MI:SS AM') AS assigned_date,
                       NVL (grp.approval_date, usr.approval_date) AS approval_date, 'ASSIGNED' AS state, 999 AS numberoftimesmodified,
                       CASE
                         WHEN NVL (grp.approval_date, usr.approval_date) = '-'
                           THEN 'Pending'
                         ELSE usr.ost_status
                       END AS process
                  FROM (SELECT b.usr_display_name AS approver_name, b.usr_login AS approver, 'User' AS approver_type,
                               TO_CHAR (a.osi_create, 'DD-Mon-YYYY HH:MI:SS AM') AS approval_date, 'key' AS tbl_key,
                               (SELECT ost_status
                                  FROM devt_oim.upa_resource
                                 WHERE upa_resource_key IN (SELECT MAX (upa_resource_key)
                                                              FROM devt_oim.upa_resource a INNER JOIN devt_oim.oiu b
                                                                   ON a.oiu_key = b.oiu_key
                                                             WHERE b.request_key = :identificationkey)) AS ost_status
                          FROM (SELECT   osi_assigned_to_usr_key, osi_create
                                    FROM devt_oim.osi
                                   WHERE request_key = :identificationkey AND osi_assigned_to_usr_key != 1
                                ORDER BY osi_create DESC) a
                               INNER JOIN
                               devt_oim.usr b ON a.osi_assigned_to_usr_key = b.usr_key
                         WHERE ROWNUM BETWEEN 0 AND 1) usr
                       LEFT JOIN
                       (SELECT ugp.ugp_name AS approver_name, '-' AS approver, 'Group' AS approver_type, '-' AS approval_date,
                               'key' AS tbl_key
                          FROM devt_oim.oti itp INNER JOIN devt_oim.ugp ugp ON ugp.ugp_key = itp.osi_assigned_to_ugp_key
                         WHERE itp.request_key = :identificationkey AND :request_status != 'Request Completed') grp
                       ON usr.tbl_key = grp.tbl_key
              ORDER BY numberoftimesmodified) appr ON 1 = 1
    ORDER BY numberoftimesmodified, seq2
    ) X, request_comments
    WHERE...

  • How to create one more server node for SAP J2EE server?

    Hi,
    Can any one please suggest how to create one more server node for SAP J2EE server? I am using WAS700.
    Thanks and Regards,
    Smriti.

    Hai,
          Login into the Configtool(C:\usr\sap\SID\DVEBMGS<inst no>\j2ee\configtool) if ABAP+JAVA stack or C:\usr\sap\SID\JC<inst no>\j2ee\configtool) if JAVA stack
    click on the instance and and select the addserver button on the top to create a servernode for J2EE server.
    Thanks and Regards,

  • How to add a new character set encoding?

    Hello,
    can anybody please explain to me, how to add a new character set encoding to Mac OS Tiger?
    I have two Mac laptops, a new one with Snow Leopard and an older one with Tiger, and on the old one i cannot use or enable anywhere the "Russian (DOS)" character set encoding, which i need to be able to use some old text files.
    On the Snow Leopard, this encoding is present in the list of available encodings of TextWrangler, but not in TIger.
    If i have understood correctly, this is not a problem of TextWrangler, and the same encodings are available systemwide.
    So, the question is: how to add new encodings to Tiger (or to Mac OS in general)?
    Thanks.

    I think possibly that's in the Get Info window of Finder?
    I don't think either that or the input menu have any effect on available encoding choices. Adding languages to system prefs/international/languages can do that, but once you have added Russian there, I don't know of any way to add an additional Russian encoding (there are quite a number of them).

  • XSLT Mapping: how to add one day to TimeStamp

    Hello Experts,
    My requirement is to add one day to current timestamp. Used $TimeSent to get the currenttimestamp. In Expired field, the need to add one day
    say Created= 2011-03-30T20:29:13Z
           Expired = 2011-03-31T20:29:13Z
         <xsl:param name="TimeSent"/>
         <created><xsl:value-of select="$TimeSent"/></created>
         <expired>2011-03-31T20:29:13Z</expired>
    How to add one day to the current timestamp. I am new to XSLT mapping and need some help with the code.
    Thanks
    Shikha Jain
    Edited by: Jain Shikha on Mar 30, 2011 8:34 PM
    Edited by: Jain Shikha on Mar 30, 2011 8:36 PM

    Hello All,
    Thanks for your reply. i tried the function and the code is working when i am testing in stylus studio. But the same code gives error when i  tested the xslt mapping in PI (Error: TransformerConfigurationException triggered while loading XSLT mapping).
    $TimeSent function is working when code is tested in PI , but it doesnot give value in stylus studio. Also Current-dateTime() function is doesnot give value in PI but works in stylus studio. Is there any difference in the functions used in stylus studio and XSLT mapping in PI?
    Also if i remove the code used for function(to add one day to timestamp), and use constant value(2011-04-02T23:24:56.763Z)the code is working fine in PI. Please help me to find out where the code is going wrong when tested in PI.
    Below is the XSLT code i am using
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ds="http://xsltsl.org/date-time" xmlns:functx="http://www.functx.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
       <xsl:function name="functx:next-day" as="xs:date?">
          <xsl:param name="TimeSent" as="xs:anyAtomicType?"/>
          <xsl:sequence select="xs:date(current-date()) + xs:dayTimeDuration(&apos;P1D&apos;) "/>
       </xsl:function> 
    <xsl:template match="/">
          <xsl:param name="TimeSent"/>
          <soapenv:Envelope xmlns:olsa="http://www.skillsoft.com/services/olsa_v1_0/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
             <soapenv:Header>
                <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   <wsu:Timestamp wsu:Id="Timestamp-191900" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsu:Created>
                         <xsl:value-of select="$TimeSent"/>
               </wsu:Created>
    <wsu:Expires>
         <xsl:value-of select="concat(substring(functx:next-day($TimeSent) ,1,10) ,&apos;T&apos;, current-time())"/>                  </wsu:Expires>
                   </wsu:Timestamp>
                   <wsse:UsernameToken wsu:Id="UsernameToken-19030197" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                      <wsse:Username>ABC</wsse:Username>
                      <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">XYZ</wsse:Password>
                      <wsse:Nonce>erDTBNoUWv7GdHDaErrLwA==</wsse:Nonce>
                      <wsu:Created>2011-02-15T23:24:56.763Z</wsu:Created>
                   </wsse:UsernameToken>
                </wsse:Security>
             </soapenv:Header>
             <soapenv:Body>
                <olsa:GetMultiActionSignOnUrlRequest>
                   <olsa:customerId>ABC</olsa:customerId>
                   <olsa:userName>XYZ</olsa:userName>
                   <olsa:actionType>launch</olsa:actionType>
                   <olsa:assetId>222499_eng</olsa:assetId>
                   <olsa:groupCode>testgrp</olsa:groupCode>
                </olsa:GetMultiActionSignOnUrlRequest>
             </soapenv:Body>
          </soapenv:Envelope>
       </xsl:template>
    </xsl:stylesheet>
    Thanks
    Shikha Jain
    Edited by: Jain Shikha on Apr 2, 2011 9:51 PM

  • How to add 1 more column in standard portal UWL and map the values.

    Hi
    I have one issue/requirement, please help me out on that also.
    In portal UWL, i want to add one more column TICKET ID COLUMN, and ticket id value I  will be putting as work item ID of abap Workflow, so whenever  approver opens his portal UWL, in first column i want to show ticket ID say 00012345, so how to add this ticket ID column in standard portal UWL and how to put/map  value of work item in that column.
    My idea behind this is, when ever say employee wants to know the status about his ticket ID, he can simply ask his manager regarding the ticket status by referring to that ticket ID which manager can easily find in his portal UWL in that extra TICKET ID COLUMN .
    Do I have to change anything in SAP inbox also ? Do i have to add 1 more colum in sap R/3 inbox also ? and will adding 1 more colum in sap inbox (R/3 inbox), will create automatically one more ticket ID colum in portal UWL also ?
    please let me know , as i do not want to add 1 extra column in R/3 inbox, just i want in portal UWL extra ticket ID column should come and i want to put workitem ID generated at the start of workflow, in that colum in portal UWL
    please help me on this.
    Thanks...
    Edited by: User Satyam on May 29, 2011 6:16 AM

    Hi Satyam,
    These are called custom attributes.  Here is a powerpoint that may be able to assist you with the documentation that the other poster gave you too.
    Always remember too when you make a change on the backend R/3 side, you must reregister your UWL connector.  And yes, the column must be available on the backend R/3 side.  We can't create on the fly columns in the UWL, that have no reference to the backend system in this case.
    Beth Maben
    EP - Senior Support Consultant II
    AGS Primary Support
    Global Support Centre Ireland
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • How to add one value into Input Entry Screen of Element

    Hi ,
    How to change the "Input Value" of Element which has already been processed and assigned. Its not allowing to update even though its been date tracked.
    I want to add one more Value into Input Value screen.
    Thanks
    Ram

    You cannot remove existing input values or add new one if you have created any entries for the element
    to know more details to maintain an element you can refer the following link
    http://ramesh-oraclehrms.blogspot.com/2007/08/maintaining-element.html
    Regards
    Ramesh Kumar S

Maybe you are looking for

  • Exception [EJB - 10008]: Cannot find bean of type [SalesBean] using finder

    I'm trying to call an entity bean froma session bean i get the error :- 7/02/27 14:35:25 javax.ejb.ObjectNotFoundException: Exception [EJB - 10008]: Cannot find bean of type [SalesBean] using finde [findByCustID]. 7/02/27 14:35:25       at oracle.top

  • How to get first 10 records from the database using JSP

    i want ot get first 10 records from the database and then after clicking the next button in the page,it must show the next precceding 10 records from the database.i am getting the first 10 records .but how to post to the same page to get another prec

  • Error but no error when attempting to deploy to RT target

    OK....I have currently run into a very irritating problem.  Often when I attempt to run an Actor Framework based project on an RT target (PXIe-8135), I run into the problem where a VI seems to throw an error and causes the launch to fail (i.e. I get

  • NAS support: Synology

    My basic info: 1. Network Magic: 5.5.9195.0 trial version 2. Internet connection: DSL   3. Modem: Speedstream 5100 4. Router: Linksys WRT160N  v1.02.2   5. Connection: wired 6. n/a 7. OS: Windows XP, SP3 8. Firewall: Windows Firewall 9. AV/Spy: Micro

  • Date between filter not working

    Hi, I am using Action links to open Report2 from Report1. For my 'Date between' filter (current date and previous two days) in Report2, I previously had 'Advanced SQL' statement but later switched to session variables. Now when I am using session var