How to achieve this in SQL?

Hi Guys,
I'm stuck in one place. Here is my problem explained below -
Table definition is -
Column name          Data Type          Nullable
FLT_NBR           CHAR(5 BYTE)     No
CARR_IATA_CD     CHAR(4 BYTE)     No
FLT_LCL_ORIG_DT     DATE                 No
ORIG_ARPT_CD     CHAR(3 BYTE)     No
DEST_ARPT_CD     CHAR(3 BYTE)     No
ORIG_OCCUR_NBR     NUMBER(3,0)          No
DEST_OCCUR_NBR     NUMBER(3,0)          No
SCHED_LEG_NBR     NUMBER(3,0)          No
NOSE_NBR          CHAR(4 BYTE)     Yes
GMT_EST_DEP_DTM     DATE               Yes
GMT_EST_ARR_DTM     DATE               Yes
TAIL_NBR          CHAR(6 BYTE)     Yes
ACTIVE_IND          NUMBER(1,0)          YesEach record of the table is segment. This will applicable on all the data of that given table.
Consider the following case -
SQL Is -
select o.CARR_IATA_CD,
       o.FLT_NBR,
       o.FLT_LCL_ORIG_DT,
       o.ORIG_ARPT_CD,
       o.SCHED_LEG_NBR,
       o.DEST_ARPT_CD,
       o.ORIG_OCCUR_NBR,
       o.DEST_OCCUR_NBR,
       o.NOSE_NBR,
       o.TAIL_NBR,
       to_char(o.GMT_EST_ARR_DTM,'DD-MON-YYYY hh24:mi:ss') GMT_EST_ARR_DTM,
       to_char(o.GMT_EST_DEP_DTM,'DD-MON-YYYY hh24:mi:ss') GMT_EST_DEP_DTM
from ops_flt_leg o
where o.flt_nbr = '109'  
and   o.orig_arpt_cd = 'ORD'
and   o.dest_arpt_cd = 'ORD'
and   o.flt_lcl_orig_dt = to_date('30-APR-2008','DD-MON-YYYY')
Output -
CARR FLT_N FLT_LCL_O ORI SCHED_LEG_NBR DES ORIG_OCCUR_NBR DEST_OCCUR_NBR NOSE TAIL_N GMT_EST_ARR_DTM                                                             GMT_EST_DEP_DTM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
UA   109   30-APR-08 ORD             1 ORD              0              1 5688        30-APR-2008 15:34:00                                                        30-APR-2008 14:59:00               Determination of 2nd condition is -
SQL is -
select o.CARR_IATA_CD,
       o.FLT_NBR,
       o.FLT_LCL_ORIG_DT,
       o.ORIG_ARPT_CD,
       o.SCHED_LEG_NBR,
       o.DEST_ARPT_CD,
       o.ORIG_OCCUR_NBR,
       o.DEST_OCCUR_NBR,
       o.NOSE_NBR,
       o.TAIL_NBR,
       to_char(o.GMT_EST_ARR_DTM,'DD-MON-YYYY hh24:mi:ss') GMT_EST_ARR_DTM
from ops_flt_leg o
where o.active_ind=1 
and   o.nose_nbr  =5688
and   o.dest_arpt_Cd = 'ORD'
order by o.gmt_est_arr_dtm   N.B.: Check that the 2nd query is receiving values from 1st query in the following columns -
NOSE_NBR - which will be nose_nbr from the first query.
dest_arpt_Cd - Which will be orig_arpt_cd from the first query.
Output -
CARR FLT_N FLT_LCL_O ORI SCHED_LEG_NBR DES ORIG_OCCUR_NBR DEST_OCCUR_NBR NOSE TAIL_N GMT_EST_ARR_DTM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
UA   106   28-APR-08 LAX             1 ORD              0              0 5688        28-APR-2008 20:38:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   906   29-APR-08 SFO             1 ORD              0              0 5688        29-APR-2008 21:38:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   819   30-APR-08 EWR             1 ORD              0              0 5688        30-APR-2008 13:36:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   109   30-APR-08 ORD             1 ORD              0              1 5688        30-APR-2008 15:34:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   122   02-MAY-08 LAX             1 ORD              0              0 5688        03-MAY-2008 03:31:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   940   04-MAY-08 DEN             1 ORD              0              0 5688        04-MAY-2008 21:52:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   1130  06-MAY-08 YVR             1 ORD              0              0 5688        06-MAY-2008 21:16:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   566   07-MAY-08 SMF             1 ORD              0              0 5688        07-MAY-2008 21:15:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   110   08-MAY-08 LAX             1 ORD              0              0 5688        08-MAY-2008 21:07:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   566   10-MAY-08 SMF             1 ORD              0              0 5688        10-MAY-2008 21:28:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   110   11-MAY-08 LAX             1 ORD              0              0 5688        11-MAY-2008 21:07:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
UA   122   12-MAY-08 LAX             1 ORD              0              0 5688        13-MAY-2008 02:52:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

