Need a Query for the following Output

I have a table name Table1. some of the data are like the following
EmpCode    ProductCode    Quantity
20006         IMPLSA                  5
20006         LACJDT                 10
20006         LIVLSU                 15
20006         PEPPSU                 11
20006         SAFMTA                 12
20006         SUCFTA                 17
21475         IMPLSA                  2
21475         LACJDT                  7
21475         LIVLSU                  4
21475         PEPPSU                  8
21475         SUCFTA                 12
20409         IMPLSA                 11
20409         LACJDT                 13
20409         LIVLSU                  9
20409         SAFMTA                  7
20409         SUCFTA                  5
21112         IMPLSA                  2
21112         LIVLSU                 18
21112         PEPPSU                 20
21112         SAFMTA                 22
21112         SUCFTA                 15
Here no of EmpCode and ProductCode are not fixed.
And i need the output like this
ProductCode    20006    21475    20409    21112
IMPLSA                   5           2           11       
2
LACJDT                 10           7           13        0
LIVLSU                 15           4             9      18
PEPPSU                11          8              0      20
SAFMTA                12          0              7      22
SUCFTA                17        12              5      15
I know that it may be solved by dynamic pivot. but i never write any dynamic pivot query.
So Please Help me.

DECLARE @EmpList varchar(max),@SQL varchar(max)
SELECT @EmpList = STUFF((SELECT DISTINCT ',[' + CAST(EmpCode AS varchar(15)) + ']'
FROM Table1
ORDER BY ',[' + CAST(EmpCode AS varchar(15)) + ']'
FOR XML PATH('')),1,1,'')
SET @SQL='SELECT ProductCode,' + @EmpList +
' FROM table1 t
PIVOT(SUM(Quantity) FOR EmpCode IN (' + @EmpList + '))p'
EXEC (@SQL)
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • How to write selection Query for the following requirment.

    Hi All,
    I am new to ABAP, I need a help ,
    I need to select all plants(WERKS) from MARC at Plant/Material level,
    then I need to take all sales organozation(VKORG) from T001w,
    then I need the company code(BUKRS) from TVKO based on VKORG,
    then I need the currency key(WAERS) from T001 based on BUKRS,
    Can any one help me in writing selection Query for the same?
    Thanks All,
    Debrup.

    Hi,
    Its easy for you if you learn SELECT with JOIN to complete your task. So SEARCH the forum with SELECT statement and you will get a lot of examples using which you can write your own.
    If you struck up anywhere revert back.
    Regards
    Karthik D

  • Need Mapping logic for the following scenario

    Hi everyone,
    I need a mapping logic for the following scenario.
    For the same order no with same material no, the quantity should be summed and only one idoc should be created.
    For the same order no with different material no, no need to sum the quantity and only one idoc should be created.
    For example:
    Source Structure:
    Ord No      Mat No      QTY
    12               1               2
    13               1               3
    13               2               1
    12               2               4
    15               1               5
    14                3              7
    12               1              6
    Target Structure:
    Ord No      Mat No      QTY
    12               1               8
    12               2               4
    13               1               3
    13               2               1
    14               3              7
    15               1              5
    Thanks in Advance

    Try the graphical mapping as shown below using concat with a space as delimite and UDF to split the value again by space.
    1. Idoc node
    (RootContext)
    OrdNo
         |concat[ ] -> sort[asending] -> SplitByValue -> collapseContexts -> Idoc
    MatNo                case sensitive    [ValueChange]                              
    (RootContext)
    2. OrdNo
    OrdNo(RC)
         |concat[ ] -> sort[asending] ->SplitByValue->collapseContexts->SplitByVale-> UDF to fetch ordno  -> OrdNo
    MatNo(RC)           case sensitive    [ValueChange]                [eachValue]   (return var1.split(" ")[0];)
    3. MatNo
    OrdNo(RC)
         |concat[ ] -> sort[asending] -> SplitByValue ->collapseContexts->SplitByVale-> UDF to fetch ordno  -> MatNo
    MatNo(RC)              case sensitive    [ValueChange]                  [eachValue]   (return var1.split(" ")[1];)
    4. Qty
                   [asending,case sensitive]               
                   --  sortByKey -----> formatByExample -> sum ->Qty
    OrdNo(RC)           |          |          ^          
         |concat[ ] -> |            Qty(RC)          |
    MatNo(RC)           |                |     
                   --sort[asending]-> SplitByValue
                       case sensitive    [ValueChange]
    Regards,
    Sunil Chandra

  • Need function modules for the following...

    Hello experts,
    Is there an function module that I can use for:
    1. get the last date for a given year
    2. get the exchange rate for a given document number in a span of 5 years -
    for example, I need to get the exchange rate of doc. number 0000000123
    for the year 2000, 2001, 2002, 2003, 2004 and 2005(maximum of 5 years)   
    Help would be greatly appreciated.
    Again, thank you guys and take care!

    Hi,
    To use CALCULATE_EXCHANGE_RATE_N, you just have to pass the required parameters like foreign amount/currency and local amount/currency, instead you can query the table TCURR for the same data, remember to convert the 'DATE' to internal format before sending it in to the fm/table, you can refer the following code, this might help,
    WRITE  V_date TO  LV_DATUM USING EDIT MASK '__.__.____'.
         CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
           EXPORTING
             INPUT         = LV_DATUM
          IMPORTING
            OUTPUT        = LV_DATUM.
    Retrieve the Exchange rate from Custom table for the Exchange
            select ukurs from tcurr
            into tcurr-ukurs
            up to 1 rows
            where kurst = 'M'
            and   fcurr = komk-waerk
            and   tcurr = komk-HWAER
            and   gdatu >= LV_DATUM.
            endselect.
    Rgds,

  • How to write a query for the following issue

    Hello,
    I would like to write a query to display the result in the following format 
    Item
    Categort1
    Categort2
    Categort3
    Categort4
    Categort5
    Categort6
    Min
    Max
    Avg
    Min
    Max
    Avg
    Min
    Max
    Avg
    Min
    Max
    Avg
    Min
    Max
    Avg
    Min
    Max
    Avg
    01
    02
    03
    04
    For every item for the category i need to find Min,Max and Avg from the Value column
    Table structure is as follows
    ID
    Item Id
    Item
    Category
    value
    1
    01
    A
    Categort1
    1
    2
    01
    A
    Categort1
    2
    3
    01
    A
    Categort1
    3
    4
    02
    B
    Categort2
    7
    5
    02
    B
    Categort2
    8
    6
    03
    C
    Categort3
    6
    7
    04
    D
    Categort4
    12
    8
    04
    D
    Categort4
    14

    SELECT ItemID,
    MIN(CASE WHEN Category = 'Categort1' THEN value END) AS Min_category1,
    MAX(CASE WHEN Category = 'Categort1' THEN value END) AS Max_category1,
    AVG(CASE WHEN Category = 'Categort1' THEN value END) AS Avg_category1,
    MIN(CASE WHEN Category = 'Categort2' THEN value END) AS Min_category2,
    MAX(CASE WHEN Category = 'Categort2' THEN value END) AS Max_category2,
    AVG(CASE WHEN Category = 'Categort2' THEN value END) AS Avg_category2,
    MIN(CASE WHEN Category = 'Categort6' THEN value END) AS Min_category6,
    MAX(CASE WHEN Category = 'Categort6' THEN value END) AS Max_category6,
    AVG(CASE WHEN Category = 'Categort6' THEN value END) AS Avg_category6
    FROM Table
    GROUP BY ItemID
    The format can be achieved using tools like SSRS
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How can i write the query for the below output

    Hi,
    I need this kind of output for my report.Please suggest me asap.It's urgent.
    Item Description category subinvcode A B C D....................(All Subinventories)
    1 AAAA FFF 5 8 (Quantity Values for the corresponding subinventories)
    Plz help.

    I still don't have a clue what you're going on about, but here's an example of pivoting that I've knocked up based on your scatty bit of data which may give some hint to you as to what to do....
    SQL> create table inventory as
      2  select 1 as item_id, '0016K8731' as item_desc from dual union
      3  select 2, '0014R0181' from dual;
    Table created.
    SQL>
    SQL> create table sub_inventory as
      2  select 1 as item_id, 'FG_IBM' as sub_item_id, 5 as quantity from dual union
      3  select 1, 'FG_HUN', 4 from dual union
      4  select 1, 'FG_PSA', 12 from dual union
      5  select 2, 'FG_IBM', 1 from dual union
      6  select 2, 'FG_HUN', 17 from dual union
      7  select 2, 'FG_PSA', 3 from dual;
    Table created.
    SQL>
    SQL> select item_desc, max(fg_ibm) as fg_ibm, max(fg_hun) as fg_hun, max(fg_psa) as fg_psa
      2  from (
      3    select i.item_desc,
      4           decode(s.sub_item_id, 'FG_IBM', quantity, null) as fg_ibm,
      5           decode(s.sub_item_id, 'FG_HUN', quantity, null) as fg_hun,
      6           decode(s.sub_item_id, 'FG_PSA', quantity, null) as fg_psa
      7    from inventory i, sub_inventory s
      8    where s.item_id = i.item_id
      9    )
    10  group by item_desc
    11  /
    ITEM_DESC     FG_IBM     FG_HUN     FG_PSA
    0014R0181          1         17          3
    0016K8731          5          4         12
    SQL>

  • Need calculation sum for the following expression

    Hi All,
    Please help me in doing SUM to the following expression.
    How to SUM the following expression. Please reply me ASPA.
    =iif(Fields!AdhocHourCharge.Value*Fields!ChargedAdhocRate.Value+Fields!RoutineHoursCharge.Value*Fields!ChargedRoutineRate.Value<>0.00,(Fields!AdhocHourCharge.Value*Fields!ChargedAdhocRate.Value+Fields!RoutineHoursCharge.Value*Fields!ChargedRoutineRate.Value),0)

    Hi Rasul,
    if all fields are having numerical data than use below expression:
    =Sum(iif((Fields!AdhocHourCharge.Value*Fields!ChargedAdhocRate.Value+Fields!RoutineHoursCharge.Value*Fields!ChargedRoutineRate.Value)<>0.00,(Fields!AdhocHourCharge.Value*Fields!ChargedAdhocRate.Value+Fields!RoutineHoursCharge.Value*Fields!ChargedRoutineRate.Value),0))
    otherwise you may have some problem with your field's datatype on the RDL as any field is in string format rather than numerical format so for this you need to use CINT function to convert them in numerical format as:
    =Sum(iif((Cint(Fields!AdhocHourCharge.Value)*Cint(Fields!ChargedAdhocRate.Value)+Cint(Fields!RoutineHoursCharge.Value)*Cint(Fields!ChargedRoutineRate.Value))<>0.00,(Cint(Fields!AdhocHourCharge.Value)*Cint(Fields!ChargedAdhocRate.Value)+Cint(Fields!RoutineHoursCharge.Value)*Cint(Fields!ChargedRoutineRate.Value)),0))
    I hope it will work.
    Live life with joy and happiness! Avanish

  • SQL query for the following reqd.

    Hello Everyone,
    Say I have a table department with the following structure:
    DEPTID NAME PARENT_DEP
    1020 Corp Client
    2020 Corp Sales 1020
    2030 Corp Sales1 1020
    3010 Mkt and sales
    4010 Corp G & A Acct 2020
    5010 Finance and Mkt 3010
    What we find here is that department 4010 has its parent as 2020 and department 2020 has parent as 1020. The department 1020 is the root department which doesnot have any parent so its parent_dep value is NULL.
    I want to write a SQL statement, which will list all the records starting from the child record 4010 and tracing back to list its parent record and so on till the root record is reached. The result should look like this(neednot be in this order as shown below)
    DEPTID NAME PARENT_DEP
    1020 Corp Client
    2020 Corp Sales 1020
    4010 Corp G & A Acct 2020
    Can this be done using a single query.. if so can anyone help me ..... I want this to be done in SQL not in PLSQL.
    Thanks
    null

    select deptid, dname, p_dno from dept
    start with deptid=4010
    connect by deptid = prior p_dno
    order by level desc
    Hope this helps...

  • Hi friends need your help for the following !

    How to populate an idoc type.
    Is it only by writting a report program like
    "master idoc distribute"  or also by NACE.
    When i am using NACE then i must have the baic idoc type cretaed  with ALE configured ??

    Hi,
      It is not always by using NACE. If ur making use of standard IDOC types Like
    ORDERS05
    MATMAS06
    DEBMAS etc for the salesorder and purchase orders etc then u can go for the
    T.codes : BD10 for MATMAS05,
                   BD12 for CREMAS06,
                   BD14 for DEBMAS04 for the MM01, VD01 and MK01/XK01  T.codes Respectively.
    If u r dealing with NACE then u should know the basic idoc for which u r using NACE and Messgae type .
    There u will cofigure and assign the OUTPUTYPE and assign those outputtype to the respective T.code.
    Regards.

  • I need standard programs for the following

    hi,
        i need standard programs (if any) available for these..
    Incomplete Order for CUSt & Mat   
    Display Order On Hand
    Deliveries To Be Confirm
    Sales Order On Hand
    helpful replies will be rewarded

    Hi Amit,
    For deliveries check the followings txn :
    VL10A                Sales Orders Due for Delivery             
    VL10B                Purchase Orders Due for Delivery            
    VL10C                Order Items Due for Delivery                                
    VL10D                Purch. Order Items due for Delivery       
    VL10E                Order Schedule Lines due for Deliv.       
    VL10F                PurchOrd Schedule Lines due for Dlv.      
    VL10G                Documents due for Delivery                
    VL10H                Items Due for Delivery                    
    VL10I                Schedule Lines due for Delivery           
    VL10U                Cross-System Deliveries                   
    Check Also :
    VA05                 List of Sales Orders               
    VA07                 Compare Sales - Purchasing (Order) 
    VA08                 Compare Sales - Purchasing (Org.Dt.)

  • I Need a Report For the following Specifications

    SALESORDER REPORT
    TABLES : VBAK,
                       VBAP,
                        KNA1.
    INPUT FIELDS :  Sales Document  (RANGE)----
      (vbak-vbeln)
                                  Document Date (Date Received/Sent).(RANGE)----
    (vbak-audat)
                                  Sold-to party (PARAMETERS)----
    (kna1-kunnr)
    O/P FIELDS :
    Sales Document----
    (vbak-vbeln)
    Document Date (Date Received/Sent)----
    (vbak-audat)
    Sales Document Item----
    (vbap-posnr)
    Short text for sales order item----
    (vbap-arktx)
    Material Number----
    (vbap-matnr)
    Cumulative order quantity in sales units----
      (VBAP-KWMENG)
    Requested delivery date----
    (VBAP-CMKUA)
    CUSTMER NUMBER(Sold-to party) -
    (kna1-kunnr)
    CUSTMER NAME -
    (KNA1-NAME1)
    CUSTMER CONTRY----
    (KNA1-LAND1)
    Net Value of the Sales Order in Document Currency----
    (VBAK-NETWR)
    Sales Organization----
    (VBAK-KORG)
    Name of Person who Created the Object----
    (VBAK-ERNAM)
    ================================================================================
    VBAK :
                                                                                    (KNA1-KUNNR)
    Sales Document----
    (VBAK-VBELN)
    Document Date (Date Received/Sent)----
      (VBAK-AUDAT)
      Net Value of the Sales Order in Document Currency----
    (VBAK-NETWR)
    Sales Organization----
    (VBAK-KORG)
    Name of Person who Created the Object----
    (VBAK-ERNAM)
    VBAP:
    Sales Document Item----
    (VBAP-POSNR)
    Short text for sales order item----
    (VBAP-ARKTX)
    Material Number----
    (VBAP-MATNR)
    Cumulative order quantity in sales units----
      (VBAP-KWMENG)
    Requested delivery date----
    (VBAP-CMKUA)
    KNA1:
    CUSTMER NUMBER(Sold-to party) -
    (KNA1-KUNNR)
    CUSTMER NAME -
    (KNA1-NAME1)
    CUSTMER CONTRY----
    (KNA1-LAND1)
    ====================================================================================================
    TABLES : VBAK,
    VBAP,
    KNA1.
    INPUT FIELDS : Sales Document (RANGE)
    Document Date (Date Received/Sent).(RANGE)
    Sold-to party (PARAMETERS)
    O/P FIELDS :
    Sales Document ....... VBAK-VBELN
    Document Date (Date Received/Sent).....VBAK-AUDAT
    CUSTMER NUMBER(Sold-to party)................VBAK-KUNNR
    Net Value of the Sales Order in Document Currency.....VBAK-NETWR
    Sales Organization......................................................VBAK-KORG
    Name of Person who Created the Object..................VBAK-ERNAM
    Sales Document Item ...............VBAP-POSNR
    Short text for sales order item..........VBAP-ARKTX
    Material Number.............................VBAP-MATNR
    Cumulative order quantity in sales units............VBAP-KWMENG
    Requested delivery date.................VBAP-CMKUA
    CUSTMER NAME..................KNA1-NAME1
    CUSTMER CONTRY..........................KNA1-LAND1

    Here is the sample code, please make the necessary modifications...
    REPORT ZTEST LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
    HEADING.
    *TABLES DECLARATION
    TABLES : KNA1, VBAK, VBAP.
    *SELECT OPTIONS
    SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
    *INITIALIZATION
    INITIALIZATION.
    CUST_NO-LOW = '01'.
    CUST_NO-HIGH = '5000'.
    CUST_NO-SIGN = 'I'.
    CUST_NO-OPTION = 'BT'.
    APPEND CUST_NO.
    *SELECTION SCREEN VALIDATION
    AT SELECTION-SCREEN ON CUST_NO.
    LOOP AT SCREEN.
    IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
    MESSAGE E001(ZTJ1).
    ENDIF.
    ENDLOOP.
    *BASIC LIST SELECTION
    START-OF-SELECTION.
    SELECT KUNNR NAME1 ORT01 LAND1 INTO
    (KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
    FROM KNA1
    WHERE KUNNR IN CUST_NO.
    WRITE:/1 SY-VLINE,
    KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    KNA1-NAME1 UNDER 'NAME',
    61 SY-VLINE,
    KNA1-ORT01 UNDER 'CITY',
    86 SY-VLINE,
    KNA1-LAND1 UNDER 'COUNTRY',
    103 SY-VLINE.
    HIDE: KNA1-KUNNR.
    ENDSELECT.
    ULINE.
    *SECONDARY LIST ACCESS
    AT user-command.
    IF SY-UCOMM = 'IONE'.
    PERFORM SALES_ORD.
    ENDIF.
    IF SY-UCOMM = 'ITWO'.
    PERFORM ITEM_DET.
    ENDIF.
    *TOP OF PAGE
    TOP-OF-PAGE.
    FORMAT COLOR 1.
    WRITE : 'CUSTOMER DETAILS'.
    FORMAT COLOR 1 OFF.
    ULINE.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'NAME',
    61 SY-VLINE,
    63 'CITY',
    86 SY-VLINE,
    88 'COUNTRY',
    103 SY-VLINE.
    ULINE.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR SECONDARY LISTS
    TOP-OF-PAGE DURING LINE-SELECTION.
    *TOP OF PAGE FOR 1ST SECONDARY LIST
    IF SY-UCOMM = 'IONE'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'SALES ORDER DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'CUSTOMER NO.',
    16 SY-VLINE,
    18 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'DATE',
    60 SY-VLINE,
    62 'CREATOR',
    85 SY-VLINE,
    87 'DOC DATE',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *TOP OF PAGE FOR 2ND SECONDARY LIST
    IF SY-UCOMM = 'ITWO'.
    ULINE.
    FORMAT COLOR 1.
    WRITE : 'ITEM DETAILS'.
    ULINE.
    FORMAT COLOR 1 OFF.
    FORMAT COLOR 3.
    WRITE : 1 SY-VLINE,
    3 'SALES ORDER NO.',
    40 SY-VLINE,
    42 'SALES ITEM NO.',
    60 SY-VLINE,
    62 'ORDER QUANTITY',
    103 SY-VLINE.
    ULINE.
    ENDIF.
    FORMAT COLOR 3 OFF.
    *END OF PAGE
    END-OF-PAGE.
    ULINE.
    WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
    SY-PAGNO.
    SKIP.
    *& Form SALES_ORD
    *& FIRST SECONDARY LIST FORM
    FORM SALES_ORD .
    SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
    (VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
    FROM VBAK
    WHERE KUNNR = KNA1-KUNNR.
    WRITE:/1 SY-VLINE,
    VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
    16 SY-VLINE,
    VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
    40 SY-VLINE,
    VBAK-ERDAT UNDER 'DATE',
    60 SY-VLINE,
    VBAK-ERNAM UNDER 'CREATOR',
    85 SY-VLINE,
    VBAK-AUDAT UNDER 'DOC DATE',
    103 SY-VLINE.
    HIDE : VBAK-VBELN.
    ENDSELECT.
    ULINE.
    ENDFORM. " SALES_ORD
    *& Form ITEM_DET
    *& SECOND SECONDARY LIST FORM
    FORM ITEM_DET .
    SELECT VBELN POSNR KWMENG INTO
    (VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
    FROM VBAP
    WHERE VBELN = VBAK-VBELN.
    WRITE : /1 SY-VLINE,
    VBAP-VBELN UNDER 'SALES ORDER NO.',
    40 SY-VLINE,
    VBAP-POSNR UNDER 'SALES ITEM NO.',
    60 SY-VLINE,
    VBAP-KWMENG UNDER 'ORDER QUANTITY',
    103 SY-VLINE.
    ENDSELECT.
    ULINE.
    ENDFORM. " ITEM_DET
    Regards,
    Pavan.

  • I need user exits for the following criteria

    when cancelling the billing document using the transaction VF11 ,i want to know the user exits when saving the cancelled document in VF11.
    Note:At the saving time billing block has to change.

    Hi Amit,
    For deliveries check the followings txn :
    VL10A                Sales Orders Due for Delivery             
    VL10B                Purchase Orders Due for Delivery            
    VL10C                Order Items Due for Delivery                                
    VL10D                Purch. Order Items due for Delivery       
    VL10E                Order Schedule Lines due for Deliv.       
    VL10F                PurchOrd Schedule Lines due for Dlv.      
    VL10G                Documents due for Delivery                
    VL10H                Items Due for Delivery                    
    VL10I                Schedule Lines due for Delivery           
    VL10U                Cross-System Deliveries                   
    Check Also :
    VA05                 List of Sales Orders               
    VA07                 Compare Sales - Purchasing (Order) 
    VA08                 Compare Sales - Purchasing (Org.Dt.)

  • Need a solution for the following error code on AIR-AP1231G-A-K9

    Dec 1 10:05:46.243: %DOT11-7-AUTH_FAILED: Station 0018.de89.d720 Authentication failed

    Hi
    Here you are the explanation:
    The specified station has failed authentication.
    The most common reasons are the user has entered the wrong password or the radius server maybe unavailable.
    Hope this helps

  • Solution needed for the following Requirement..

    Hi Friends,
    Need an answer for the following . Its for Voluntary Time Recording...
    1) Maintain IT0007 with the percentage of employment for both part time and full time employees.
    2) The Max Flexi-time for part-time and full-time employees is 37.5/40 hours per week.
    3) Maintain attendance infotype.
    4) Notification to be sent to the manager once the flexi-time reaches a limit of +15/-15 hours per week. This has to be done through workflow.
    5) For the fulltime employees, the flexitime applicable is only +15 as they will maintain absence quota.
    6) Once the request is  approved ,  the flexi-time data has to get save in the database.
    7) In the quota overview, the daily view is to be removed. The time accounts detail should not be there. The only relevant columns to be displayed are Key Date(Default is current date), Type(Flexitime) and Current Balance(in hours)
    If you can please let me know of the configuration changes and workflow changes too...
    Thanks,
    Kumar

    Moderator message - Please do not post your requirements and ask the forum to do your work for you.
    post locked

  • What do the upgrade scripts do for the following cases?

    Hi,
    I have got the compare reports between 9.0 vanilla(Source) and 8.4 copy of production(Target).
    it has the following properties.
    source---------target--------action-----upgrade
    changed-----*changed-------copy-------yes
    changed-----*unchanged----copy-------yes
    unchanged---*changed------copy--------yes
    unchanged----*unchanged--copy--------yes
    which means in all the above cases the customizations will be overridden.
    I have read somewhere that as a developer i need to look for the following case and re-apply the customizations
    source---------target--------action-----upgrade
    changed-----*changed-------copy-------yes
    my question is that, when we run the 9.0 upgrade scripts on 8.4 copy of production, will it not override the customizations for the following cases?
    source---------target--------action-----upgrade
    unchanged---*changed------copy--------yes
    unchanged----*unchanged--copy--------yes
    Please help me,
    Thank you.
    Edited by: user609854 on Dec 8, 2008 6:20 PM

    If you are talking about compare reports during Initial move of Upgrade --Yes , objects from the source will come over and based on user's or you(in this case) have to re-apply them back.At later stages of the upgrade pass  you have to re-apply them eventually if you want to opt with old or delivered custom or pure custom psoft objects.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Automator Workflow to export Numbers documents in PDF format

    Does anyone know of any automator workflow to export Numbers documents in PDF format? I tried this program: Convert to PDF 1.2 http://www.apple.com/downloads/macosx/automator/converttopdf_mauriziominelli.htm l But it gives an error.

  • Enable RRAS LAN Routing via Powershell

    On a fresh install of windows 2012 R2 if I run the following: Install-WindowsFeature -Name "Routing" Install-WindowsFeature -Name "RSAT-RemoteAccess-Powershell" Add-BgpRouter ... I receive the error: LAN Routing not configured. Please ensure RasRouti

  • Weird Tags in Story Editor Breaking HTML export

    Some of my manuscript files will not export to html. After further exploration, we found that in story editor mode, there are weird arrow type characters around text (ie, superscript numbers or within references)  that seem to be the problem. Once th

  • Saving adjustment layers with layer mask

    Hello - I need to be able to save a curves adjustment layer WITH its layer mask. I have written a longish automatic applescript to process image files that are all identical in pixel dimension. Part of the script relies on Photoshop, where a number o

  • Display address omitted postal code for all countries in sapscript

    Hi everyone Does anyone know how to omit the postal code for all countries(eg. US ) when displaying address in sapscript form? I want to avoid to display postal code even the country is US. coz my firm doesn't want to show postal code..... Also, how