Basis

why do we apply Snote and how? what is the difference between Snote and patch

Hi..
         Following might be useful to u.
Usually S notes will be given by SAP and u implement using Snote.
The Note Assistant (transaction SNOTE) helps you to implement SAP OSS notes. Although it
is not perfect it does generally make the application of OSS notes a much easier process. Note
assistant is at its best when all that is required is a simple code deletion/insertion into an existing
ABAP object. If the object does not exists then you will be required to do the creation bit manually,
note assistant will then be able to insert the ABAP code. 
Another benefit of SAP note assistant is that it automatically prompts you to implement any
prerequisite notes that apply. 
Note assistants biggest problem comes when updates have been provided by SAP but not for
general release (i.e. a specific fix for your company) or you have modified standard SAP code. If
note assistant tries to update an object which has been changed using this method then it
may have trouble inserting the code in the correct place.
<b>   ABOUT PATCHES</b>
These are like enhancements.
Enhancement points are basically hooks at certain defined points within the ABAP code i.e. at the beginning and end of a FORM. These hooks allow you to attach your own custom code which will be executed as if it had been hard coded into the code using a modification. Unlike hard coded modifications these will not be lost during upgrade or patching exercises.
There are 2 types of enhancements with the enhancement framework:
1. Explicit enhancement points: These are basically hooks already coded into the program by SAP at various points of the code. See program RIAUFMVK for examples of these! These are very easy to implement simply go into enhancement mode of SE80 and right click on the enhancement point where you want to add your code and choose ‘Enhancement Implementation->Create’ Give it a name, description and assign it to a change request (should not be a Z package) and then simply add the code as normal.
2. Implicit enhancement points: These are basically points within ABAP code where an enhancement point is implied, and in which case can be created. Examples of implicit enhancement points are at the beginning and end of FORM’s, at the end of a program, include or function module etc.
Thanks
PS : Award points if this is helpful