This should do it. Note that the only thing that is hard coded with this query is the where clause for query 1 (aliased as q1 and joined to q1 as an inline view) Just replace the hard coded values with appropriate binds and you should be good to go.
--<"Begin Sample Data">
with ops_flt_leg as (
  select 'UA' CARR_IATA_CD
       , '106' FLT_NBR
       , to_date('28-APR-08','dd-mon-yy') FLT_LCL_ORIG_DT
       , 'LAX' ORIG_ARPT_CD
       , 1 SCHED_LEG_NBR
       , 'ORD' DEST_ARPT_CD
       , 0 ORIG_OCCUR_NBR
       , 0 DEST_OCCUR_NBR
       , '5688' NOSE_NBR
       , cast(null as char(6)) TAIL_NBR
       , to_date('28-APR-2008 20:38:00','dd-mon-yyyy hh24:mi:ss') GMT_EST_ARR_DTM
       , to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss') GMT_EST_DEP_DTM
       , 1 ACTIVE_IND
    from dual
  union all select 'UA', '906', to_date('29-APR-08','dd-mon-yy'), 'SFO', 1, 'ORD', 0, 0, '5688', null, to_date('29-APR-2008 21:38:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '819', to_date('30-APR-08','dd-mon-yy'), 'EWR', 1, 'ORD', 0, 0, '5688', null, to_date('30-APR-2008 13:36:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '109', to_date('30-APR-08','dd-mon-yy'), 'ORD', 1, 'ORD', 0, 1, '5688', null, to_date('30-APR-2008 15:34:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '122', to_date('02-MAY-08','dd-mon-yy'), 'LAX', 1, 'ORD', 0, 0, '5688', null, to_date('03-MAY-2008 03:31:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '940', to_date('04-MAY-08','dd-mon-yy'), 'DEN', 1, 'ORD', 0, 0, '5688', null, to_date('04-MAY-2008 21:52:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '1130',to_date('06-MAY-08','dd-mon-yy'), 'YVR', 1, 'ORD', 0, 0, '5688', null, to_date('06-MAY-2008 21:16:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '566', to_date('07-MAY-08','dd-mon-yy'), 'SMF', 1, 'ORD', 0, 0, '5688', null, to_date('07-MAY-2008 21:15:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '110', to_date('08-MAY-08','dd-mon-yy'), 'LAX', 1, 'ORD', 0, 0, '5688', null, to_date('08-MAY-2008 21:07:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '566', to_date('10-MAY-08','dd-mon-yy'), 'SMF', 1, 'ORD', 0, 0, '5688', null, to_date('10-MAY-2008 21:28:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '110', to_date('11-MAY-08','dd-mon-yy'), 'LAX', 1, 'ORD', 0, 0, '5688', null, to_date('11-MAY-2008 21:07:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
  union all select 'UA', '122', to_date('12-MAY-08','dd-mon-yy'), 'LAX', 1, 'ORD', 0, 0, '5688', null, to_date('13-MAY-2008 02:52:00','dd-mon-yyyy hh24:mi:ss'), to_date('30-APR-2008 14:59:00','dd-mon-yyyy hh24:mi:ss'), 1 from dual
--<"Cut Here">
select CARR_IATA_CD,
       FLT_NBR,
       FLT_LCL_ORIG_DT,
       ORIG_ARPT_CD,
       SCHED_LEG_NBR,
       DEST_ARPT_CD,
       ORIG_OCCUR_NBR,
       DEST_OCCUR_NBR,
       NOSE_NBR,
       TAIL_NBR,
       to_char(GMT_EST_ARR_DTM,'DD-MON-YYYY hh24:mi:ss') GMT_EST_ARR_DTM
  from (select o.*,
               row_number() over (order by o.gmt_est_arr_dtm desc) rn
          from ops_flt_leg o
          join (select *
                  from ops_flt_leg o
                 where o.flt_nbr = '109'  
                   and o.orig_arpt_cd = 'ORD'
                   and o.dest_arpt_cd = 'ORD'
                   and o.flt_lcl_orig_dt = to_date('30-APR-2008','DD-MON-YYYY')) q1
            on o.nose_nbr  = q1.nose_nbr
           and o.dest_arpt_Cd = q1.orig_arpt_cd
           and o.GMT_EST_ARR_DTM < q1.GMT_EST_DEP_DTM
         where o.active_ind=1)
where rn = 1
CARR_IATA_CD FLT_NBR FLT_LCL_ORIG_DT           ORIG_ARPT_CD SCHED_LEG_NBR          DEST_ARPT_CD ORIG_OCCUR_NBR         DEST_OCCUR_NBR         NOSE_NBR TAIL_NBR GMT_EST_ARR_DTM              
UA           819     30-APR-2008 00:00         EWR          1                      ORD          0                      0                      5688              30-APR-2008 13:36:00         
1 rows selected

Similar Messages

  • How to Achieve this in SQL Query?

    How to Achieve this ?
    I have a table with numeric value populated like this
    create table random_numeral (numerals Number(10));
    insert into random_numeral values (1);
    insert into random_numeral values (2);
    insert into random_numeral values (3);
    insert into random_numeral values (4);
    insert into random_numeral values (5);
    insert into random_numeral values (6);
    insert into random_numeral values (56);
    insert into random_numeral values (85);
    insert into random_numeral values (24);
    insert into random_numeral values (11);
    insert into random_numeral values (120);
    insert into random_numeral values (114);
    Numerals
    1
    2
    3
    4
    5
    6
    56
    85
    24
    11
    120
    114
    I want to display the data as follows
    col1 / col2 / col3
    1 / 2 / 3
    4 / 5 / 6
    11 / 24 / 56
    85 / 114 / 120
    Can anyone Help me?

    I hope there might be some simple way to do this and waiting for experts to reply.
    Try the below query.
    SQL> select * from random_numeral;
      NUMERALS
             1
             2
             3
             4
             5
             6
            56
            85
            24
            11
           120
      NUMERALS
           114
           100
           140
    14 rows selected.
    SQL> select a.numerals ||' / '||b.numerals||' / '||c.numerals from
      2          (select numerals,rownum rn1 from
      3          (
      4              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
      5              from random_numeral
      6          )
      7          where rn=1) a,
      8          (select numerals,rownum rn1 from
      9          (
    10              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    11              from random_numeral
    12          )
    13          where rn=2) b,
    14          (select numerals,rownum rn1 from
    15          (
    16              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    17              from random_numeral
    18          )
    19          where rn=0) c
    20  where   a.rn1=b.rn1(+)
    21  and b.rn1=c.rn1(+)
    22  /
    A.NUMERALS||'/'||B.NUMERALS||'/'||C.NUMERALS
    1 / 2 / 3
    4 / 5 / 6
    11 / 24 / 56
    85 / 100 / 114
    120 / 140 /
    SQL>Cheers,
    Mohana

  • How to achieve this photographic slide display/navigation

    Hi,
    I would like to know how to achieve the following:
    1. Go to
    http://www.corneliaadams.com/
    & then click on 'michael mundy' link. this opens up a page with
    a slideshow of photographs that i really love. I have very basic
    knowledge of scripting ,a nd i usually achieve my goals by
    modifying flas that i have seen or by following tutorials (as
    opposed to writing it myself). the great thng about the above
    version is taht the images slide to an exact position when you
    click on the forward or back arrows, and they slow down ever so
    slightly just before stopping. Can anyone point me in the right
    directoin with how to achieve this, or offer a tutorial. I am
    really starting from scratch, and would lik eto end up with the
    same clean and professional outcome.
    2. regarding the same above link, when you are at the main
    site, and then you click the michael mundy' link, what is it that
    happens, is it a new html popup page that opens of specified
    dimensions and the embedded swf is set to stretch to maximum
    width/height? or is it a lone swf that pops up (with no html page)?
    or is that impossible?
    Many Many Many thanks in advance,
    Cheska

    I hope there might be some simple way to do this and waiting for experts to reply.
    Try the below query.
    SQL> select * from random_numeral;
      NUMERALS
             1
             2
             3
             4
             5
             6
            56
            85
            24
            11
           120
      NUMERALS
           114
           100
           140
    14 rows selected.
    SQL> select a.numerals ||' / '||b.numerals||' / '||c.numerals from
      2          (select numerals,rownum rn1 from
      3          (
      4              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
      5              from random_numeral
      6          )
      7          where rn=1) a,
      8          (select numerals,rownum rn1 from
      9          (
    10              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    11              from random_numeral
    12          )
    13          where rn=2) b,
    14          (select numerals,rownum rn1 from
    15          (
    16              select numerals,mod(row_number() over(partition by 1 order by numerals),3)
    17              from random_numeral
    18          )
    19          where rn=0) c
    20  where   a.rn1=b.rn1(+)
    21  and b.rn1=c.rn1(+)
    22  /
    A.NUMERALS||'/'||B.NUMERALS||'/'||C.NUMERALS
    1 / 2 / 3
    4 / 5 / 6
    11 / 24 / 56
    85 / 100 / 114
    120 / 140 /
    SQL>Cheers,
    Mohana

  • How to achieve this?

    Hi Friends,
    I'm facing one strange problem. Not able to figure it out how to get it. Basically, not able to identify a particular window to let oracle understand how to behave.
    Let's find the problem ->
    Oracle Version ->
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> And, input data ->
    with tt
    as
          select 'SAP_ALL' sap_type,'' sap_det_type,1 s_no from dual union all
          select '','Dialog',2 from dual union all
          select '','Service',3 from dual union all
          select '','System',4 from dual union all
          select '','Communication',5 from dual union all
          select '','Reference',6 from dual union all
          select 'SAP_NEW','',7 from dual union all
          select '','Dialog',8 from dual union all
          select '','Service',9 from dual union all
          select '','System',10 from dual union all
          select '','Communication',11 from dual union all
          select '','Reference',12 from dual union all
          select 'SAP_FIR_EMER','',13 from dual union all
          select 'SAP_ALL','',14 from dual union all
          select '','Dialog',15 from dual union all
          select '','Service',16 from dual union all
          select '','System',17 from dual union all
          select '','Communication',18 from dual union all
          select '','Reference',19 from dual union all
          select 'SAP_NEW','',20 from dual union all
          select '','Dialog',21 from dual union all
          select '','Service',22 from dual union all
          select '','System',23 from dual union all
          select '','Communication',24 from dual union all
          select '','Reference',25 from dual union all
          select 'SAP_FIR_EMER','',26 from dual
    select *
    from tt;And, the input data look like ->
    SAP_TYPE     SAP_DET_TYPE        S_NO
    SAP_ALL                             1
                 Dialog                 2
                 Service                3
                 System                 4
                 Communication          5
                 Reference              6
    SAP_NEW                             7
                 Dialog                 8
                 Service                9
                 System                10
                 Communication         11
                 Reference             12
    SAP_FIR_EMER                       13
    SAP_ALL                            14
                 Dialog                15
                 Service               16
                 System                17
                 Communication         18
                 Reference             19
    SAP_NEW                            20
                 Dialog                21
                 Service               22
                 System                23
                 Communication         24
                 Reference             25
    SAP_FIR_EMER                       26And, expected output ->
    SAP_TYPE     SAP_DET_TYPE        S_NO
    SAP_ALL                             1
    SAP_ALL      Dialog                 2
    SAP_ALL      Service                3
    SAP_ALL      System                 4
    SAP_ALL      Communication          5
    SAP_ALL      Reference              6
    SAP_NEW                             7
    SAP_NEW      Dialog                 8
    SAP_NEW      Service                9
    SAP_NEW      System                10
    SAP_NEW      Communication         11
    SAP_NEW      Reference             12
    SAP_FIR_EMER                       13
    SAP_ALL                            14
    SAP_ALL      Dialog                15
    SAP_ALL      Service               16
    SAP_ALL      System                17
    SAP_ALL      Communication         18
    SAP_ALL      Reference             19
    SAP_NEW                            20
    SAP_NEW      Dialog                21
    SAP_NEW      Service               22
    SAP_NEW      System                23
    SAP_NEW      Communication         24
    SAP_NEW      Reference             25
    SAP_FIR_EMER                       26How to achieve this in SQL?
    Thanks in advance for your time.

    Try
    select nvl(sap_type, last_value(sap_type) ignore nulls over (order by s_no)) sap_type
    ,      sap_det_type
    ,      s_no
    from tt
    order by s_no
    ;It should work without the nvl function as well...
    select last_value(sap_type) ignore nulls over (order by s_no) sap_type
    ,      sap_det_type
    ,      s_no
    from tt
    order by s_no
    ;Edited by: BobLilly on Jun 20, 2012 3:11 PM

  • How to achieve this tree table (displaying/modifying non leaf level details) ?? Image inside

    Region
    location
    Dept
    Budget Available
    Allot Budget
    Unused Budget
    Decision for unused budget
    US
    200$
    User Input
    NY
    100$
    User Input
    CA
    100$
    User Input
    HR
    50$
    User Input
    IT
    50$
    User Input
    ---------30$--------
    20$
    LOV
    Add to Location
    Use for Future Project
    Add to Region
    Spend as Bonus
    How to achieve this tree table ?
    My client wants that they should also be able to manage budge at Location or region level not only at the leaf(Dept) level.
    I did a lot of research and finally found out that the details can only printed at the leaf(Dept) level.......
    We can not hard code Region, locations and departments in table rows. When table tree is displayed we will only show all the regions... (US, UK, SA, IND, AUS, CAN,RUS, JPN.... etc..)
    For Example:
    Locations for US (NY, CA, OKH, WC...... etc.)
    Locaitons for UK (SC, ENG, WL..... etc)  and so on......
    Departments for CA (HR, IT, ADMIN, FIN, TRVL, OPRN........ etc. ..)
    Thanks in advance... It will be really great help if I get some breakthrough...
    -Rahul

    Hi,
    what if you add a transient attribute to those view objects? This way you don't need to change the table structure.
    Frank

  • How to achieve this process in SAP SD module??

    Hi,
    I want to know whether this kind of scenario could be achieved in SAP system SD module??
    We have only one material which the value or price is 10000USD, and this material could be only used 5 times. Everytime it is used, it will be goods issued in the system,  and its value will be decreased 2000USD, this means this material will be drawn back into system and its value will be showed as 8000USD.  And next time it will be 6000...4000...2000...0
    After 5 times this kind of process, then this material is no-used any more.
    I just want to know could 'Draw back' and 'decrease 2000USD everytime'  'show 'previous value - 2000' as new value every drawn back time' ....
    how to achieve this in SAP SD system??
    Thank you very much.

    Hi,
    This can be mapped in Foreign trade.You need to use Licensing functionality.Each  time you use it,  it  depreciate by document value.
    Thanks,
    Vrajesh

  • I don't want my Time Capsule to link ti Internet, does anyone know how to achieve this ? Thanks Don

    I don't want my Time Capsule to link to Internet, does anyone know how to achieve this ? Thanks Don

    Don,
    We have no idea how you have your network set up, or what devices other than a Time Capsule that you might have, so it it impossible to provide an answer for you based on what we know at this time.
    Can you provide some details so that we can understand how you have things setup, what devices that you have, etc?
    The Time Capsule does need to connect to the Internet to receive firmware updates from Apple, so you would be missing out on some significant things......like a recent important security update....if you try to configure the Time Capsule to connect in the way that you ask about.
    Backups will not be "automatic" if you configure the Time Capsule without an Internet connection. You will have to manually switch networks whenever you want to back up, and then switch back again to your "other" network for normal use. Quite a hassle for most users, even if it can be done.

  • How to achieve this using UWL

    Hi Friends,
    I have the following requirement for Travel request workflow and Invoice approval workflow. Please let me know how to achieve this.
    While sending a work item to sap inbox we will put the base BO in the task container right so that the approver can open the particular transaction.I need the same functionality in UWL but instead of the BO i need to place some link so that the user can open an iview or webdynpro application. Basically the user dont want to login to SAP GUI he needs everything to be done in Portal itself.
    Do we need to do some settings in tcode SWFVISU for this or do we need to change the associated xml file in UWL to provide the link to iview. Please advice.

    Hi,
    If i understand your requirement correctly, you want to place a link of BO in UWL but don't want that to get to SAP GUI. Right ?
    I think it's possible. We had ECC 6.0 and EP 6.0 with SP 11. And, we had the requirement of showing up the TRIP BO in UWL thru' an iVIEW. We tried the SWFVISU and it didn't work. But, i think this facility has been taken care in later service packs. Pl approach SAP and they should be able to help you out. I'm not sure about the details of the solution SAP provided us, but it worked for us..like there will be a button "Display XXXXXX" which infact opens up your BO in UWL without logging into GUI.
    Hope this helps.
    venu

  • How to achieve this specific drop shadow effect?

    Dear all,
    Does anybody know how to achieve this specific drop shadow effect in InDesign: a step by step instruction, a plugin, etc?
    Regards,
    Kasyan

    Kasyan,
    I generally just use the basic feather. I draw the object with a few clicks of the pen, fill with whatever color, set the tint if desired, then use settings more or less as below.
    Mike

  • How to achieve this Effect?

    Hey everyone i was wondering if you guys had any idea how to achieve this effect in flash.....http://www.youtube.com/watch?v=QftcJtvLr8g

    While you could probably do this in Flash, it is much more simply done using AfterEffects. There's a splendid text tool that can be tortured into effects like this. Have a look at the podcasts from Creative Cow on AfterEffects for some interesting examples.

  • Does anyone know how to achieve this in Photoshop? Any help is appreciated, thanks.

    Hello,
    I'm relatively new to Photoshop so if you know how to do this, please explain by telling me where I click. E.g. File>Open
    Does anyone know how I would achieve this exact effect in Photoshop in the image above (without the circular logo)? The 2 light blue type of effects, one at the top of the image, the one at the bottom of the image. I don't know how to achieve this effect, please show me if you know how. I'm using Photoshop CS5.
    I have looked through hundreds of tutorials, none provide me any clue as to how this is achieved.
    Or does anyone know a tutorial on how this effect is achieved?
    Thank you for your help.

    Yes, it would have been faster and more constructive to point out exactly where to find information rather than scold you.
    Check out the Option bar that one gets under the Menu bar. If it is not showing, go to windows>Options.
    More info: http://helpx.adobe.com/photoshop/using/tools.html#using_the_options_bar
    If you select the brush tool, you will notice a flow value, that you can lower; and a Mode drop down list.
    paint tool options: http://helpx.adobe.com/photoshop/using/painting-tools.html#paint_tool_options
    Set the mode to Linear Dodge, then for the next stroke set it to lighten.
    Blending modes explanations with links about their effects http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-77eba.h tml
    Have fun learning Photoshop!

  • In graph at the a particular value (threshold value) in Y-axis horizontal line have to display like a alert for the user. How to achieve this? (In WebI)

    How to achieve this in WebI?

    Just create a measure for it. Here's an example in E-Fashion:
    This is Sales Revenue for 2006; all I've done is added a new measure called "Target", which is just:
    =900000
    The chart is a combined chart. The Z Axis scale wasn't the same as the Y so I manually changed it to hard coded minimum and maximum values - you get the idea.
    HTH
    NMG

  • Particle effect -how to achieve this kind of effect exactly

    Hello   please help me to achieve this type of flickering particle effect.  how to achieve this in After effect  which is shown at 0.8 sec to 0.11  in the attached link video. http://www.istockphoto.com/stock-video-2682258-hearts.php

    I can't give you the exact settings but you could use Trapcode Particular with a custom particle or CC Particle world. Just turn gravity to 0 and set up a custom particle.
    Your particle layer will be behind the spinning hearts layer. This should get you going in the right direction.

  • How to achieve this OIC Calculation?

    Scenario likes this:
    Two dimensions:
    Dimension#1 Year Target Fulfillment Percentage
    Dimension#2 Discount (Selling Price/ List Price) for each transaction
    Ratetable is based on the two dimensions.
    So the formula is like this:
    Individually, no accumulative
    Input1: Year Target Fulfillment Percentage ( How to achieve this?)
    Input2: Discount (Easy to do)
    Is there anyone has any thought about it? The headache is when calculating the rate for each transactions (different discount), you need to know the whole year Target Fulfillment Percentage.
    帖子经 967311编辑过

    Hi,
    Sorry, I think I understand you now. You cannot do what you want because you cannot use Discoverer percentages to create a percentage based on a grand total from a different column. You can only create the percentages for Category A column based on the grand total for category A.
    To create the percentages that you want you can put the category A and Category B figures on a different row so that you only have one total column and use subtotals to calculate the totals for the categories. You can then create a Discoverer percentage for the total column to give you your category A and B percentages. You may need a row generator to create extra rows for the categories.
    The alternative is to use an analytic function in a calculation to calculate the grand total in the main query. For example:
    gtotal = SUM(Total) OVER ()
    Once you have the grand total you can then create percentage calculations, using:
    Cat A perc = Category A * 100/ gtotal
    Rod West

  • How to achieve this type of Writing

    I finally my Intuos tablet and I been trying to make this type of lettering, but I haven't had no luck. I been messing with the settings of the "Calligraphic" brushes and nothing. If someone out there knows how to achieve this and is willing to share the knowledge I'd be very helpful and I'd appreciate it it very much!
    http://img209.imageshack.us/img209/1186/typevl0.jpg
    Thanks!

    I'm afraid your expectations may be a bit unrealistic. That's not going to automatically happen by merely stroking away with a stylus using a Calligraphic Brush.
    Whether you're using a stylus or a mouse for your input device, that kind of text design is drawn deliberately and carefully with the Pen tool, creating paths along the edges of the glyphs.
    You
    might achieve a rough sketch as a starting point, but even then it would be better (and most probably easier) done by drawing centerline paths with the Pen and applying the Calligraphic Brush to those paths. Better still, start with a pencil sketch, scan it, and just start tracing that with the Pen. Tracing text is excellent practice for learning to use the Pen.
    JET

Maybe you are looking for

  • Managing Multiple iPods on One Computer

    Can I manage three iPods on one computer? One is an iPod Mini and two are Fifth Generation 80 GB iPods, so I need to be able to have at least two different music libraries due to memory space. (Three would be preferable.) Does anyone know if this is

  • Since Update - Mail won't connect to server 50% of the time?

    There have been a few minor glitches since I downloaded the recent update (screen freezes for 2-3 seconds, buttons are non-responsive or overly sensitive), but the most frustrating problem that SEEMS to relate is: About half of the time, when I try t

  • Applications won't install

    For some time now I have been unable to install applications onto my computer[Mac Pro/OS X 10.4]. I've checked the system with the disk utility without any positive result[system did not need repair]. System Updater seems to work when something comes

  • Problems Camera Raw in Trial-PS CC

    Hi folks, just downloaded a trial-version of PS CC and wanted to use the new perspective-straighten-feature of camera raw on a jpg but sadly this feature does not show up. What am I doing wrong? Best, Robert

  • Photoshop CS4 crashes everytime it is opened

    I have have photoshop cs4 installed on this computer for a little over a month now.  Up until today it has run without any problems whatsoever.  For Christmas, I recieved a Wacom Pen and Touch tablet.  I installed it yesterday and had some time to pl