Want to add one more link in the first screen when user gets into EBP

Hi All,
I want to add one more link to the template <b>WELCOME</b> in Internet Service <b>BBPGLOBAL</b>. This is the first screen that the user gets when he logs into EBP.
The issue is the same screen is different in DEV and TEST environment.
I verified the code in the template in both systems but they are exactly the same.
Also, checked the Parameters in the Templates and they too match.
While going through the code, I found out that MENU_NODE_TAB is used in a repeat loop to verify user has access to the further links.
But the surprising thing is the code is same in both the systems, but Test evnironment is reflecting the link I want to add in DEV environment.
Am I missing something??
Pls let me know.
Thanks in advance.
<b>I will reward full points for helpful answers!!</b>
Regards,
Sanaa

Hi,
In welcome.html there is a ITS code to initialize array with information about transaction (line 87).
This code is in the loop:
repeat with idx from 1 to MENU_NODE_TAB-TEXT.dim;
  if( (MENU_NODE_TAB-S_IDENT[idx] == "BBPSC01" && A_GEN_URL<i> == "") ||
      (MENU_NODE_TAB-S_IDENT[idx] == "BBPSC03" && A_GEN_URL<i> == "") || 
      (MENU_NODE_TAB-S_IDENT[idx] == "BBPSC02")                       );
    A_S_IDENT<i>      = MENU_NODE_TAB-S_IDENT[idx];
    A_GEN_URL<i>      = MENU_NODE_TAB-GEN_URL[idx];
    A_OBJECT_ID<i>    = "parent.launchpad.menu.M" & MENU_NODE_TAB-OBJECT_ID[idx] & ".root.name + parent.launchpad.menu.M" & MENU_NODE_TAB-OBJECT_ID[idx] & ".path";
    A_TEXT<i>         = quotFilter(MENU_NODE_TAB-TEXT[idx]);
    A_INTRODUCTION<i> = #WELCOME_SENTENCE6;
    found = 1;
  end;
end;
If You want to add this 4 links on begining - extend this array (in line 87):
<!-- initialize array with information about transaction on startpage -->
A_S_IDENT[1] = "custom_link1"; A_GEN_URL[1] = "www.google.com"; A_OBJECT_ID[1] = ""; A_TEXT[1] = "google"; A_INTRODUCTION[1] = "google link";
A_S_IDENT[2] = "custom_link2"; A_GEN_URL[2] = "www.rediffmail.com"; A_OBJECT_ID[2] = ""; A_TEXT[2] = "rediffmail"; A_INTRODUCTION[2] = "redi link";
A_S_IDENT[3] = "custom_link3"; A_GEN_URL[3] = "www.yahoo.com"; A_OBJECT_ID[3] = ""; A_TEXT[3] = "yahoo"; A_INTRODUCTION[3] = "yahoo link";
A_S_IDENT[4] = "custom_link4"; A_GEN_URL[4] = "www.greetings.com"; A_OBJECT_ID[4] = ""; A_TEXT[4] = "greets"; A_INTRODUCTION[4] = "greeting link";
A_S_IDENT[5] = ""; A_GEN_URL[5] = ""; A_OBJECT_ID[5] = ""; A_TEXT[5] = ""; A_INTRODUCTION[5] = "";
A_S_IDENT[6] = ""; A_GEN_URL[6] = ""; A_OBJECT_ID[6] = ""; A_TEXT[6] = ""; A_INTRODUCTION[6] = "";
etc.
<!-- Search for shopping transaction in launchpad -->
repeat with idx from 5 to MENU_NODE_TAB-TEXT.dim;
Regards,
Marcin

