Typical HR Requirement

Hi,
   Can any body help me on the solution for below requirement...
We have implemented SAP HR. Now my requirement is I need to maintain all photos of my employees in SAP....Because In some appraisal forms I need to show appraisal details with photograph of employee...
Which is the best way to clear this requirement...
Thanks & Regards,
Rayudu

Use 'SMW0' TO upload pictures in binary format in WEB Repository.
Then use this code to load picture.
DATA query_table LIKE w3query OCCURS 1 WITH HEADER LINE.
  DATA html_table LIKE w3html OCCURS 1.
  DATA return_code LIKE  w3param-ret_code.
  DATA content_type LIKE  w3param-cont_type.
  DATA content_length LIKE  w3param-cont_len.
  DATA pic_data LIKE w3mime OCCURS 0.
  DATA pic_size TYPE i.
IF container is initial.
    CREATE OBJECT container
       EXPORTING container_name = 'CUSTOM_CONTAINER'.
    CREATE OBJECT picture
       EXPORTING  parent = container
       EXCEPTIONS error = 1.
    IF sy-subrc ne 0.
    ENDIF.
ENDIF.
  REFRESH query_table.
  query_table-name = '_OBJECT_ID'.
  query_table-value = 'ZDAT_TRANSFER'.
  APPEND query_table.
  CALL FUNCTION 'WWW_GET_MIME_OBJECT'
       TABLES
            query_string        = query_table
            html                = html_table
            mime                = pic_data
       CHANGING
            return_code         = return_code
            content_type        = content_type
            content_length      = content_length
       EXCEPTIONS
            OBJECT_NOT_FOUND       = 1
            parameter_not_found = 2
            OTHERS              = 3.
  IF sy-subrc = 0.
    pic_size = content_length.
  ENDIF.
  CALL FUNCTION 'DP_CREATE_URL'
       EXPORTING
            type     = 'image'
            subtype  = cndp_sap_tab_unknown
            size     = pic_size
            lifetime = cndp_lifetime_transaction
       TABLES
            data     = pic_data
       CHANGING
            url      = url
       EXCEPTIONS
            OTHERS   = 1.
CALL METHOD picture->load_picture_from_url
        EXPORTING url = url.
      IF sy-subrc ne 0.
Fehlerbehandlung
      ENDIF.
Regards,
Wasim Ahmed