Similar Messages

  • Mid Month Joining-PF Basis Calculation

    Hi All,
    I have an emplyee whose joining is in the 3rd week of the month 23.04.2011.
    His basic is 25000, 8 days working basic is 6667.
    I want to restrict his PF contribution to PF at 780 his actual contri coming as 800, 12% of basic.
    Here i want that system should maintain his PF as 780 not 800.
    I tried marking Eligible pay Or Pf BAsis Which ever is less but of no use.
    I have already gone through the Threads which suggest to go through User Exit: Override Employer Pension Basis.But it is not for PF Basis.
    If any PCR is available for the same ?
    Can any body guide me on the same?

    Hi,
    the system is working fine if the person is present in the trust the full month by selecting the Eligible Pay Or PF base pay
    which ever is  less.
    But when it comes to joining in the end of the month say 23 or 25th of the month & the employee is present in the trust for 8 or 5 days & if i try to take the basic as 6500 although the basic is higher than 6500(actual basic 25000, ,8 days-6667),if i select the
    Eligible Pay Or PF base pay which ever is  less,either it doest take the 6500 consideration or it calculates PF as 208.
    Puting the RT details here when  Eligible Pay Or PF base pay which ever is  less is selected.
    /101 Total gross                                                             11,223.33
    /111 EPF Basis                                                                6,666.67
    /112 ESI Basis                                                                 11,223.33
    /113 ESI Basis N                         26,666.67                    11,010.00
    /114 HRA Basis                                                              6,666.67
    /115 COA/CLA Bas                                                         9,973.33
    /116 Gratuity Ba                                                            6,666.67
    /117 Superannuat                                                         6,666.67
    /120 Nom. ExGrat                         26,666.67                  6,666.67
    /121 Nom. ExGrat                         26,666.67                6,666.67
    /124 Mon Reg Inc                                                           9,973.33
    /125 Mon Irr Inc                                                             1,250.00
    /128 Leave Encas                                                           6,666.67
    /129 Voluntary R                                                           25,000.01
    /134 Annual Non-                                                          1,250.00
    /136 1DSD Basis                                                             6,666.67
    /137 1DSD Basis                                                             6,666.67
    /138 Form 217 2(                                                           11,223.33
    /139 VPF Basis                                                                6,666.67
    /140 LWF Basis                                                              6,880.00
    /3F1 Ee PF contr0101                                                     208.00
    /3F3 Er PF contr0101                                                    245.00
    /3F4 Er Pension 0101                                                   555.00
    /3F5 Ee Mon PF c                                                          208.00
    /3F6 Ee Ann PF c                                                           8,788.00
    /3F7 EDLI contri0101                                                   3,333,335.00
    /3F8 EDLI adm ch0101                                                66,667.00
    /3F9 PF adm chrg0101                                                7,333,337.00
    /3FA PF basis fo0101                                                 1,733.00
    /3FB PF Basis fo0101                                                 6,667.00
    /3FC Pension Bas0101                                                 6,667.00
    /3FJ VPF basis f0101                                                 1,733.00
    /3FL PF Basis fo0101                                                 6,667.00
    /3I1 Deduction u                                                     8,788.00
    /3I2 Gross amoun                                                     8,788.00

  • Animated Gif with large base image & small animated part.

    Hello guys
    I'm not really sure how to explain that, due to my limited English comprehansion. I will try with images.
    I can easily create animated gif out of multiple layers, given each layer is identical, with small changes accuring over time.
    But I yet to figure out an animated gif, that uses one large image for the base, and only small part of it is animated.
    I always get the animated part working, without the large base applying across all the frames. All it does, is flashes once
    the frame is reached and then moves on to being transparent, showing only the small animated part.
    For example, this is a GIF made with Galaxy S4, of my friend playing with his phone, imported into PS CS6. On the Galaxy,
    after I record the GIF, I can use my finder to touch, mask and freez parts I don't want to move, and leave only small, animated bit.
    When I import it to PS, it shows one layer with full image, and bunch of frames with the animation part only.
    http://i.imgur.com/UAiopQA.jpg
    http://i.imgur.com/7XOGGV6.jpg
    Problem is, once the image is open with PS, I'm not able to export it to keep it working in the same manner. Given the Samsung's
    gifs are 8 to 10mb, it's hard to edit it, to make it more size friendly.
    The gif clearly works the way I describe, so there is a setting or method I don't know about.
    If PS is not best tool for editing GIF, what other apps would you recommand I use for it?
    Thank you for the taking the time to read
    best regards
    Monica

    This has been an ongoing issue for me since I switched from Powerpoint to Keynote. Most of the animated gifs with transparent backgrounds that I used with Powerpoint are no longer transparent in Keynote. You may want to search for those earlier threads on this topic...
    To summarize: I've had to open up my animated gifs in After Effects and use the Color Key effect to restore transparency, with mixed success.
    Good luck!

  • Need advise on SQL Report  base for APEX or jasper

    Hello everyone,
    I need some advise on how to approach this below report requirement. It has been bugging me for nearly 2 weeks now, and my time is running out.
    Here is a simplified version of the database
    Four tables: Defendant, Engagement, Service, Event.
    A defendant can have more than 1 engagement, but they have only one open engagement at a time.
    For each engagement, they will have services and events.
    These events can be just general events or events that relates to the service.
    Here is the script for the tables and sample data
    CREATE TABLE "DEFENDANT"
       ("DEF_ID" NUMBER,
         "FIRST_NAME" VARCHAR2(50 BYTE),
         "LAST_NAME" VARCHAR2(50 BYTE),
         "ACTIVE" NUMBER DEFAULT 1
    Insert into DEFENDANT (DEF_ID,FIRST_NAME,LAST_NAME,ACTIVE) values (1,'Joe','Bloggs',1);
    Insert into DEFENDANT (DEF_ID,FIRST_NAME,LAST_NAME,ACTIVE) values (2,'John','Doe',1);
    CREATE TABLE "ENGAGEMENT"
       ("ENG_ID" NUMBER,
         "DEF_ID" NUMBER,
         "COURT_NAME" VARCHAR2(20 BYTE),
         "DATE_JOINED" DATE,
         "DATE_TERMINATED" DATE,
         "ETHNICITY" VARCHAR2(50 BYTE),
         "ACTIVE" VARCHAR2(20 BYTE)
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (1,1,'AAA',to_date('01/09/12','DD/MM/RR'),to_date('20/09/12','DD/MM/RR'),'European','1');
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (2,2,'BBB',to_date('01/10/12','DD/MM/RR'),null,'Asian','1');
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (3,1,'AAA',to_date('22/09/12','DD/MM/RR'),null,'European','1');
    CREATE TABLE "EVENT"
       ("EVENT_ID" NUMBER,
         "ENG_ID" NUMBER,
         "NOTES" VARCHAR2(20 BYTE),
         "RELATED_SERVICE_ID" NUMBER,
         "START_DATE" DATE,
         "END_DATE" DATE,
         "ACTIVE" NUMBER DEFAULT 1
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (1,1,null,1,to_date('01/09/12','DD/MM/RR'),to_date('02/09/12','DD/MM/RR'),1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (2,1,null,1,to_date('23/09/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (3,1,null,2,to_date('15/10/12','DD/MM/RR'),to_date('16/10/12','DD/MM/RR'),1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (4,2,null,null,to_date('02/10/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (5,2,null,2,to_date('03/10/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (6,3,null,null,to_date('22/09/12','DD/MM/RR'),to_date('23/09/12','DD/MM/RR'),1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (7,3,null,4,to_date('23/09/12','DD/MM/RR'),null,1);
    Insert into EVENT (EVENT_ID,ENG_ID,NOTES,RELATED_SERVICE_ID,START_DATE,END_DATE,ACTIVE) values (8,2,null,null,to_date('12/10/12','DD/MM/RR'),null,1);
    CREATE TABLE "SERVICE"
       (     "SERVICE_ID" NUMBER,
         "ENG_ID" NUMBER,
         "DESCRIPTION" VARCHAR2(200 BYTE),
         "DATE_STARTED" DATE,
         "DATE_TERMINATED" DATE,
         "ACTIVE" NUMBER DEFAULT 1
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (1,1,'Counselling',to_date('15/09/12','DD/MM/RR'),to_date('18/09/12','DD/MM/RR'),1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (2,1,'Housing',to_date('20/09/12','DD/MM/RR'),null,1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (3,2,'Treatment',to_date('01/10/12','DD/MM/RR'),to_date('15/10/12','DD/MM/RR'),1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (4,3,'Housing',null,null,1);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (5,1,'Other',to_date('05/10/12','DD/MM/RR'),null,0);
    Insert into SERVICE (SERVICE_ID,ENG_ID,DESCRIPTION,DATE_STARTED,DATE_TERMINATED,ACTIVE) values (6,2,'Treatment',to_date('16/10/12','DD/MM/RR'),null,1);****
    And this is the view I am thinking to use as the base for the report
    CREATE OR REPLACE FORCE VIEW "BASE_VW"
    AS
      SELECT Def.Def_Id,
        Def.First_Name,
        Def.Last_Name,
        Eng.Eng_Id,
        Eng.Court_Name,
        Eng.Date_Joined,
        Eng.Date_Terminated,
        Eng.Ethnicity,
        Ser.Service_Id,
        Ser.Description,
        Ser.Date_Started    AS Service_Start_Date,
        Ser.Date_Terminated AS Service_Date_Terminated,
        Ser.Active          AS Service_Active,
        Ev.Event_Id,
        Ev.Related_Service_Id,
        Ev.Start_Date,
        Ev.End_Date,
        Ev.Notes,
        ev.active AS event_active
      FROM Defendant Def
      LEFT OUTER JOIN Engagement Eng
      ON Def.Def_Id = Eng.Def_Id
      LEFT OUTER JOIN Service Ser
      ON Eng.Eng_Id = Ser.Eng_Id
      LEFT OUTER JOIN Event Ev
      ON Ev.Eng_Id = Eng.Eng_Id;****
    Requirement:
    Report parameter: Start Date, End Date, Court_name
    From chosen Court_name, list defendants who currently engage in the court.
    For each defendant display
    Section 1: Identifying Details: First Name, Last Name, Ethnicity, Date Joined Court
    Section 2: All Services currently active that the defendant attend
    Section 3: All Events that related to the service that the defendant attend
    Section 4: All other events (don't have Related Service ID)
    User must be able to download the whole report in spreadsheet or PDF format.
    I did try to create a set of union selects (but the format is not that good, when no data return it display nothing, I would rather show some messages like "There is no associated events, rather than nothing")
    and it only produces report for 1 defendant at a time.
    We use Oracle APEX , so only select statement or PL/SQL Code return select statement is valid for report source.
    In our place we use Jasper Report adjacent to APEX, but I have very little experience with Jasper report.
    The developer who knows a lot about jasper report is too busy to help me.
    Currently, I use union selects like below:
    With Current_Engagement As
    ( Select Eng_Id From Engagement
      Where Def_Id =2
      And Date_Joined Is Not Null
      And ( Date_Terminated Is Null Or Date_Terminated > Sysdate)
      And Rownum =1
    Select '1.Defendant ID' as col1, 'First Name' as col2, 'Last Name' as col3, 'Court Name' as col4, 'Ethnicity' as col5, 'Date Joined' as col6, 'Date Terminated' as col7
    From Dual
    Union All
    Select Distinct to_char(Def_Id), First_Name, Last_Name, Court_Name, Ethnicity, to_char(Date_Joined), to_char(Date_Terminated)
    From Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    Union All
    select '2.Service ID', 'Service Description', 'Start Date', 'End Date', Null, Null, Null
    from dual
    Union All
    Select distinct to_char(service_id), description, to_char(service_start_date), to_char(service_date_terminated), null, null, null
    From Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    where service_active =1
    Union All
    Select '3.Event ID', 'Related Service ID', 'Start Date', 'End date', 'Notes', null, null
    From Dual
    Union All
    Select distinct to_char(event_id), to_char(related_service_id), to_char(start_date), to_char(end_date), notes, null, null
    from Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    Where Event_Active = 1
    and related_service_id is not null
    Union All
    Select '4.Event ID', 'Start Date', 'End date', 'Notes', null, null, null
    From Dual
    Union All
    Select distinct to_char(event_id), to_char(start_date), to_char(end_date), notes, null, null, null
    From Base_Vw Inner Join Current_Engagement Ce On Base_Vw.Eng_Id = Ce.Eng_Id
    Where Event_Active = 1
    and related_service_id is nulland the result is kind of what I try to achieve (except that I need to work on display a message 'No data found' rather than nothing), But it seems that my code works only for one defendant.
    COL1                           COL2                           COL3                           COL4                 COL5                 COL6        COL7         
    1.Defendant ID                 First Name                     Last Name                      Court Name           Ethnicity            Date Joined Date Terminated
    2                              John                           Doe                            BBB                  Asian                01/10/12                   
    2.Service ID                   Service Description            Start Date                     End Date                                                             
    3                              Treatment                      01/10/12                       15/10/12                                                             
    6                              Treatment                      16/10/12                                                                                            
    3.Event ID                     Related Service ID             Start Date                     End date             Notes                                           
    5                              2                              03/10/12                                                                                            
    4.Event ID                     Start Date                     End date                       Notes                                                                
    4                              02/10/12                                                                                                                           
    8                              12/10/12                                                                                                                           
    10 rows selected
         However, I struggle to find a way to apply this to more than 1 defendant and still keep the format.
    Defendant 1
    All details related to defendant 1
    Defendant 2
    All details relayed to defendant 2
    Defendant n
    All details relayed to defendant nIs it possible to display a report as above by using only SQL script ?
    Thanks a lot in advance. I am willing to compensate financially to someone who can give me a solution.
    Edited by: Ann586341. View base_vw SQL script is fixed.

    Thanks a lot Jeneesh. (You are really a guru.)
    It is nearly 98% what the requirements ask for.
    I just have one more question.
    If I add more information into the database, just one more defendant
    Insert into DEFENDANT (DEF_ID,FIRST_NAME,LAST_NAME,ACTIVE) values (3,'Minnie','Mouse',1);
    --and one in Engagement table
    Insert into ENGAGEMENT (ENG_ID,DEF_ID,COURT_NAME,DATE_JOINED,DATE_TERMINATED,ETHNICITY,ACTIVE) values (4,3,'BBB',to_date('05/10/12','DD/MM/RR'),null,'Latin America','1');Then I run the select statment again (without changing anything)
    With Current_Engagement As
    ( Select Eng_Id
      From Engagement
      Where /*Def_Id =2
      And*/ Date_Joined Is Not Null
      And ( Date_Terminated Is Null Or Date_Terminated > Sysdate)
      --And Rownum =1
    titles as
    ( Select  .9 dummy_rn,'1.Defendant ID' as col1, 'First Name' as col2, 'Last Name' as col3,
        'Court Name' as col4, 'Ethnicity' as col5, 'Date Joined' as col6,
        'Date Terminated' as col7
      From Dual
      union all
      select  1.9,'2.Service ID', 'Service Description', 'Start Date', 'End Date',
        Null, Null, Null
      from dual
      union all
      Select  2.9,'3.Event ID', 'Related Service ID', 'Start Date', 'End date', 'Notes',
        null, null
      From Dual
      Union All
      Select 3.9,'4.Event ID', 'Start Date', 'End date', 'Notes', null, null, null
      From Dual
    all_titles as
    ( select dummy_rn,eng_id,col1,col2,col3,col4,col5,col6,col7
      from current_engagement,titles
    select col1,col2,col3,col4,col5,col6,col7
    from (
          select dummy_rn,eng_id,col1,col2,col3,col4,col5,col6,col7
          from all_titles
          Union All
          Select Distinct 1,ce.eng_id,decode(Base_Vw.Eng_Id,null,'No Data',to_char(Def_Id)) def_id,
                          decode(Base_Vw.Eng_Id,null,'No Data',First_Name) First_Name,
                          decode(Base_Vw.Eng_Id,null,'No Data',last_Name) Last_Name,
                          decode(Base_Vw.Eng_Id,null,'No Data',court_Name) Court_Name,
                          decode(Base_Vw.Eng_Id,null,'No Data',ethnicity) Ethnicity,
                 to_char(Date_Joined), to_char(Date_Terminated)
          From Base_Vw
                  right outer join Current_Engagement Ce
                  On Base_Vw.Eng_Id = Ce.Eng_Id
          Union All
          Select distinct 2,ce.eng_id,
                decode(Base_Vw.Eng_Id,null,'No Data',to_char(service_id)),
                decode(Base_Vw.Eng_Id,null,'No Data',description) ,
                decode(Base_Vw.Eng_Id,null,'No Data',to_char(service_start_date)),
                decode(Base_Vw.Eng_Id,null,'No Data',to_char(service_date_terminated)) ,
                decode(Base_Vw.Eng_Id,null,'No Data',null),
                decode(Base_Vw.Eng_Id,null,'No Data',null),
                decode(Base_Vw.Eng_Id,null,'No Data',null)
          From Base_Vw
                  right outer Join Current_Engagement Ce
                  On Base_Vw.Eng_Id = Ce.Eng_Id
          where service_active =1
          Union All
          Select distinct 3,ce.eng_id,
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(event_id)),
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(related_service_id)),
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(start_date)),
                 decode(Base_Vw.Eng_Id,null,'No Data',to_char(end_date)),
                 decode(Base_Vw.Eng_Id,null,'No Data',notes),
                 decode(Base_Vw.Eng_Id,null,'No Data',null),
                 decode(Base_Vw.Eng_Id,null,'No Data',null)
          from Base_Vw
               right outer Join Current_Engagement Ce
               On Base_Vw.Eng_Id = Ce.Eng_Id
          Where Event_Active = 1
          and related_service_id is not null
          Union All
          Select distinct 4,ce.eng_id,
                  decode(Base_Vw.Eng_Id,null,'No Data',to_char(event_id)),
                  decode(Base_Vw.Eng_Id,null,'No Data',to_char(start_date)),
                  decode(Base_Vw.Eng_Id,null,'No Data',to_char(end_date)),
                  decode(Base_Vw.Eng_Id,null,'No Data',notes),
                  decode(Base_Vw.Eng_Id,null,'No Data',null),
                  decode(Base_Vw.Eng_Id,null,'No Data',null),
                  decode(Base_Vw.Eng_Id,null,'No Data',null)
          From Base_Vw
              right outer Join Current_Engagement Ce
              On Base_Vw.Eng_Id = Ce.Eng_Id
          Where Event_Active = 1
          and related_service_id is null
    order by eng_id,dummy_rn,col1
    ;The result is
    COL1                           COL2                           COL3                      COL4                 COL5                      COL6        COL7         
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    2                              John                           Doe                       BBB                  Asian                     01/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    3                              Treatment                      01/10/12                  15/10/12                                                                  
    6                              Treatment                      16/10/12                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    5                              2                              03/10/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    4                              02/10/12                                                                                                                           
    8                              12/10/12                                                                                                                           
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    1                              Joe                            Bloggs                    AAA                  European                  22/09/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    4                              Housing                                                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    7                              4                              23/09/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    6                              22/09/12                       23/09/12                                                                                            
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    3                              Minnie                         Mouse                     BBB                  Latin America             05/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    23 rows selected Is it possible in SQL to display it like this
    COL1                           COL2                           COL3                      COL4                 COL5                      COL6        COL7         
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    2                              John                           Doe                       BBB                  Asian                     01/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    3                              Treatment                      01/10/12                  15/10/12                                                                  
    6                              Treatment                      16/10/12                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    5                              2                              03/10/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    4                              02/10/12                                                                                                                           
    8                              12/10/12                                                                                                                           
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    1                              Joe                            Bloggs                    AAA                  European                  22/09/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    4                              Housing                                                                                                                            
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    7                              4                              23/09/12                                                                                            
    4.Event ID                     Start Date                     End date                  Notes                                                                     
    6                              22/09/12                       23/09/12                                                                                            
    1.Defendant ID                 First Name                     Last Name                 Court Name           Ethnicity                 Date Joined Date Terminated
    3                              Minnie                         Mouse                     BBB                  Latin America             05/10/12                   
    2.Service ID                   Service Description            Start Date                End Date                                                                  
    No Service Found
    3.Event ID                     Related Service ID             Start Date                End date             Notes                                                
    No Event Found
    4.Event ID                     Start Date                     End date                  Notes                                                              
    No Event FoundOr just a 'No data found' would do. I am thinking about create a dummy table which contains only one row with text "There is no data found". And so the outer join with the result, but I still cannot work out how to integrate with the condition in your select statement.
    I really appreciate your help.

  • AS3: How to create one base class for classes loaded in multiple swfs?

    Our application have 3 different modules and all use
    fscommand and ExternalInterface alot. Now the problem is we are
    combining all those modules, but they all will reside in different
    swfs. Is there any way that they extend to same base class and its
    static members have only one instance accessible by all
    three?

    Hi,
    You can achieve this via Workshop 9.2 by using the exported Ant script for your project as follows:
    -Ensure that all Jars needed to resolve com.bea.p13n.property.EntityPropertyManager (this particular class is found in weblogic92/common/p13n/lib/p13n_ejb.jar) and all referenced classes are added to the Java build path for your WebLogic EJB project (Properties->Java Build Path->Libraries)
    -Export the "Workshop Ant Script" for your WebLogic EJB project (File->Export->Workshop Ant Script); this will generate a "build.xml" Ant script under your project root directory.
    -Edit this default build script as follows: in the call to the "ejbgen" task within the "build" target, add the attribute: propertyFile="ejbgen.properties"
    -Create a file "ejbgen.properties" under the root of your WebLogic EJB project and add the following entry:
    YourSessionBeanClassName.remote.baseClass=com.bea.p13n.property.EntityPropertyManager
    -Add a "<path refid="java.classpath"/>" within the "<classpath>" for the "java" task element that calls "weblogic.ejbc" (this will ensure that the p13n classes are resolved by EJBC)
    Follow the instructions for executing the Ant build script found here: http://edocs.bea.com/workshop/docs92/ws_platform/ideuserguide/conUseCustomAntBuild.html
    For more information on the EJBGen property file support, see: http://e-docs.bea.com/wls/docs92/ejb/EJBGen_reference.html

  • How do I open the same ports on an Airport Extreme Base Station for multiple computers at the same time?

    As the title suggests...
    I have a mix of five Mac and PC's at home using an Airport Extreme Base Station as the router.   I need many ports opened on the AEBS for all of the computers- not just one computer.  (for example: three people want to play TF2 on Steam at the same time; each machine needs the correct ports open on the router).   Port forwarding  only allows me to forward a given port to a single IP, yet I need that port open for five differnt IP's, all at the same time. 
    How do I do that on an AEBS?
    In the same way, I have a small office of four iMacs using an old airport with the same exact issue.   I would like to be able to connect to all of them remotely with Apple Remote Desktop, but the port forwarding on the airport only allows a port to forward to a single IP.   I want to be able to tunnel into the office network and log onto any machine behind the Airport extreme... not just a single IP.    I currently have it set up where I can tunnel into the office from my house, I can find the one machine that the port forwarding has been assigned to, I can log on and everything is just fine... with one machine.    How do I open the firewall for the other machines? 
    TL,DR version:  How do you open ports on an Airport Extreme Base Station instead of forwarding ports?   Forwarding ports doesn't work for multiple IP's.  

    You can open a single or multiple ports to a single device or different ports to different devices, but you cannot open the same port to multiple devices via the AirPort Utility for the Apple routers.

  • Error while adding A/R credit memo base on A/R  invoice using DI-API

    Hi Expert,
    Adding partial a/r credit memo   getting error msg "Invalid value  [ORIN.DocRate]"
    Thanks
    Rajkumar
    Edited by: Rajkumar Gupta on Dec 9, 2011 3:01 AM

    Hi,
    You may only need to provide BaseType, BaseEntry and BaseLine when you add A/R credit memo base on A/R invoice. Omit all other fields if you include in your code.
    Thanks,
    Gordon

  • Error while deploying web role - Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe

    I have Azure SDK 2.5 installed and when I try and publish my web role from VS 2013, it fails. When I manually upload the package and config through the Azure Portal I get the error:  "Invalid application runtime - a runtime component
    is missing:/base/x64/IISConfigurator.exe".
    I have tried uninstalling and re-installing the Azure SDK with no change in the error.
    Any ideas how I can troubleshoot this?

    I uninstalled the SDK, and tried to create a new cloud servce using the WCF service project template. The new project still gives me the same error:
    The file provided is not a valid service package. Detailed error code: WCFServiceWebRole1 Invalid application runtime - a runtime component is missing:/base/x64/IISConfigurator.exe.

  • Can no longer read the base station configuration

    I am seting up a Airport Extreme N. I was able to read the configuration file twice with no problem. Now AirPort Utility "sees" the base station and tells me the Name, IP, Version, and AirPort ID but when I select the continue button AirPort Unitlity just sits and spins.
    1) I am using the latest AirPort Utility (2007-1)
    2) I have tried the 1 second reset
    3) I have tried the 6 second reset
    4) I have tried the reset while powering up
    I see a few other threads like this but no conclusive answers.
    Thanks,
    Jim
    Mac mini   Mac OS X (10.4.9)  

    Found the problem (well a work-around).
    If the base station restarts while my LaCie USB 1TB drive is plugged in and turned on then AirPort Utility hangs reading the configuration. If I wait until the base station is up and running to plug the USB drive in all is fine. Also AirPort Utility will crash while hung reading the configuration and I unplug the USB drive.
    To be sure I tested 3 times. Totally repeatable. Total time...4.5 hours

  • Printer no longer recognized by Extreme Base Station

    I have had my Epson Stylus Photo 900 connected to the base station and working for some time. I tried printing to it today and nothing happened. I ran the Printer Setup Utility and I get only two options: one to set up browser and one to set up IP printer, no option to choose Rendezvous and add the printer. If I attach the printer to my iMac I can run Epson utilities on it but can't print to it. I downloaded and reinstalled the printer driver and ran fix permission in the Disk utility. Appreciate your help. Thanks Rich

    I had the same problem after my computer got infected (And I am running McAfee with the firewall!).  The problem isn't your print driver, the problem is in your Windows operating system.  Try to reload or repair Windows from your backup disk (hope you have one).  It took three tries before i finally got the trojan eliminated and could reload Windows.

  • Value-Basis Free Goods in ME21N

    In PO creation, is it possible for free goods to be on value-basis rather than quantity-basis?
    For example: If I buy A 1000USD, I'll get one B for free.
    Cheers,
    VT

    Hi VT,
    One more option....
    Create PO with two line item,one line item for A and second line item for B.
    To get the item B free, you have to select the check box of free item in the second line item.
    if you will scroll right in PO line item you will get the check box of free item.
    Regards,
    Manish

  • Transfer of xml file elements to data base columns

    hi all,
    i have to store xml file's data(element values) into the data base(table columns).
    i heard that we can acheive this by XSU.
    IS it is mediator between xml and db? if yes how to install it.
    i tried something as below
    with t as (
    select xmltype('<Message-Header>
    <Message-Id>1234</Message-Id>
    <Sender-Company-ID>4569</Sender-Company-ID>
    <Sender-Company-Name>abc company</Sender-Company-Nam
    <Sender-User-ID>AA</Sender-User-ID>
    <Recv-Company-ID>050</Recv-Company-ID>
    <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
    <Creation-Time>20101019 15:59:39</Creation-Time>
    </Message-Header>') as xml from dual
    )but i am getting following error. can anybody explain about this
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (
      2  select xmltype('<Message-Header>
      3  <Message-Id>1234</Message-Id>
      4  <Sender-Company-ID>4569</Sender-Company-ID>
      5  <Sender-Company-Name>abc company</Sender-Company-Name>
      6  <Sender-User-ID>AA</Sender-User-ID>
      7  <Recv-Company-ID>050</Recv-Company-ID>
      8  <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
      9  <Creation-Time>20101019 15:59:39</Creation-Time>
    10  </Message-Header>') as xml from dual
    11* )
    SQL> /
    with t as (
    ERROR at line 1:
    ORA-01041: internal error. hostdef extension doesn't existPlease help me..
    my db version is Oracle Database 10g Release 10.2.0.1.0 - Production

    Hi,
    What are you trying to achieve with a single WITH clause and no SELECT?
    Please see this from the documentation if you want to use it properly :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10002.htm#i2077142
    Apart from its true purpose of subquery factoring, the WITH clause is often use here and there to simulate a table content, but you'll always need a SELECT.
    Maybe that's what you were trying to do?
    As for your question, starting with release 10.2, Oracle provides XMLTable to shred XML documents into relational structures.
    For example,
    with t as (
    select xmltype('<Message-Header>
    <Message-Id>1234</Message-Id>
    <Sender-Company-ID>4569</Sender-Company-ID>
    <Sender-Company-Name>abc company</Sender-Company-Name>
    <Sender-User-ID>AA</Sender-User-ID>
    <Recv-Company-ID>050</Recv-Company-ID>
    <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
    <Creation-Time>20101019 15:59:39</Creation-Time>
    </Message-Header>') as xml from dual
    select x.*
    from t,
         XMLTable(
          '/Message-Header'
          passing t.xml
          columns
            message_id          number       path 'Message-Id',
            sender_company_id   number       path 'Sender-Company-ID',
            sender_company_name varchar2(30) path 'Sender-Company-Name',
            sender_user_id      varchar2(30) path 'Sender-User-ID',
            recv_company_id     varchar2(30) path 'Recv-Company-ID',
            recv_company_name   varchar2(30) path 'Recv-Company-Name',
            creation_time       varchar2(30) path 'Creation-Time'
         ) x
    ;If you're working in PL/SQL, and the XML resides in a variable, you can directly do (with necessary datatype conversion in the SELECT) :
    insert into your_table ( <your_columns_list> )
    select <your_columns_list>
    from XMLTable(
          '/Message-Header'
          passing your_xml_var
          columns
            message_id          number       path 'Message-Id',
            sender_company_id   number       path 'Sender-Company-ID',
            sender_company_name varchar2(30) path 'Sender-Company-Name',
            sender_user_id      varchar2(30) path 'Sender-User-ID',
            recv_company_id     varchar2(30) path 'Recv-Company-ID',
            recv_company_name   varchar2(30) path 'Recv-Company-Name',
            creation_time       varchar2(30) path 'Creation-Time'
         ) x
    ;

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

  • Error in creation of database (planning 9.3.1) base- SQL2005

    This error appears when you create database (planning 9.3.1) base- SQL2005.
    com.hyperion.planning.olap.EssbaseException (1019060)
    I would be grateful, if you give me advices how to solve it.
    Thank you

    Another thread on this very topic => Re: com.hyperion.planning.olap.EssbaseException (1019060)
    todd rebner
    http://www.advancedepm.com/

  • Automatic PO from PR [free text base procurement ]

    Hi SAP gurus ,
    I have following question ,
    I am not using material master , it is a free text base procurement .
    even there are no contracts in place .
    Purchasing is only PR - PO w.r.t. & without respect to PR  - GR - IV . etc.
    How can I create a Automatic PO w.r.t. PR ?
    Can anybody please advice?
    Thanks ,
    Prasad

    Hello,
    1. Check auto PO tick in Vendor Master record.
    2. Create Info record for material group which you are going to use in PR. This is important for net price, purchasing group and tax code which will be mandatory in PO.
    3. Assign Source of supply as this info record in PR.
    4. Create auto PO in ME59N t- code.
    Regards,
    Shailesh Mackwan

  • In import process,how excise base value is calculated in MIGO

    Hi expert's,
    In import process,how excise base value is calculated in MIGO,with what referance values get add to base value.
    waiting for your valuable response,
    Regards
    V.raj

    hi,
    we Tried with your following reply ! but still not finding exact value in base value .
    (MATERIAL PRICE* QTY IN MIGO * EXCHANGE RATE)
    thanks & regards
    V.Raj

Maybe you are looking for

  • My internet doesn't work while abroad in Italy

    I'm abroad in Italy for the year and my wifi doesn't work or is very spotty.  My host family has no problems with wifi and it works on my iPhone, and they even bought a new modem, but it still doesn't work. Any suggestions?

  • Need to add flipping catalog to site

    I am a newbie and have been tasked to add a clients catalog on their site as a flipping catalog. The client wants to have a image of their catalog added to a page. They also want the catalog to open up as a flipping catalog. I have found several sour

  • Problem to synchronise my contacts with my NOKIA 6021

    Hi, I have been successful at synchronising my NOKIA 6021 with my contacts and calendar events at my first attempt. BUT, after I have made changes in my vcard groups, i couldn't synchronize any more my contacts. What is strange is that under iSync, m

  • Form Colur with different Color Schemes

    Hi, When loading a new form from a xml file, SBO (6.5) doesn't use the color from the selected color scheme. Ther are no properties exposed in the form object to adjust the colour in code. Is a certain value required as the color (e.g. -1) in the xml

  • New ARB Issue:  Button navigation and Declarative States

    <[email protected]il.forums.adobe.com> Message-ID: <C6277898.7F37%[email protected]> Thread-Topic: New ARB Issue:  Button navigation and Declarative States Thread-Index: AcnOqlv/oTWkTNjMukqDP18VFO76uA== Mime-version: 1.0 Content-type: multipart/alter