Similar Messages

  • Want to add one more field in the standard transation xk02 : screen exit

    Dear All ,
    I want to add one field in transation in Xk02 in withholding tax check box.
    run the transation xk02 and select check box Withholding tax and press enter after that you will get the screen having field
    WH Tax Country  in parellel to this i want one more field Country .
    Is there any screen exit available fot this or any other way to proceed .
    Please provide any solution .
    Regards
    Aryan

    use an iplicit enahnecemnt to call a function module in which you can call a screen popu up with the fields you want update them in the database and return back to the main program. If the the two exits available are not helpful to you.
    RFKRRANZ
    SAPMF02K.

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

  • Ihave a emac 1002 emc 1955 that igot from a auction,when i turn it on it never gets pass the loading screen and cant get into utilities

    i have a emac 1002 emc 1955 that wont go pass loading screen and cant get into utilities,i got from a auction and dont want to take it apart if i dont have to so looking for a little help before it goes that far.thanks

    Hi Mike, the Keyboard shouldn't matter, it should be OK in that respect.
    Your kind of stuck without any Install Disc to try to repair it or reinstall, but...
    Tough without the Install disc, but some things to try...
    Does it boot to Single User Mode, CMD+s keys at bootup, if so try...
    /sbin/fsck -fy
    Repeat until it shows no errors fixed.
    (Space between fsck AND -fy important).
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck...
    http://docs.info.apple.com/article.html?artnum=106214
    Tough without the Tiger Disk problems, but try fsck...
    To use fsck, you must run it from the command line. Unlike using your mouse to open an application to do something, you'll need to type a text command at the prompt (#) to tell fsck what to do. The Terminal application (/Applications/Utilities) and single-user mode are two examples of command-line interfaces in which you can type such commands. To use fsck:
    1. Start up your computer in single-user mode to reach the command line. Hold CMD+s keys down at bootup.
Note: If necessary, perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer. On desktop computers, you can do this by pressing the reset/interrupt button (if there is one) or holding down the power button for several seconds. On portable computers, simultaneously press the Command-Control-power keys. If your portable computer doesn't restart with this method, you may need to reset the Power Manager.
    2. At the command-line prompt, type /sbin/fsck -fy
    (SPACE between fsck AND -fy important)
    3. Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes, it'll display this message if no issue is found:

    The volume (name_of_volume) appears to be OK 