Similar Messages

  • TYPICAL REPORT REQUIREMENT

    hi experts,
    Below there is a function spec so please can anybody send me the code for this requirement?can anybody send me the steps for thsi atleast?
    please its urgent
    1.1 Functions in Detail
    The function of this report is to produce a summary buy organisational unit and Absence/Attendance type of staff utilisation during a preceding week.
    The user is to select the date range for the week and delimit the report by key employee master data such as organisational unit, jobs and Absence/Attendance type. The report is to then calculate each employees utilisation by Absence/Attendance types and output the utilisation by Organisational unit and Absence/Attendance type.
    See section 3.2.7 – Processing logic for a full explanation of the calculation required
    1.2 Processing
    1.2.1 Trigger
    · Execution of Report by user
    1.2.2 Frequency of Use
    Transaction is to be run on a weekly basis
    1.2.3 Data Volumes
    The primary group of staff involved will be Train Operators and this equates to approximately 3,600 Employees and their weekly Attendance and Absence data. We require columns for organisational units and this is currently 25, but a maximum of 30 should allowed.
    1.2.4 Language considerations
    English
    1.2.5 Input Data
    Date Range selection is to use standard logical database
    The user selection options required except for Date Range are listed below along with the text we would like displayed:
    Infotype Number Field Text Description Field Name Display Text required Selection Type
    0000 Personnel Number PERNR Personnel Number Multiple Selection
    0001 Org. Unit ORGEH Organisational Unit Multiple SelectionAnd Use of the Organisational Hierachy
    0001 Cost Ctr KOSTL Cost Centre Multiple Selection
    0001 Job Key STELL Job Multiple Selection
    0001 EE Subgroup PERSK Employee Subgroup Multiple Selection
    0001 CoCode BUKRS Company Code Multiple Selection
    2001 Absence Type AWART Absence Type Multiple Selection
    2002 Attendance Type AWART Attendance Type Multiple Selection
    0008 PS Group TRFGR Grade Multiple Selection
    Selection Variants, we require the ability to create and save the selection parameters entered so that these can be easily selected again
    1.2.6 Sourcing the Input data
    The Date Range selection option is to be used to select data as follows:
    Active Employees within the selected employee master data where Employment Status (infotype 000 Actions) = Active
    Absence Types and Absence Days within date range
    Attendance Types and Attendance Days within date range
    The data required to generate the report is listed by infotype in the table below:
    Infotype Number Fields Text SAP Field name
    0000 Employment Status STAT2
    0000 Personnel Number PERNR
    0001 Org. Unit ORGEH
    0001 Cost Ctr KOSTL
    0001 EE Group PERSG
    0001 Job Key STELL
    0001 EE Subgroup PERSK
    0001 CoCode BUKRS
    0007 Weekly Work Days WKWDY
    2001 Absence Type AWART
    2001 Absence Days ABWTG
    2002 Attendance Type AWART
    2002 Attendance Days ABWTG
    0008 PS Group TRFGR
    1.2.7 Processing Logic
    In general terms this is about reporting upon active employees headcount in terms of Employment Status (from Infotype 0001) during the preceding week and comparing it to their Absence (infotype 2001) and attendances (infotype 2002) during the same week. This data is then summarised by Organisational Unit and absence and attendance type.
    The output is to show the total employees utilisation by each absence type for each organisational unit (Infotype 0001) selected. This is a calculation for each employee where the days lost for that time type compared to the weekly working days (infotype 0007). The example output is can be found in 3.2.8 Output and the calculations required are below
    Only Employee Group 1 data is to be used.
    Processing and calculations involved in output
    Employee X
    3 days lost to Absence Type 320 (Sick)
    Weekly Working Days = 5
    Where days lost = D
    Weekly Working Days = W
    Formula for utilisation for Absence type is:
    Utilisation = D/W
    In the above example this would be 0.6 for Employee X
    Employee Y
    2 days lost to Absence Type 320 (Sick)
    Weekly Working days = 2
    In the above example this would be 1
    Output on the report.
    If the report were just run for these two Employees both at organisational unit ACTD then it would be the sum of the utilisation (1+0.6= 1.60) and the report output would be as follows:
    Depots
    Absence/ attendance type ACTD
    320 Sick 1.60
    Multiple Absence and attendance days.
    There will be a few instances where the Absence and Attendance days data for the week exceeds the Employees Weekly Working Days figure in this instance the rule that is applied is as follows:
    Sort Attendance or Absence Types in reverse alphabetical order
    Deduct balance of days from Absence or Attendance that is alphabetically higher
    Then divide Absence/Attendance days by Weekly Working Days
    Worked example:
    Employee X who’s Weekly Working Days = 5
    Absence Attendance Type Days Lost
    Sick 4
    Annual Leave 2
    Total Days lost 6
    Conversion required is to deduct 1 days sick as alphabetically S is after A
    Therefore the following utilisation values should be reported against the Attendance/Absence type as follows
    Absence/Attendance Type Days Lost Utilisation
    Sick 3 0.6
    Annual Leave 2 0.4
    Total Days lost 5 1.0
    This will ensure that an Employees utilisation in total will never exceed 1.
    Please see the section on error handling. We would like the option of being able to view the instances where the above conversion has been applied.
    If employees have moved during the week then their Absence/Attendance utilisation should be shown against the appropriate organisational unit valid at the time. If that organisational unit was not within the user selections
    1.2.8 Output
    The output is to show the total employee utilisation by each absence type for each organisational unit (Infotype 0001) selected.
    Layout required for the report
    Depots
    Absence/ attendance type Org Unit Short Text 1 Org Unit Short Text 2 Org Unit Short Text 3 Org Unit Short Text 4
    Type 1 10 2
    Type 2 5 3 4
    Type 3 20 30
    The output of the report is to be limited to a maximum of 31 columns (including the “Absence/ attendance type” column).
    The columns listed under Depot are the Short Text of the Organisational Units selected. Organisational units are to be sorted alphabetically from left to right by the Orgnisational Unit Short Text.
    The Absence/Attendance type is to be sorted alphabetically in ascending order.
    Further display options are required as follows:
    All Reports are to have the capability of exporting into Excel via the “Export” icon which then copies the report directly into a workbook in Excel. This is more user friendly then the “Local File” option.
    We require the ability to drill down and expand the report to see the individual employee details and absence Attendance days used to make up the utilisation figure used on the report. This is the figure actually used on the report and therefore if there have done any conversions due to multiple Absence/Attendance days exceeding the Weekly Working Days, then the figure after the conversion should be used. We require the ability for a user to select a column first and then drill down via a button. The drill down will be displayed via a pop-up screen. We also require the ability to export the data into Excel via the “Export” icon from the drill down. See example below.
    Defualt view
    Absence/ attendance type Org Unit Short Text 1 Org Unit Short Text 2 Org Unit Short Text 3 Org Unit Short Text 4
    Annual Leave 4 2
    Sick 5 3 4
    Drill down view by selecting the column of “Org Unit Short Text 1”
    Absence/ attendance type Org Unit Short Text 1
    Annual Leave Personnel Number Name Utilisation Days Lost Weekly Working Days
    Annual Leave 123456 P Smith 1.0 5 5
    Annual Leave 234567 J Smith 1.0 5 5
    Annual Leave 345678 D Jones 1.0 5 5
    Annual Leave 456789 P Jones 0.6 3 5
    Annual Leave 567891 A Harris 0.4 2 5
    Totals 4 20 25
    Sick Personnel Number Name Utilisation Days Lost Weekly Working Days
    1.3 Error Handling
    As referred to in 3.2.7 Processing logic, specifically where the data has had to be converted due to Absence or Attendance Days exceeding Weekly Working Days we would like the ability to see the exact details of the employees’ data prior to the conversion. The output required here is:
    Employee Org Unit Absence Attendance Type Days Lost Weekly working Days
    1234567 ACTD Sick 4 5
    1234567 ACTD Annual Leave 2 5
    Total 6 N/A

    wtf?
    you're aksing us paid consultants/inhouse developer who try to do the job as best as they can to do the work for you, for free?
    I really hope the client who hired you finds out about this and fires you. In my contract I can be fined for a considerable amount if I lied in my CV.

  • Adobe Illustrator CC Typical System Requirement

    Hello everyone, I'm looking for a new computer for better working experience. I have difficulty to run AI CC on my current computer. It keep not responding all the time which cause me unable to do my work smoothly. It can't even save a file with size 9MB.
    Here is my current computer specification:
    Windows 7 Professional SP1 64-bit
    Model Optiplex 3020
    Intel (R) Core(TM) i3-4150 CPU @ 3.50GHz
    RAM 5.00 GB
    I need your suggestion on computer specification to use AI CC smoothly, minimum specification can't help to solve my problem, thank you

    Well, here is some hard, painful truth for you: Your system should handle AI just fine. Not as in "It's fun", but as in "it's okay". So whatever issues you have are specific and quite likely caused by external influences like a badly fragmented disk, other system processes gobbling up resources, security tools blocking file access and so on. Without figuring these things out, buying a new system may not do anything for you, since the same issues may just reappear if you duplicate this messed up configuration. So by all means first try to bring your system up to speed based on some of what I'm explaining here:
    Installation Preparations | Mylenium's Error Code Database
    Mylenium

  • Typical scenario required your suggestion

    Hi,
    Database : Oracle 11.2.0
    I have a table with some n number of columns and each column of the table should have only specific values only.
    Eg1:
    Column Possible Values
    Col1 varchar2 100 or 150 or 130
    Col2 number Between 1 and 9999
    Col3 number 40 or 40.00
    60 or 60.00
    90 or 90.00
    col4 varchar2 Week4 or Week6 Week8
    If the column has any of the values other than specified then that row should be identified with the mis-matched columns.
    Suggestions expected from your end.
    Regards
    Satya
    Edited by: user608405 on Dec 26, 2012 1:22 AM

    user608405 wrote:
    Also we have to identify which column is mis-matched and there are about 65 to 70 columns in the tableA bad performer example (If you have Huge data, but solves your purpose):-
    select 'COL1 is Bad' ref_col, col1, ... colN
      from your_table
    where col1 not in (100, 130, 150)
    union all
    select 'COL2 is Bad' ref_col, col1, ... colN
      from your_table
    where col2 not between 1 and 9999
    union all
    select 'COL3 is Bad' ref_col, col1, ... colN
      from your_table
    where to_number(col3) not in (40, 60, 90)
    union all
    select 'COL4 is Bad' ref_col, col1, ... colN
      from your_table
    where col4 not in ('Week4', 'Week6', 'Week8');An Alternative:-
    create table dummy_base_table as
    select * from base_table;
    alter table dummy_base_table add constraint chk_col1 check (col1 in (100, 130, 150));
    alter table dummy_base_table add constraint chk_col2 check (col2 between 1 and 9999);
    alter table dummy_base_table add constraint chk_col3 check (to_number(col3) in (40, 60, 90));   --> Untested, but should work.
    alter table dummy_base_table add constraint chk_col4 check (col4 in ('Week4', 'Week6', 'Week8'));
    exec dbms_errlog.create_error_log('dummy_base_table');
    insert into dummy_base_table
    select column1, ..., columnN
      from base_table
    log errors
    reject limit unlimited;
    select * --> Records in this Table will be the records that do not follow the Constraints
      from err$_dummy_base_table;Edited by: Purvesh K on Dec 26, 2012 3:10 PM
    --Added Alternative of DBMS_ERRORLOG                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Which jar file is required for jsp dynpro page programming ?

    Hi all:
       I use NWDS wizard to create one small jsp dynpro page application. However the project has some errors, it said "
    This compilation unit indirectly references the missing type com.sapportals.htmlb.page.DynPage (typically some required class file is referencing a type outside the classpath)     Test1.java     NewParProject1/src.core/com/xinao/test     line 0
    " However, I found the class DynPage is not found in current project.
    I have already added com.sap.portal.htmlb_api.jar into my project.
    Where can I locate and find that jar file (which include the DynPage class ) ?

    Hi,
      Refer the following link content. It has answer to your question.
      class path incomplete at first portal component project
    Rds,
    Shanthakumar.
    points r welcome.

  • Photoshop cs4 Graphic Card Requirements!!

    Hello Guyz!!  I wanted to learn Photoshop CS4 on my Dell Precision 670 Intel Xeon 2.8 Ghz × 2.8 Ghz With 2Gb of Ram and Graphic Card Radeon X300/X550/X1050 Series of 128 MB n I am using Windows 7 Ultimate!! Now, I can't "Enable OpenGL Drawing" in Photoshop and I guess I will have to change my graphic card to help  the cause!! Please Suggest a Graphic Card that should work well throughout my Photoshop Learning Process!! Thanks

    LOL, there are 1000's of documents explaining it. You are way over thinking it.
    32 bit OS can only handle 4 gigs worth of memory addresses. period.   That's not saying all video ram is in use all the time, but that all video ram it is available at all times. In order for it to be available it needs to have an address so the OS can send data to it. That memory addressing is reserved at boot as a hardware requirement. In order to reserve the memory locations for hardware memory it has to use part of its 4 gig limited addressing and specify it as hardware. once its out of addresses... no more memory can BE addresed, its just that simple.
    If windows reserves 1 gig of address space for hard ware, it can not address more then 3 gigs of RAM. It is that simple.
    http://support.microsoft.com/kb/929605/en-us
    "If a computer has 4 gigabytes (GB) of random-access memory (RAM) installed, the system memory that is reported in the System Information dialog box in Windows Vista is less than you expect. "
    Answer:
    "This behavior is the expected result of certain hardware and software factors.
    Various devices in a typical computer require memory-mapped access. This is known as memory-mapped I/O (MMIO). For the MMIO space to be available to 32-bit operating systems, the MMIO space must reside within the first 4 GB of address space.
    For example, if you have a video card that has 256 MB of onboard memory, that memory must be mapped within the first 4 GB of address space. If 4 GB of system memory is already installed, part of that address space must be reserved by the graphics memory mapping. Graphics memory mapping overwrites a part of the system memory. These conditions reduce the total amount of system memory that is available to the operating system.
    The reduction in available system memory depends on the devices that are installed in the computer. However, to avoid potential driver compatibility issues, the 32-bit versions of Windows Vista limit the total available memory to 3.12 GB. See the "More information" section for information about potential driver compatibility issues.
    If a computer has many installed devices, the available memory may be reduced to 3 GB or less. However, the maximum memory available in 32-bit versions of Windows Vista is typically 3.12 GB."

  • MacBook Pro - Airplane power requirement/Europe plug adapter

    I've been told that i can purchase a power adapter for my MacBook Pro to plug into the airplane's power source but that since the power source on the airplane is only 65 watts (I think), that the adapter will only allow my laptop to power on, but that the battery will not be charged. Does anyone know if this is correct? Is there a specific adapter at the Apple Store that i need to buy? What happens when the battery is fully discharged? Does the computer still power on while plugged into the airplane?
    Another question involves traveling to Europe with my MacBook. Other than the plug adapter to fit the European plugs, do i need anything else? I was also told that the MacBooks power fits within Europe's typical wattage requirements. Does anyone know?

    Michael J Harnest wrote:
    I should mention, though, that not all (a small percentage, even) of airlines have the airline adapter plug available onboard. Call your airline and ask.
    Actually, many airlines do have them now, but it's no good to call the airlines for information, the front line phone reps usually don't know. Part of the reason airline customer service cannot help you is that location of power ports varies by aircraft type, and even within a single airplane the power port locations can vary by section or row. A blanket "yes" or "no" answer is not enough information for you, even by flight, and airline customer service is typically not at all set up to find out whether a power port will be at your specific seat on your specific flight.
    The best bet is to consult seatguru.com as recommended in the duplicate of this thread that was posted earlier. Seatguru has the best information as to whether your airline's airplane will have power ports, and if so, in which section or row. On my last flight, for instance, the plane did have power ports in the cheap seats, but only in alternating groups of rows. If you didn't check seatguru before specifying your seat preference, you could end up one or two rows too far ahead or behind a whole bunch of power ports.

  • Select statement with if condition in cursors

    Create procedure test (t1 in varchar2 ,t2 out varchar2)
    IS
    BEGIN
    IF t1 = 'E'
    select ENO INTO t2 from emp ;
    elsif t1 = 'D'
    select DNO INTO t2 from dept ;
    end if;
    end
    how do i write this using cursors

    i think i have to go for two cursors Intially i have written like the below codeThis requirement merely made me think of a pure SQL solution - something interesting...
    As I mentioned, you likely should be using ref cursors as typically this requirement extends to a client that wants to make a call to Oracle without needing to know SQL or table names, pass parameters, and get a dynamic "+result set+" in response.
    In Oracle. this is done using ref cursors. The code will look something like this"
    {code}
    create or replace procedure FooProc( someVar1 varchar2, someVar2 number, curResult OUT sys_refcursor ) is
    begin
    case
    when someVar1 = someValueA then
    open curResult for select * from emp;
    when someVar1 = someValueB then
    open curResult for select * from emp where empid = someVar2;
    .. etc ..
    end case;
    end;
    {code}
    This is pretty straight forward stuff - and well explained with examples in the Oracle® Database PL/SQL User's Guide and Reference (http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/sqloperations.htm#sthref139)
    You procedure it a tad different in output parameters (and not what one typically would get in a production system), but the concept is the same. If the SQL projection is the same for each cursor, you can use a ref cursor as above - and then simply code a single fetch to get the row's columns, close the cursor, and then return that column values as output parameters.
    Edited by: Billy Verreynne to fix the broken Jive s/w that does not understand how to parse a link and show it correctly.. (am getting more and more peeved at the crappiness factor of the new forum s/w)

  • Error building/creating WD Callable Object

    Hello guys,
    Pardon for reposting - I did post on the WD Java thread - and I think this is the more appropriate area to ask this question since its GP Callable Objects related.
    While creating a WD Callable Object: I
    I added Used DC: caf/eu/gp/api/wd to the WD DC. And added IGPWebdynproCO on the Implemented Interface. Afterwards, after building the DC, I got the following errors:
    This compilation unit indirectly references the missing type com.sap.caf.eu.gp.co.api.IGPTechnicalDescription (typically some required class file is referencing a type outside the classpath)
    The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.caf.eu.gp.co.api.IGPTechnicalDescription. Fix the classpath then try rebuilding this project.
    I tried repair and rebuild - and restared NWDS (and even restarted my PC).
    Issue not resolved.
    What else should I do?
    Thanks!
    Regards,
    Jan

    I solve this including DC from caf/eu/gp/api (external public part) as show
    http://help.sap.com/saphelp_nw70/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm
    Later the method getDescription throws error because not return anything, while I return null
    Regards,

  • Error while executing the sp ORA-21779: duration not active

    Hi there,
    am using Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 and facing typical type of error
    please find the steps below to reproduce it
    in this basically i will pass a comma seperated values and function will return the
    piped table witheach seperated values as new record
    ex :1,2,3,4
    1
    2
    3
    4
    Types created:
    1) Create Type TPOBJ_Return as Object (tnames varchar2 (2000));
    2) Create Type TPObjT_ReturnColl as Table Of TPOBJ_ReturnTable;
    Function created:
    CREATE OR REPLACE FUNCTION WB_FN_ReturnTable
    tNameString IN VARCHAR2
    RETURN TPObjT_ReturnColl
    PIPELINED
    AS
    iOptionSel INT;
    tOptionSel VARCHAR2 (9);
    iLen INT;
    tName VARCHAR2 (50);
    tTempChar CHAR (1);
    ptNameString VARCHAR2(2000);
    BEGIN
    ptNameString:=tNameString;
    iLen := LENGTH(TRIM(ptNameString));
    iOptionSel := 1;
    tName := '';
    WHILE iOptionSel <= iLen
    LOOP
    tTempChar := SUBSTR(ptNameString, iOptionSel, 1);
    IF tTempChar = ',' THEN
    IF LENGTH(TRIM(tName)) > 0 THEN
    PIPE ROW(TPOBJ_Return(tName));
    END IF;
    tName := '';
    ELSE
    tName := tName || tTempChar;
    END IF;
    iOptionSel := iOptionSel + 1;
    END LOOP;
    IF LENGTH(TRIM(tName)) > 0 THEN
    PIPE ROW(TPOBJ_Return(tName));
    END IF;
    return;
    END;
    Table created:
    Create Table test (id number(16))
    Insert into test values (1)
    Please insert from 1 to 10.
    Stored procedure created:
    Create or replace procedure Sptest
    As
    Titems Varchar2(255);
    pvalue Number(16);
    Begin
    Titems :='5,4,3';
    Select MIN(id) into pvalue from test where id not in
    (select tnames from table(WB_FN_ReturnTable(Titems )));
    End;
    Note:
    while executing the sp for the first time am not getting any error
    only ,if making a repeated call for execution then am gettings the errors specified below
    ORA-21779: duration not active
    ORA-03113: end-of-file on communication channel
    ORA-03114: not connected to ORACLE
    can anyone help me on these issue

    Why a pipeline table function? I would not say that a tokeniser function is something that typically should require working in the SQL engine, piping rows. It can be a very straight forward PL/SQL function that returns a collection of strings.
    E.g.
    SQL> CREATE OR REPLACE function tokenise( line varchar2, separator varchar2 DEFAULT ',' ) return TStrings AUTHID CURRENT_USER is
    2 strList TStrings;
    3 str varchar2(4000);
    4 i integer;
    5 l integer;
    6
    7 procedure AddString( s varchar2 ) is
    8 begin
    9 strList.Extend(1);
    10 strList( strList.Count ) := s;
    11 end;
    12
    13 begin
    14 strList := new TStrings();
    15
    16 str := line;
    17 loop
    18 l := LENGTH( str );
    19 i := INSTR( str, separator );
    20
    21 if i = 0 then
    22 AddString( str );
    23 else
    24 AddString( SUBSTR( str, 1, i-1 ) );
    25 str := SUBSTR( str, i+1 );
    26 end if;
    27
    28 -- if the separator was on the last char of the line, there is
    29 -- a trailing null column which we need to add manually
    30 if i = l then
    31 AddString( null );
    32 end if;
    33
    34 exit when str is NULL;
    35 exit when i = 0;
    36 end loop;
    37
    38 return( strList );
    39 end;
    40 /
    Function created.
    SQL>
    SQL> select * from TABLE(Tokenise('col1,col2,col3,,col5,and so on'));
    COLUMN_VALUE
    col1
    col2
    col3
    col5
    and so on
    6 rows selected.
    SQL>
    PS. The TStrings SQL user type is declared as a table of varchar2(4000).

  • Error while changing standard application

    I am making some changes in standard Leave Application.
    It's reflecting some Error saying
    1. The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.aii.proxy.framework.core.AbstractProxy. Fix the classpath then try rebuilding this project.     JDT_ITCLEAVE_Desslea~sap.com          
    2. This compilation unit indirectly references the missing type com.sap.aii.proxy.framework.core.AbstractProxy (typically some required class file is referencing a type outside the classpath)     AccListView.java     JDT_ITCLEAVE_Desslea~sap.com/gen_wdp/packages/com/sap/xss/hr/lea/acclist     line
    3. Application LeaveRequest: Component is missing     LeaveRequest.wdapplication     JDT_ITCLEAVE_Desslea~sap.com/src/packages/com/sap/xss/hr/lea/appl     
    4. Application LeaveRequest: Startup plug is missing     LeaveRequest.wdapplication     JDT_ITCLEAVE_Desslea~sap.com/src/packages/com/sap/xss/hr/lea/appl     
    For error number 3 and 4 i hve added the main component to the application properties of Application
    LeaveRequest, but still its giving error.
    Please Help !!
    Regards
    Roshni

    Hi,
    once try by repair option ?
    right click on dc name from context menu
    select "Repair" from this context menu select "Project Structure and ClassPath"
    Regards,
    ramesh

  • Error when importing an old web dynpro project

    Hi all,
    I've have upgraded my Sap Netweaver Developer Studio from 2.0.13 to 7.0 .
    Now when i try to compile my old WD project it returs the seguent errors:
    1)The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Object. Fix the classpath then try rebuilding this project     
    2)This compilation unit indirectly references the missing type java.lang.Object (typically some required class file is referencing a type outside the classpath)     PackagePointer.java     Project/gen_ddic/datatypes/com/sap/function/model/types     line 1
    Where can i find the java.lang.Object?
    thanks, Daniele

    Hi all,
    maybe is too late.. but I wish to share my humble experience with you.
    I encounter in a similar problem...
    When I'm working with Web Dynpro (Messagge Pool) suddenly the NWDS seems to be crazy and give me the error "this compilation unit indirectly references the missing type java.lang.Object "
    I read many post, this one too, but still got the problem.
    Compare the current WD project with another one I found that my project didn't have rt.jar ibrary in its library list.
    So I add in WD project - properties - Java build Path - Libraries  the rt.jar library.
    In my case it was in C:\j2sdk_dir\jre\lib\rt.jar.
    So I build project and the problem desappear.
    I hope this experience will be usefull.
    Cristian

  • Error creating a web service standalone proxy

    Hi all,
    I'm new with Sap Netweaver Developer Studio (SNDS), so sorry if the question is too easy.
    I wuold create a stand alone proxy for a web service created by a function module in R3.
    I follow the help of SNDS but the project doesn't compile. The error is
    This compilation unit indirectly references the missing type com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReader (typically some required class file is referencing a type outside the classpath)     ZhrWsStrAnagInd2.java     AnagIndStandAloneProxy/src/com/capitalia/webservice/anagind/types/p1     line 0
    Where I can find this package? or the problem is another?
    thanks for any help,
    enzo

    Hi Enzo,
    Add <Install folder of Netweaver developer Studio>\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\xml\_comp\gen\default\public\def\lib\java\sapxmltoolkit.jar to classpath of your project (hope you know how to do it).
    Best regards, Maksim Rashchynski.

  • IAspectRow problem in Web Dynpro DC on DTR

    Hi All,
    I created a Web Dynpro DC project on our DTR and added the required 'Used DCs' to it, and added the required library references. If I try to add and bind a context model element, however, my project won't build. It gives the following error:
    file comsaptccolclientgenericapiIAspectRow.class not found
    In the tasks view it provides these errors:
    The project was not built since its classpath is incomplete. Cannot find the class file for java.lang.Object. Fix the classpath then try rebuilding this project.
    This compilation unit indirectly references the missing type java.lang.Object (typically some required class file is referencing a type outside the classpath)
    I've tried modifying the used DCs and repairing the project class path, but nothing seems to work. Once while adding the library references, NWDS asked me whether I wanted to apply the changes after clicking on 'Ok', something which I have been unable to reproduce. Could this be the problem?
    All help will be appreciated,
    JP

    You have two problem here.
    FIrst one is because of "IAspectRow" missing in jars you have in your dc dependency.
    Second one you mentioned about class for java.langObject not found: Is definetly because of jre missing from your class path.
    Go to project properties. Add the library "JRE System library" to your project class. This will solve your second problem.
    I am not sure about first one.
    Regards,
    Ashwani Kr Sharma

  • Error while rebuilding webdynpro application

    Hi,
    When i am building my application i am getting two errors.
    1 . This compilation unit indirectly references the missing type com.sap.tc.logging.Location (typically
         *some required class file is referencing a type outside the classpath)     *
    2 . The project was not built since its classpath is incomplete. Cannot find the class file for
    *com.sap.tc.logging.Location. Fix the classpath then try rebuilding this project          *
    Please suggest how to resolve these issues. I have checked the classpath and added the required jar
    files also.
    Thanks a lot.

    JRE_LIB jar should be missing in your Java Build Path Libraries. If yes, add the same.
    Regards,
    Mathan

