Work Schedule Rules and Period Work Schedules

Is it possible to have one work schedule rule have different period work schedules. We have several different period work schedules that work the same amount of hours. The only difference between them is that the days for the schedules are different. However, the total amount of hours worked in the week are the same. If we assign the period work schedules that have the same hours to one work schedule rule we do not have to create and maintain several work schedule rules for each different work schedule.
Edited by: chawkins on Jan 6, 2011 6:40 PM

A Work Schedule Rule is created for an Employee SubGroup Grouping, Calendar Grouping and Personnel SubArea Grouping, using a single Periodic Work Schedule.
So, if you have 100 PWS, you will need at least 100 Work Schedule Rules, and probably more since some PWS will probably be used by more than one combinations of ESG/Calendar/PSA Groupings.

Similar Messages

  • Define Work Schedule Rule when Period Work Schedules are created

    Experts:
    I am trying to configure a DWS and PWS for a given plant.  I am aware from a different network thread that this is a 11 step process.  I have created the following:
    PSG= 03
    DWS = 1
    Breaks were defined
    Created DWS of 1stI, 2ndI, and WNDI  (ist shift, 2nd shift, and weekend shift)
    Verified day types are correct
    Created the following period work schedules:
         WK     1     2     3     4     5     6     7
    1STI     1     1STI     1STI     1STI     1STI     1STI     FREI     FREI
    1STI     2     1STI     1STI     1STI     1STI     1STI     FREI     FREI
    1STI     3     1STI     1STI     1STI     1STI     1STI     FREI     FREI
    1STI     4     1STI     1STI     1STI     1STI     1STI     FREI     FREI
    2NDI     1     2NDI     2NDI     2NDI     2NDI     FREI     FREI     FREI
    2NDI     2     2NDI     2NDI     2NDI     2NDI     FREI     FREI     FREI
    2NDI     3     2NDI     2NDI     2NDI     2NDI     FREI     FREI     FREI
    2NDI     4     2NDI     2NDI     2NDI     2NDI     FREI     FREI     FREI
    WKDI     1     FREI     FREI     FREI     FREI     WNDI     WNDI     WNDI
    WKDI     2     FREI     FREI     FREI     FREI     WNDI     WNDI     WNDI
    WKDI     3     FREI     FREI     FREI     FREI     WNDI     WNDI     WNDI
    WKDI     4     FREI     FREI     FREI     FREI     WNDI     WNDI     WNDI
    How do I define the rules to determine variant for monthly work schedule rule generation??
    I am aware that X stands for that it is relevant to the calendar and that 1 = Monday - 7 = Sunday.
    Can someone help  define the work schedule rules I need and what each code means??
    Thanks,
    Bobbie

    Hi Bobbie,
    1 . By Using variants you can make changes in normal working timings.....and these changes made in Table         V_T550X...conditions can be applied by using
             .........  Holiday Class
             .........  Holiday Class for the next day
             .........  Weekday
             .........   Variant
    Holiday Classes :
    Blank stands for -
    Not a public Holiday
    1 stands for        -
    Public Holiday
    2 Stands for       -
    Half day Holiday
    3-9 stands for    -
    Customer specific Public holiday Classes
    Variants of daily work schedule Selection rule 01 stands for :
       --- Standard variant  Blank
       --- variants A for work on Fridays
    Variants of daily work schedule Selection rule 01 stands for :
       --- Standard variant Blank
       --- Variant A Work on Friday
       --- Variant B work on Public Holidays of Public Holiday Class 2
       --- Variant C work on days preceding Public Holiday Class 4
    For ex: if ur company wants to treat second week of  Saturday is half day holiday for employees..then u can do this by fulfilling the fallowing conditions..
                ...  Select holiday class 2  in Holiday Class field by putting X
                ...   Holiday Class for the next day select each holiday class
                ---  Weekday - select workday as Saturday (6)
    ......finally create daily work schedule and attach the daily work schedule variant  to Daily work schedule (V- T550X to V-T550A)..then u assign ur daily work schedule to period work schedule,period work schedule to work schedule....
    .......You can configure these  rules for any type of weekdays or weekends ...its depends on the requirement of client to client
    ........X represent applicability of holiday class in Holiday class and Holiday class next day & weekday...
    2 . Come to selection rule.....In selection rule u can treat ur holiday class by using day type...ex ....if u want ur managerial category people won't get paid if they work on public holidays or Sunday...u can do this by using selection rules...
    3 .  Personnel Time Management :
            --- Work Schedules
                            --- Define Public Holiday Class
    Personnel sub area grouping for the work schedules and daily work schedule
      daily work schedule  .... Break schedule , Define rules for variants & daily work schedule
    Define Period work schedule
    Day types - Define day types,selection rules & Special days
    Work schedule rules and work schedule
               .... Define employee sub group grouping  and  groupings for public holiday classes
               ....  Set work schedule rules and work schedules           
               .... Generate work schedules
    Please take care of the grouping...
    i think now u could the understand the concept now ....
    Thanks & Regards,
    Avanthika.k

  • Set Work Schedule Rules and Work Schedules

    Hi!
    I have defined the next  Period Work Schedules:
    Grp     PWS     PWS Text     Week     01     02     03     04     05     06     07
    02     TTLM     Turnos Telemando     001     M7     M7     T14A     T14A     N22     N22     LIBR
    02     TTLM     Turnos Telemando     002     LIBR     LIBR     LIBR     LIBR     LIBR     M7     M7
    02     TTLM     Turnos Telemando     003     T14A     T14A     N22     N22     LIBR     LIBR     LIBR
    02     TTLM     Turnos Telemando     004     LIBR     LIBR     LIBR     M7     M7     T14A     T14A
    02     TTLM     Turnos Telemando     005     N22     N22     LIBR     LIBR     LIBR     LIBR     LIBR
    02     TTLM     Turnos Telemando     006     LIBR     M7     M7     T14A     T14A     N22     N22
    02     TTLM     Turnos Telemando     007     LIBR     LIBR     LIBR     LIBR     LIBR     LIBR     M7
    02     TTLM     Turnos Telemando     008     M7     T14A     T14A     N22     N22     LIBR     LIBR
    02     TTLM     Turnos Telemando     009     LIBR     LIBR     LIBR     LIBR     M7     M7     T14A
    02     TTLM     Turnos Telemando     010     T14A     N22     N22     LIBR     LIBR     LIBR     LIBR
    02     TTLM     Turnos Telemando     011     LIBR     LIBR     M7     M7     T14A     T14A     N22
    02     TTLM     Turnos Telemando     012     N22     LIBR     LIBR     LIBR     LIBR     LIBR     LIBR
    03     TCC     Turnos Contac Center     001     M730     M730     M730     M730     M730     LIBR     LIBR
    03     TCC     Turnos Contac Center     002     M8B     M8B     M8B     M8B     M8B     LIBR     LIBR
    03     TCC     Turnos Contac Center     003     M830     M830     M830     M830     M830     LIBR     LIBR
    03     TCC     Turnos Contac Center     004     T14B     T14B     T14B     T14B     T14B     LIBR     LIBR
    03     TCC     Turnos Contac Center     005     T15     T15     T15     T15     T15     LIBR     LIBR
    After, when we set Work Schedule Rules and Work Schedules. Do we need create the same number of rules?
    For instance, in Period Work Schedule, do we need create 12 rules like TTLM_1, TTLM_2, ... TTLM_12?
    Or is enough create only one rule for TTLM?
    Kind regards,
    Julian.

    Hi,
    You need to create 2 Work Schedule rule one with TTLM PWS & second with TCC PWS.
    Rgds,
    Lata

  • DB connect problem,Disp+Work.exe dies and the work processes die on startup

    Dear Experts,
    I am getting the error on SAP startup,Disp+Work.exe dies and the work processes die on startup.
    I found below error in my DEV_W0 trace as below
    *failed to establish conn to np:(local).*
    *C  Retrying without protocol specifier: (local)*
    *C  Provider SQLNCLI could not be initialized. See note #734034 for more information.*
    *C  Using provider SQLOLEDB instead.*
    *C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']*
    *C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.*
    *C  Procname: [ExecuteAndFlush - no proc]*
    But i could see the user 'pec' is availble in my database users list  with db_owner , public permissions also been assigned to it.
    However When trying to delete a user on SQL server 2000, we recieve the message "You cannot drop the selected login ID because that login ID owns objects in one or more databases.".
    Please refer the below work process trace and please suggest the possible solution..
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Sat Feb 14 15:10:21 2009
    B  create_con (con_name=R/3)
    B  Loading DB library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.195)
    B  New connection 0 created
    M sysno      00
    M sid        PEC
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    196
    M intno      20020600
    M make:      multithreaded, Unicode
    M pid        3844
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3844) [dpxxdisp.c   1162]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          21120     (1320)
    M  DpShMCreate: sizeof(tm_adm)          29558776     (14772)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          1160000     (580)
    M  DpShMCreate: sizeof(vmc_adm)          0     (424)
    M  DpShMCreate: sizeof(wall_adm)          (384056/329560/64/184)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 07800040, size: 31492672)
    M  DpShMCreate: allocated sys_adm at 07800040
    M  DpShMCreate: allocated wp_adm at 07801B88
    M  DpShMCreate: allocated tm_adm_list at 07806E08
    M  DpShMCreate: allocated tm_adm at 07806E30
    M  DpShMCreate: allocated wp_ca_adm at 09437628
    M  DpShMCreate: allocated appc_ca_adm at 0943D3E8
    M  DpShMCreate: allocated comm_adm_list at 0943F328
    M  DpShMCreate: allocated comm_adm at 0943F340
    M  DpShMCreate: allocated vmc_adm_list at 0955A680
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 0955A6A8
    M  DpShMCreate: allocated wall_adm at 0955A6B0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Sat Feb 14 15:10:22 2009
    M  calling db_connect ...
    C  Thread ID:3868
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'E:\usr\sap\PEC\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      195
    C    patchcomment DBCON: database names must not start with digits (1078650)
    C  np:(local) connection used on CAMBSVR15
    C  CopyLocalParameters: dbuser is 'pec'

    C Sat Feb 14 15:10:23 2009
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.

    C Sat Feb 14 15:10:26 2009
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  ExecuteAndFlush return code: 0x80040e14 Stmt: [if user_name() != 'pec' setuser 'pec']
    C  sloledb.cpp [ExecuteAndFlush,line 5989]: Error/Message: (err 4604, sev 0), There is no such user or group 'pec'.
    C  Procname: [ExecuteAndFlush - no proc]
    C  setuser 'pec' failed -- connect terminated
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error 0      performing CON [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> <message text not available> [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 428] [dblink  0428 ]
    B  ***LOG BY0=> <message text not available> [dblink#3 @ 428] [dblink  0428 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1280]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9621]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server cambsvr15_PEC_00 on host cambsvr15 (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Sat Feb 14 15:10:26 2009
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9806
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3844) [dpnttool.c   357]
    I would greatly appriciate your quick response, Since it is a production issue.
    Many Thanks,
    Vinod

    Hi Rohit and Subhadip,
    My problem was solved, thanks for your effort.
    reason is that, user 'pec' not been associated with login user for the SQL server.
    subha : when i execute the first command which you suggested, but couldn't find any user's list.
    so i didn't  tried with the second command. just to give a final try i have executed the script like below and its worked out.
    USE PEC
    GO
    EXEC sp_change_users_login 'update_one','pec','pec'
    GO
    Now i see that all work process are starting,,,thank you so much rohit and subhadip
    I could have try this first ,when you guys suggested since i couldn't find any output with the first command i didn't proceed with second one.
    Since deleting and creating method doesn't seems to be a good, i have just to give a try executed the second command and its worked.
    Thanks for your time and patience
    Many Thanks,
    Vinod

  • Why has my 3G data On my iPhone quit working? edge and wifi works fine

    Why has my 3G data On my iPhone quit working? edge and wifi works fine

    Did you try to reset the phone by holding the sleep and home button until the Apple logo comes back again?
    If this does not work, try to set it up as new device, without using the latest backup, in case it contains corrupt data. How to back up your data and set up as a new device
    If still not luck, visit an Apple Store to have it looked at or contact Apple: Service Answer Center

  • About selecting Scheduling Agreement and Forecast delivery schedule

    Hi Experts,
    i want to write a Report, with 2 parameters for the selection : Sold-to-party and Period
    For this Sold-to-party/Period, I want to list all scheduling agreement + Forecast delivery schedule.
    I already found the Function SD_VBEP_READ_WITH_VBELN to read all Forecast delivery schedule lines using Sales Doc.No. , but how can I select all Scheduling Agreement for the Period ?
    Regards,
    David

    Solution:
    by selecting data from table VEPVG (Delivery Due Index) and using function SD_VBEP_READ_WITH_VBELN for each SD Document.
    Regards,
    David

  • Advanced Action works 2 times and stops working

    Hi Everyone,
    I'm creating a Captivate 4 (4.0.1 Build 1658) presentation of a simple LAN setup with 2 hosts.  I have a caption showing setup parameters for the hosts (IP and Hostname) and a dropdown box allowing for selection of which host to configure parameters in the upper right (screenshot below).
    My advanced action executes when the submit button next to the IP field is clicked (Host Name will be next once I figure this little issue out). It checks which host is selected in the dropdown widget and assigns the IP address (HostIP) to the respective host.
    As the subject states, this works 2 times and then stops working.  Here is the code:
    Check If ( HostSelection is equal to Host 1 )
         begin
              Host1IP := HostIP
              rdcmndGotoFrame := 20
         end
    Or Else
         begin
              Host2IP := HostIP
              rdcmndGotoFrame := 30
    end
    The rdcmndGotoFrame assignment seems to be the only way I can reliably pause the presentation after the button is clicked.  Not sure if this is contributing to the problem or not.
    I've done this type of thing before but I can't figure out why this isn't working.  Any help would be greatly appreciated.

    Hello,
    To keep the playhead from moving on, use the expression:
    rdcmndGotoFrame = rdinfoCurrentFrame -1
    Sometimes the -1 is not necessary, you will have to check yourself. I do not know why you choose the absolute frame numbers to go to. And I do not really catch the issue for the rest.
    Lilybiri

  • My Epson printer stopped working with Firefox today. It does test pages, will work on Notebook, and will work with IE. Up until today it worked with Firefox. Why can't I print anything from the internet with Firefox?

    Up until today, I did everything with Firefox. Then I was on Paypal and went to print a shipping label and the printer would not work. I went to troubleshoot page and it printed a test page. I uninstalled my printer and then re-installed it. Still would not work from an internet page. I did a system restore. Still didn't work. Called Epson. They say it's a Firefox problem because it works on Notebook and test pages. I installed IE and the printer works. What happened and how can I get it back working with Firefox?

    I have the same problem, I cannot print PayPal shipping label off of Firefox. I did the about.config entry and have seen that the print.print_printer does not exist at all in the list of entries. I use Vista 32. I use an Epson 545 wirelessly.
    Can anyone help?

  • How differ? Working serial vi and not working serial vi

    Finally I found a well-working vi file in the internet. Even though it is too long
    time ago, I'm not sure the original writer would still be a LabVIEW user now.
    But I'd like to say thank him (his ID was roiht).
    The attached file is done by roiht and working well. But I don't know why the
    basic serial read and write vi is not working but the attached file working.
    There is no framing error message in this vi. Can anyone give me the answer?
    Attachments:
    Serial_general.vi ‏55 KB

    Serial communications often involve a bit of magic or luck. Many vendors do not completely specify their communications protocols or they create protocols which are so different from the most common ones that it is difficult to determine what needs to happen.
    Since you have a program which will communicate, you need to dig through it to document exactly what it actually does. Every setting.  Especially default settings.  Every delay. Every byte transmitted or received. Do not assume anything - verify. Then you should be able to set up the modern program to work the same way.
    Lynn

  • Simple Query working on 10G and not working on 11gR2 after upgrade

    Hi Folks,
    This is the first time i am posting the query in this Blog.
    I have a small issue which preventing the UAT Sigoff.
    Simple query working fine on 10.2.0.1 and after upgrade to 11.2.0.1 its error out
    10.2.0.4:
    =====
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=1;
    COUNT(*)
    1
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=00001;
    COUNT(*)
    1
    SQL> select ATTRIBUTE1 FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=1;
    ATTRIBUTE1
    00001
    11.2.0.1:
    =====
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=1
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1=00001
    ERROR at line 1:
    ORA-01722: invalid number
    SQL> select ATTRIBUTE1 FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1='1';
    no rows selected
    SQL> SELECT COUNT(*) FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1='00001';
    COUNT(*)
    1
    SQL> select ATTRIBUTE1 FROM APPS.HZ_PARTIES HP WHERE ATTRIBUTE_CATEGORY= 'PROPERTY' AND ATTRIBUTE1='00001';
    ATTRIBUTE1
    00001
    ++++++++++++++++++++++++++++++++++++++++++++++
    SQL > desc APPS.HZ_PARTIES
    Name Type
    ======== ======
    ATTRIBUTE1 VARCHAR2(150)
    ++++++++++++++++++++++++++++++++++++++++++++++
    Changes:
    Recently i upgraded the DB from 10.2.0.4 to 11.2.0.1
    Query:
    1.If the type of that row is VARCHAR,why it is working in 10.2.0.4 and why not working in 11.2.0.1
    2.after upgrade i analyzed the table with "analyze table " query for all AP,AR,GL,HR,BEN,APPS Schemas--Is it got impact if we run analyze table.
    Please provide me the answer for above two questions or refer the document is also well enough to understand.Based on the Answer client will sigoff to-day.
    Thanks,
    P Kumar

    WhiteHat wrote:
    the issue has already been identified: in oracle versions prior to 11, there was an implicit conversion of numbers to characters. your database has a character field which you are attempting to compare to a number.
    i.e. the string '000001' is not in any way equivalent to the number 1. but Oracle 10 converts '000001' to a number because you are asking it to compare to the number you have provided.
    version 11 doesn't do this anymore (and rightly so).
    the issue is with the bad code design. you can either: use characters in the predicate (where field = 'parameter') or you can do a conversion of the field prior to comparing (where to_num(field) = parameter).
    I would suggest that you should fix your code and don't assume that '000001' = 1I don't think that the above is completely correct, and a simple demonstration will show why. First, a simple table on Oracle Database 10.2.0.4:
    CREATE TABLE T1(C1 VARCHAR2(20));
    INSERT INTO T1 VALUES ('1');
    INSERT INTO T1 VALUES ('0001');
    COMMIT;A select from the above table, relying on implicit data type conversion:
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    C1
    1
    0001Technically, the second row should not have been returned as an exact match. Why was it returned, let's take a look at the actual execution plan:
    SELECT
    FROM
      TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL,NULL,NULL));
    SQL_ID  g6gvbpsgj1dvf, child number 0
    SELECT   * FROM   T1 WHERE   C1=1
    Plan hash value: 3617692013
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |       |       |     2 (100)|          |
    |*  1 |  TABLE ACCESS FULL| T1   |     2 |    24 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(TO_NUMBER("C1")=1)
    Note
       - dynamic sampling used for this statementNotice that the VARCHAR2 column was converted to a NUMBER, so if there was any data in that column that could not be converted to a number (or NULL), we should receive an error (unless the bad rows are already removed due to another predicate in the WHERE clause). For example:
    INSERT INTO T1 VALUES ('.0001.');
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    SQL> SELECT
      2    *
      3  FROM
      4    T1
      5  WHERE
      6    C1=1;
    ERROR:
    ORA-01722: invalid numberNow the same test on Oracle Database 11.1.0.7:
    CREATE TABLE T1(C1 VARCHAR2(20));
    INSERT INTO T1 VALUES ('1');
    INSERT INTO T1 VALUES ('0001');
    COMMIT;
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    C1
    1
    0001
    SELECT
    FROM
      TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL,NULL,NULL));
    SQL_ID  g6gvbpsgj1dvf, child number 0
    SELECT   * FROM   T1 WHERE   C1=1
    Plan hash value: 3617692013
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      |       |       |     2 (100)|          |
    |*  1 |  TABLE ACCESS FULL| T1   |     2 |    24 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(TO_NUMBER("C1")=1)
    Note
       - dynamic sampling used for this statement
    INSERT INTO T1 VALUES ('.0001.');
    SELECT
    FROM
      T1
    WHERE
      C1=1;
    SQL> SELECT
      2    *
      3  FROM
      4    T1
      5  WHERE
      6    C1=1;
    ERROR:
    ORA-01722: invalid numberAs you can see, exactly the same actual execution plan, and the same end result.
    The OP needs to determine if non-numeric data now exists in the column. Was the database characterset possibly changed during/after the upgrade?
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Right shift and c not working, Left shift and c works fine for a capital c

     I have a Lenovo G560 laptop. Had this problem once before and computer tech fixed problem, but moved cities. Worked fine but recently had a windows update. Now when I press the right shift key and c nothing happens. Left shift and c displays a capital c. How do I restore the right shift c ?

    hi richiestac,
    You can try to remap the Right Shift Key so that it will function as Left Shift using Sharpkeys.
    To do this:
    1. Download and install Sharpkeys
    2. Open Sharpkeys, click on Add and on the Map this key (From Key) , select the Right Shift key, then on the To this key (To key), select the Left Shift key.
      - Link to picture
    3. When finished, click Write to Registry and reboot.
    As for the display driver installation, you need to uninstall first any signs of Intel HD Graphics from the Control Panel (Icon View) > Programs and Features. After that, open Device Manager > Display Adapters and uninstall the Intel Graphics (ensure you put a check on Delete the driver software for this device and try to re-install the Intel Onboard Graphics Driver.
    Alternatively, you can skip all the procedures above and just press the OneKey Recovery button to restore the system to factory settings (note that all data will be wiped on the OS partition).
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Upon upgrading to Firefox7 (Mac) my Wacom stylus button (latest driver) which is programmed to issue a Command modifier to open links in a new tab, though this has worked for years and still works in Safari, etc. Any ideas?

    This issue just began with the FF7.01 but has always worked in previous versions. Yesterday I did install the FF7.0 and I don't recall experiencing the issue. Please note that it works correctly holding the actual command key, but no longer with the Wacom pen button held.
    It was nice to always be able to use one hand to click and also make the decision about opening in a new tab or not.

    Guys, I should wrap this up and let you all know so this page may help those experiencing the Firebug Context Menu Glitch. It's messed up, that was one of my favourite programs :(. Now looking for a version that doesn't do that.

  • FlexUnit is working with FlashBuilder and not working with Build file

    Hi
    I have few flexunit test cases . When I am running those testcases from Flashbuilder FlexUnit plugin I am able to run all the testcases and when I run Build file to run those testcases , build file is launching my testrunner swf file and it is throwing follwoing  runtime error in flash player
    VerifyError: Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found.
    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()
    at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    here is the Build Console log
    [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.
    test:
    [mxmlc] C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf (1626331 bytes)
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for the test run:
    [flexunit] FLEX_HOME: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328]
    [flexunit] haltonfailure: [false]
    [flexunit] headless: [false]
    [flexunit] display: [99]
    [flexunit] localTrusted: [true]
    [flexunit] player: [flash]
    [flexunit] command: [C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugger.exe]
    [flexunit] port: [1024]
    [flexunit] swf: [C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf]
    [flexunit] timeout: [60000ms]
    [flexunit] toDir: [C:\Users\user\Documents\workspace\project\report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Entry [C:\Users\user\Documents\workspace\project\bin-debug] already available in local trust file at [C:\Users\user\AppData\Roaming\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg].
    [flexunit] Executing 'C:\Program Files\Adobe\Adobe Flash Builder for Force.com\sdks\4.5.1.21328\runtimes\player\10.2\win\FlashPlayerDebugger.exe' with arguments:
    [flexunit] 'C:\Users\user\Documents\workspace\project\bin-debug\projectTestRunner.swf'
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    C:\Users\user\Documents\workspace\project\build\build.xml:33: The following error occurred while executing this line:
    C:\Users\user\Documents\workspace\project\build\build.xml:175: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Many thanks for In advance for your help ..

    We had a similar problem in my project.  Took a lot of research and trial and error, but we finally narrowed it down to the resource.properties file.  Turns out that if the file gets too big it causes this problem.  Extending the timeout doesn't help.  You have to break your resource.properties into more granular files to reduce the file size.  This seems to fix the problem.  We have had it happen several times since then and we know how to fix it, so we get it fixed pretty quickly.
    Not sure if this will fix your problem, but it fixed ours.

  • Why does my username and password doesn't work on ff and it works on other browsers?

    Hello.
    I'm having a problem with login on my adsl modem page by using it's username and password.
    I've been having the same problem since ff5 or ff6 and now the problem remains on ff9.0.1
    When I type on address bar 192.168.2.1, to get on my modem's page and I try to login to change things or portforward etc, I get incorrect password message.
    When I do the same on another browser like ie9 I don't have such issues.
    I've try autofill form for my username and password and manual writing everything to ensure that I'm not doing anything wrong.
    Even checked the saved password on ff and deleted it.
    I've also tried to delete cookies and temporary files and clean registry.
    No luck what so ever.

    I'm using a NetFaster IAD 2 modem from intracom.
    I don't know if that helps any

  • Flash won't work despite uninstall and install, worked fine yesterday. HELP!!!

    I can't watch fox website, or xfinity on my computer because it wants me to update my flash player. I this point i have uninstalled, restarted computer, installed x2. I really want to watch TV on my computer, I have no real TV. Please Help

    What version of Flash Player do you have installed?
    http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    Also, what OS and browser are you using?

Maybe you are looking for

  • Can't open images or tracks in gallery on E61i?

    I recently switched from N95 to E61i and when I put my existing memory card in from my N95 I cannot access the images or tracks from the gallery. The handset shows "opening" but never opens and I have to power cylcel. Any help?

  • How to pass parameter as http POST in pageContext.setForwardURL

    Hi, I need to call a third party application page in my custom OAF page. I need to pass parameter to this third party page using POST method. I am using following command to call that - HashMap hm = new HashMap(); hm.put("FirstName",firstName ); hm.p

  • Compilation errors after upgrading from 8.1.6 to 10.2

    I recently upgraded a Weblogic Workshop application from version 8.1.6 to 10.2 using the Import wizard in Weblogic Workshop 10.2. However, I am getting the following compilation errors: Problem encountered finding XML Schema metadata for XML Bean com

  • Do you know if I can use a wireless mouse (GE Wireless mini mouse) with my mac?

    I am trying to get my wireless mouse to work. I had it for a while and it woked fine with my old laptop(non mac). Do I need to get an apple mouse?

  • I can't get dxtory files to render.

    I record gameplays for youtube, and I recently switched from fraps to dxtory as the audio quality in dxtory is a lot better. However I can render fraps files just fine, but when I render dxtory files I get error messages and a pop up that says close