If fsck found issues and has altered, repaired, or fixed anything, it will display this message:
***** FILE SYSTEM WAS MODIFIED ***** 

Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK (first-pass repairs may uncover additional issues, so this is a normal thing to do).
    4. When fsck reports that your volume is OK, type reboot at the prompt and then press Return.
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot, (holding Shift key down at bootup), & use Disk Utility from there to Repair Permissions, reboot once more.
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    Does it boot into Open Firmware with CMD+Option+o+f ?
    http://docs.info.apple.com/article.html?artnum=42642
    reset-nvram (press Enter)
    set-defaults (press Enter)
    reset-all (press Enter)
    Have you done a PRAM reset, CMD+Option+p+r...
    http://docs.info.apple.com/article.html?artnum=2238

  • Replay module from the first slide when user failed the quiz.

    Hi, I m using SCORM 1.2 settings for my project and i uploaded it on moodle , i want to replay the module from first slide when user failed the quiz. which settings i use? please help me with the same.

    When reporting to LMS it is the LMS that takes care of bookmarking, wondering if this is possible within Captivate itself? I don't know Moodle, but did you check the settings there?

  • When I want to add an album onto my iphone using itunes, I am successful in  putting one album on my phone but when I want to add another album it deletes the first album I put on my phone. How can I add more albums without some albums disappearing?

    I am having a problem with importing cds onto my iPhone. I have successfully added a playlist or album to my phone but when I want to add another album/artist, the first album that was on there has all of a sudden disappeared. Its like I can only have one album on my phone. This is my first time dealing with anything Apple because I have been using android phones. Any help would be appreciated as I don't fully understand iTunes.

    You can delete photos from individual albums but not from the camera roll.  If you try to delete a photo from camera roll it will be deleted from all other albums ("locations") that contain the photo.  This is because the actual photo is in the camera roll (the albums only contain links to the photo in camera roll, not the actual photo).

  • Want to add one more table in Inner join

    Hi all,
    my code is show below.
    SELECT a~budat a~mblnr b~matnr b~menge b~bwart
             INTO CORRESPONDING FIELDS OF TABLE it_rawmat
             FROM mkpf as a inner join mseg as b on a~mblnr = b~mblnr
             where b~bwart = '261' and b~werks in werks and b~matnr in matnr and a~budat in budat.
    this code is get two table with inner join.
    But now i want to get BOM quantity from Mast and stpo so can u please help me how can i add this both table in this
    select statement.
    i describe stlnr,menge,idnrk,matnr this four field in it_rawmat table.
    now how can i fetch value MENGE from stpo throw mast .
    Thanks in Advance
    keyur

    Here is sample example where more then two tables are join.
    SELECT  p~carrid p~connid f~fldate b~bookid
      INTO  CORRESPONDING FIELDS OF TABLE itab
      FROM  ( ( spfli AS p
                INNER JOIN sflight AS f ON p~carrid = f~carrid AND
                                           p~connid = f~connid    )
                INNER JOIN sbook   AS b ON b~carrid = f~carrid AND
                                           b~connid = f~connid AND
                                           b~fldate = f~fldate     )
      WHERE p~cityfrom = 'FRANKFURT' AND
            p~cityto   = 'NEW YORK'  AND
            f~seatsmax > f~seatsocc. 

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

  • Add read more link SharePoint 2013 blog site

    Hi,
    I have blog site in SharePoint 2013. I want to add "Read More" link for all the blog post.
    I found a lot of solution by manipulating through the layouts folder in 15 hive directory.
    But I have no access to the 15 hive directory.
    Is it possible through JavaScript or j query ?
    Please share your suggestion.
    Thank you

    I've used this guide: http://www.learningsharepoint.com/2013/04/07/styling-announcements-with-javascript-using-js-link-in-sharepoint-2013/
    The guide is actually for Announcements but the basic behavior is the same. The code is simple to modify even by a beginner.

  • Add one more segment in item Category Key Flexfeild

    Hi
    I want to add one more segment in item Category Key Flexfeild and that is not a mandatory feild.
    What are the implications if I add one more segment in KFF?
    Does it effect anywhere in the system?
    Please let me know your thoughts.
    Thanks

    Rav
    If it is not mandatory should not be an issue. But I would test like hell.
    Thanks
    Nagamohan

  • Add one more field in MIGO

    Dear Experts ,
    I want to add one more I/o field at Invoice date tab in header and also want to change the name of this tab from invoice date to invoice detail.
    Kindly suggest...
    Thanks
    Alok

    Hi,
    Use the badi "MB_MIGO_BADI".  See the sample code & BADI documentation for reference.
    Regards
    Vinod

  • I bought a photoshop CS5(for two users). If I add one more user, what can I do?

    I bought a photoshop CS5, and it indicated for two users only. If I want to add one more user, then what can I do?

    Buy another license.
    You can only activate two copies of the software and they're supposed to be for the same person and not used simultaneously.

  • 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 Add a new fields in the selection screen of LDB.

    Hi All,
    I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
    So could you please tell me for that where i need to add the code for selecting the data.
    Thanks
    Roli

    Hi
    welcome to SDN forum
    If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
    if you wants to modify the std LDB of SAp means take the access key and to modify that code
    if you add the extra field you have to modify the where conditions in the code also
    see the doc
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
    Less coding s required to retrieve data compared to normal internel tables.
    Tables used LDB are in hierarchial structure.
    Mainly we used LDBs in HR Abap Programming.
    Where all tables are highly inter related so LDBs can optimize the performance there.
    Check this Document. All abt LDB's
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Gothru the blog which provides info on LDB's:
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Sample code
    TABLES: SPFLI,
    SFLIGHT,
    SBOOK,
    SCARR.
    START-OF-SELECTION.
    GET SPFLI.
    WRITE:/ ’SPFLI: ’, SPFLI-CARRID, SPFLI-CONNID,
    SPFLI-AIRPFROM, SPFLI-AIRPTO.
    GET SFLIGHT.
    WRITE:/ ’ SFLIGHT: ’, SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
    GET SBOOK.
    WRITE:/ ’ SBOOK: ’, SBOOK-CARRID, SBOOK-CONNID,
    SBOOK-FLDATE, SBOOK-BOOKID.
    GET SFLIGHT LATE.
    WRITE:/ ’ GET SFLIGHT LATE: ’, SFLIGHT-FLDATE.
    Regards
    anji

  • HT4759 Can you have more than one computer linked to the same icloud account?

    Can you have more than one computer linked to the same icloud account?  If so how do you add a computer?

    Yes, of course - that's the whole point, to provide syncing of data such as calendars, contacts and email between computers and iOS devices. Having got iCloud up and running on one computer, simply sign all other devices in at System Preferences (or Settings)>iCloud with the same login. (Lion 10.7.2 and iOS5 are the minimum requirements.)

Maybe you are looking for