Maybe you are looking for

  • Oracle Designer and Oracle Server 8.0.4

    Perhaps some wise person can enlighten me with the answer to this little question that has caused trouble for myself. Does anybody know which version of Designer works with Oracle 8.0.4????? And if you know the answer to this question, then is it pos

  • When I open a PDF file and I try to Save As to my shared drive I can't select it from the dropdown

    When I open a PDF file and I try to Save As to my shared drive I can't select it from the dropdown menu. (See screenshot). When I select on the left side "Computer", then my shared drive is available. (See screenshot).

  • Help! Very frustrating problem with my Gen 4 iPod!

    Hello, I am hoping somebody can help me. I have a 20GB Gen 4 iPod with 3.1.1 software installed. It is formatted for Windows but just refuses to appear on my iTunes on my Mac. Here are the details: - Macbook Air running Mac OS X 10.6.2 - iTunes 9.0.2

  • Proble with tascam US122L and Logic

    Logic looks like he don't see my tascam device,,,on the same computer I have no problem on that with GarageBand....Can anybody help plss..thx

  • Dual internal hardrive problems in MacBook pro

    I installed a second hardrive in my 2011 17" macbook pro, When I had my events and projects on the second drive all was well.  When I installed an OS I can't see the events and projects on the second internal drive.  Why is is that I FCP won't see th