Where to set up a TYPE-POOL Declaration in a Function Group ?

Hi,
I ve got a Function Group.
I set up a Function Module in the Function Group.
I must use  TABLES I_T_SELECT TYPE SBIWA_T_SELECT.
I get the error:
Type pool SBIWA has not been declared
Message no. FL031
Diagnosis
You used a type from type pool & in the interface of a function module.
Procedure
For the program to be syntactically correct, you must
declare the type pool in the global data declaration of the
function group using the 'TYPE-POOLS: &.' statement.
Where / How do I set up a Type Pool in the global data declaration of the
function group ?
Where / what is the global data Declaration of the Function Group ?
Thank You
Best Wishes
Martin

Hello Martin,
First off:
TABLES I_T_SELECT TYPE SBIWA_T_SELECT.
Correct me if I'm mistaken here, but tables is expecting a name of a DDIC structure. It is then creating a work area using that structure.
If you have to declare an internal table, the correct code would be:
DATA i_t_select TYPE TABLE OF sbiwa_t_select.
Or:
TABLES sbiwa_t_select.
Regarding your questions:
A global data declaration of a function group is just what it says, a point where you can declare your data usable for the whole function group.
This is usually an Include.
That said, you can fix your issue by creating an Include in your function group.
Within that include you have to write:
TYPE-POOLS: pool1, pool2, pool3.
or, in case you only have one type pool:
TYPE-POOLsbiwa
After creating the include, you have to point your function module to that file.
INCLUDE include_name.
Kind regards,
Michael

Similar Messages

  • Global data declaration in a function group..

    hi,
    i have created a function group and created 2 FM in that. Both use some common data declarations so i declared those variables in the top include of the function group named LZFGXXXTOP.
    is this include automatically recognized in my FM or do i have to include it ? sample statements please ..
    thks

    Sorry Rich, I fail to understand what you are saying.
    in simple terms, i need to have some common data declarations for 2 function modules in a function group. Can u pl outline the steps I need to follow ? also i need to have a common set of form routines (FORM ENDFORM) to be used in these 2 function modules, where do i create these ?
    thks a lot

  • Function Module for RSAP001 requires Type Pool

    Hi
    I am not an ABAP Freak:
    I want to set up a Function Module for RSAP0001.
    Setting Import and / or Tables Parameters give an Activation error:
    Type pool SBIWA has not been declared
    Message no. FL031
    Diagnosis:
    You used a type from type pool & in the interface of a function module.
    Procedure:
    For the program to be syntactically correct, you must
    declare the type pool in the global data declaration of the
    function group using the 'TYPE-POOLS: &.' statement.
    Where do I  find the global data declaration of the
    function group ?
    Thank You
    Best Wishes
    Martin

    Hi Martin,
    When you click on the function group you will find many includes declared in it.
    Some of them will be Include L<fgrp>UXX and there will be one include,
    INCLUDE L<fgrp>TOP, this is the include in which you will have to make declarations, and here you will have to declare type pool.
    Simply goto transaction SE38 and the the program name as L<functionfroupname>TOP and you can directly change this include. 
    Regards,
    Durgesh.

  • !!URGENT!! Type Pool DMUT not available in 45B

    Dears,
    Please can you suggest a solution for this. The type- pool/group DMUT does not exist in SAP version 45B. I want to use a FM ( coded in v5.0) which uses this type-pool.
    Is there any other type-pool/group which could be used as an alternative in older versions of SAP.

    If this is a standard function module, this may not exist in earleir version. Are you plannign to copy this from 5.0?
    In this case create the type pool along with the function module.

  • Where did type-pools: SLIS store in database?

    HI GURU'S,
    In which table did the type-pools SLIS will store in datadictionary .

    Hi
    The type groups are stored in the table "TADIR".
    Go the Transaction Code SE16 and enter the table name "TADIR" and execute.
    On the selection screen Enter OBJECT = TYPE and DEVLOPMENT CLASS = Slis and execute.
    Hope it helps.
    Murthy

  • ERROR in TYPE-POOLS cihal - Global definitions. Sentence not permitted...

    Hi guys,
    My ERROR is: "Global definitions. Sentence not permitted in context" in transaction SMARTFORMS.
    My code is:
    TYPE-POOLS cihal. " error here
    TYPES:
    typ_rcgstdrecn TYPE TABLE OF rcgstdrecn,
    typ_ccihs_ialhiot TYPE TABLE OF ccihs_ialhiot,
    typ_cihal_resltapi_tab_type TYPE TABLE OF cihal_resltapi_tab_type,
    typ_ccihs_ihvaliot TYPE TABLE OF ccihs_ihvaliot,
    typ_ccihs_ipiot TYPE TABLE OF ccihs_ipiot,
    typ_ccihs_ipevaiot TYPE TABLE OF ccihs_ipevaiot,
    typ_ccihs_ipevinjiot TYPE TABLE OF ccihs_ipevinjiot,
    typ_cih01_ihprapi_tab_type TYPE TABLE OF ccihs_prapi,
    typ_ccihs_ipabsiot TYPE TABLE OF ccihs_ipabsiot,
    typ_ccihs_iprestriot TYPE TABLE OF ccihs_iprestriot,
    type_ccihs_ipevinjiot TYPE TABLE OF ccihs_ipevinjiot,
    typ_tline TYPE TABLE OF tline.
    TYPES: BEGIN OF typ_datos_acc,
            nachn TYPE pad_nachn,
            name2 TYPE pad_name2,
            vorna TYPE pad_vorna,
            years TYPE i,
            werks TYPE persa,
            berkt TYPE berkt,
      END OF typ_datos_acc.
    " end code
    This code is in the tab "types" belonging to the definitions of global smartform.
    Anybody can help me with this error?
    Where can include the "TYPE-POOLS cihal." in my smartform without giving me this error?
    Thanks for your help.

    Hi Anup Verma,
    What you say is correct, to include the TYPE-POOLS in the initialization tab.
    What was happening is that the Line:
    typ_cihal_resltapi_tab_type TYPE OF TABLE cihal_resltapi_tab_type,
    declared in the types tab was obsolete and I had to comment to activate correctly.
    Thank you very much for your help.

  • About type pools in ddic

    i would like to about type pools pls let me why we use this and how to create these type pools and what is the advantage of using type pools
    thanks in  advacnce
    kiran

    hi,
    <i>This is taken directly from the HELP.</i>
    <b>Type Groups</b>
    Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPE addition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.
    The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group <pool> is always:
    <b>TYPE-POOL <pool>.</b>
    After this came the definitions of data types using the TYPES statement, as described in Local Data Types in Programs. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore:
    In an ABAP program, you must declare a type group as follows before you can use it:
    TYPE-POOLS <pool>.
    This statement allows you to use all the data types and constants defined in the type group <pool> in your program. You can use several type groups in the same program.
    Let the type group HKTST be created as follows in the ABAP Dictionary:
    TYPE-POOL hktst.
    TYPES: BEGIN OF hktst_typ1,
    col1(10) TYPE c,
    col2 TYPE i,
    END OF hktst_typ1.
    TYPES hktst_typ2 TYPE p DECIMALS 2.
    CONSTANTS hktst_eleven TYPE i VALUE 11.
    This type group defines two data types HKTST_TYP1 and HKTST_TYP2, as well as a constant HKTST_ELEVEN with the value 11.
    Any ABAP program can use this definition with the TYPE-POOLS statement:
    TYPE-POOLS hktst.
    DATA: dat1 TYPE hktst_typ1,
    dat2 TYPE hktst_typ2 VALUE '1.23'.
    WRITE: dat2, / hktst_eleven.
    The output is:
    1,23
    11
    The data types defined in the type group are used to declare data objects with the DATA statement and the value of the constant is, as the output shows, known in the program.
    In short, type-pools or type groups are like little include programs where you store a bunch of TYPES statements. You can then use these types instead of defining them manually in your program. All you need to do is include the type-pool in your program.
    report ZXYZ_0001.
    Type-pools: slis.
    Data: qinfo_alv type slis_qinfo_alv.
    Regards,
    Anver

  • TYPE-POOLS: TRUXS

    Hi,
    What is type-pools? why we are using <b>truxs</b> type-pools. what are the benifits of <b>truxs</b> type-pools. Please explains these thinks..
    Thanks
    margani

    Hi
    Type pool is a collection of pre defined data types..
    Frequently used data types in programming are clubbed into a type pool so that if u write in ur code:
    TYPE-POOLS: slis.
    the declarations in SLIS will apply to ur code also..
    SLIS contains data definitions for ALV structures & internal tables. so that u dont need to declare alv data everytime in ur program..
    check out type pools: ICON, etc.. In SE11, type groups..
    We can use ABAP ALV LIST and GRID function modules to display Normal LIST and Hiearchical LISTS .
    All the definitions TYPES and STRUCTURES and CONSTANTS are defined
    in the TYPE-POOL 'SLIS' ,so it should be declared first.
    TYPE-POOLS : 'SLIS' .
    To display ALV LISTS the function module used are :
    REUSE_ALV_LIST_DISPLAY "For Normal LIST
    REUSE_ALV_HIERARCHICAL_LIST_DISPLAY "For Hierarchical LIST
    To display ALV GRID the function module used are :
    REUSE_ALV_GRID_DISPLAY . "For GRID display
    The most important component of the ALV is the FIELDCATALOG which is of
    TYPE SLIS_T_FIEDLCAT_ALV
    or of
    TYPE STANDARD TABLE OF SLIS_FIELDCAT_ALV .
    The line items of the field catalog are of
    TYPE SLIS_FIELDCAT_ALV .
    FIELDCATALOG
    To prepare field catalog certain fields are essential .There are various other fields allowing for vaarious possibilities and display options.
    TABNAME
    FIELDNAME
    REF_TABNAME
    SELTECT_M
    e.g.
    DATA: WS_FCAT TYPE SLIS_FIELDCAT_ALV . "LINE ITEM OF FCAT
    DATA: IN_FCAT TYPE SLIS_T_FIELDCAT_ALV.
    WS_FCAT-TABNAME = 'MARA'.
    WS_FCAT-FIELDNAME = 'MATNR'.
    WS_FCAT-SELTEXT_M = 'Material Number'.
    APPEND WS_FCAT TO IN_FCAT .
    CLEAR WS_FCAT.
    WS_FCAT-TABNAME = 'MAKT'.
    WS_FCAT-FIELDNAME = 'MAKTX'.
    WS_FCAT-SELTEXT_M = 'Material Description'.
    APPEND WS_FCAT TO IN_FCAT .
    This will create fieldcatalog with two columns for displaying material and material description .
    RESUSE_ALV_LIST_DISPLAY.
    The following FM is used to display the data in the internal table in the form of ALV
    LIST. The Event table is only required if event handling is being done.
    CALL FUNCTION 'RESUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = W_REPID "of TYPE SY-REPID and
    " value SY-REPID
    IS_LAYOUT = W_LAYOUT "of TYPE SLIS_LAYOUT_ALV
    IT_FIELDCAT = IN_FCAT "of TYPE SLIS_T_FIELDCAT_ALV
    I_SAVE = W_SAVE "of TYPE C ,values A ,U ,' '
    IT_EVENTS = IN_EVENTS " of TYPE SLIS_T_EVENT
    TABLES
    T_OUTTAB = IN_DATA "internal table conatining data
    "corresponding to IN_FCAT
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2
    IF SY-SUBRC NE 0.
    MESSAGE ENNN .
    ENDIF.
    REUSE_ALV_EVENTS_GET.
    This FM is used to get the default event table of the ALV LIST DISPLAY.
    The IN_EVENTS internal table is of TYPE SLIS_T_EVENT. This table contains
    all the events wrapped up in the ALV LIST or ALV GRID and consistsof two fields
    NAME and FORM .The NAME corresponds to names of the events like TOP_OF_PAGE and END_OF_PAGE ,USER_COMMAND and FORM will contain the name of the FORM ROUTINE that will be called dynamically through callback mechanism when the particular event will fire and is initial for all events bt default and has to be filled for
    events for which handling is required.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
    I_LIST_TYPE = 0
    IMPORTING
    ET_EVENTS = IN_EVENTS[].
    e.g.
    DATA: W_EVENT TYPE SLSI_ALV_EVENT "LINE ITEM OF EVENT TABLE
    DATA: IN_EVENTS TYPE SLSI_T_EVENT . "Internal table containing events
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
    I_LIST_TYPE = 0
    IMPORTING
    ET_EVENTS = IN_EVENTS[].
    RTEAD TABLE IN_EVENTS WITH KEY NAME = 'TOP_OG_PAGE'
    INTO W_EVENT.
    IF SY-SUBRC EQ 0.
    MOVE 'F3000_TOP_OF_PAGE' TO W_EVENT -FORM.
    MODIFY IN_EVENTS FROM W_EVENT INDEX SY-TABIX.
    ENDIF.
    Here the FORM ROUTINE 'F3000_TOP_OF_PAGE' is being set up for the
    event TOP_OF_PAGE which will fire when the ALV LIST will be displayed ,This form
    will be called dynamically by th ALV LIST display during top_of_page event and for this the modified Events internal table has to be passed to the FM 'REUSE_ALV_LIST_DISPLAY' in the exporting parameter IT_EVENTS. Failing this the form '3000_TOP_OF_PAGE' will not be called . This event is used for placing heading information like Current date and time and the name of the report.
    For Sample programs..
    Check this link.
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm

  • Type pools VS Top Include.

    Hi all,
    Is there any difference between a top include and Type pools.
    As both are used for data declaration purpose, i would like to know any differences between these two.
    Please kindly clarify me on this.
    Thanks in advance.

    It might come as a surprise to some, but this is all information that can be easily derived from the online SAP documentation. Here we go...
    A type group (which can be defined via the [TYPE-POOL|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOL.htm] statement) is more or less a historical artifact, which allowed you since release 3.0 to define any type globally in the data dictionary (and at that time the data dictionary was limited and didn't allow for example types for internal tables). For further reading I recommend the online help on [data types in the ABAP dictionary|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm].
    Now, a type group is not like any include, because it only allows certain statements (see [TYPE-POOL|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOL.htm] in the online ABAP help) and is designed as a global object for re-use. E.g. in TOP includes you would also define your global data (e.g. if you have a module pool for a dialog program), whereas in type groups you cannot do that. And obviously a TOP include is not necessarily a global object that should be shared across programs (though of course you can do that).
    As Clemens already pointed out, type groups are nowadays considered obsolete, because you have different alternatives  (see comments in [data types in the ABAP dictionary|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/frameset.htm]). Note also that with 7.0 EhP2 the ABAP compiler automatically loads type groups on demand (which also shows you their global nature) and thus making the statement [TYPE-POOLS|http://help.sap.com/abapdocu_70/en/ABAPTYPE-POOLS.htm] obsolete (see the comments there).
    Cheers, harald

  • SLIS Type Pool

    Hi,
    Can anyone explain me for what the SLIS type pool is used for?
    Please explain me the following sub-routines.
    PERFORM get_fieldcat USING 'SGTXT'    'Cheque Details'  50.
    PERFORM get_eventcat CHANGING eventcat.
    PERFORM get_top_of_page  CHANGING list_top_of_page.
    PERFORM start_list_viewer.
    FORM get_fieldcat USING b_alvfield b_text b_size.
      ADD 1 TO fieldcat_ln-col_pos.
      fieldcat_ln-fieldname = b_alvfield.
      fieldcat_ln-seltext_l = b_text.
      fieldcat_ln-outputlen = b_size.
      APPEND fieldcat_ln TO fieldcat.
    ENDFORM.                    " get_fieldcat
    FORM get_eventcat CHANGING p_event_cat TYPE slis_t_event.
      CONSTANTS:
      formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
      DATA : ln_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                i_list_type     = 0
           IMPORTING
                et_events       = p_event_cat
           EXCEPTIONS
                list_type_wrong = 1
                OTHERS          = 2.
      READ TABLE p_event_cat WITH KEY name = slis_ev_top_of_page
                                     INTO ln_event.
      IF sy-subrc = 0.
        MOVE formname_top_of_page TO ln_event-form.
        APPEND ln_event TO p_event_cat.
      ENDIF.
    ENDFORM.                    " get_eventcat
    FORM get_top_of_page CHANGING p_list_top_of_page.
      DATA: topline TYPE slis_listheader.
      CLEAR topline.
      topline-typ  = 'H'.
      CONCATENATE  'User  : '  sy-uname
                    INTO topline-info.
      APPEND topline TO list_top_of_page.
      topline = ' '.
      APPEND topline TO list_top_of_page.
      topline-typ  = 'S'.
      topline-info = 'Last 4 months Average Sales'.
      APPEND topline TO list_top_of_page.
    ENDFORM.                    " get_top_of_page
    FORM start_list_viewer.
      DATA :  pgm LIKE sy-repid, t1(30) TYPE c.
      t1  = 'USER_COMMAND'.
      pgm = sy-repid.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_callback_program      = pgm
                i_callback_user_command = t1
                is_layout               = layout
                it_fieldcat             = fieldcat
                i_save                  = 'A'  "To save variants
                it_events               = eventcat[]  "heading
                is_print                = printalv
           TABLES
                t_outtab                = i_bsad
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " start_list_viewer
    I am new to this type of programming. Please explain me this sub-routines. Good explaination will be rewarded.
    Best Regards
    Renjan

    HI,
    Its nothing but abap code,
    where some bunch of
    TYPES (data types) and some data declaration,
    is already done.
    (which we can use in other programs)
    (as the name suggests,
    it is a pool (bunch)
    of TYPES.
    It is type-pool (bunch of types)
    required for ALV purpose.
    (eg. variable for field catalogue, alv layout etc)
    Advantage is that we have to use such types,
    just by referring, them, (bcos they are already defined)
    Types-Pool contains the TYPE declaration which is global and can be used across any program.Once we write
    TYPE-POOL : <pool name>
    It will include all declariuon in the program and we can refer those.
    There are many standard types pool provided by SAP
    like SLIS,ICON,ABAP etc.
    However also,we can create our own Type-Pool using
    SE11->Type Group.
    Regards,
    Laxmi.

  • Type pool

    what is the type pool used for placing a drop down list box on the module pool screen

    <b>TYPE-POOL</b>
    The introductory statement TYPE-POOL can only be used for type groups (type T programs). A program introduced with the TYPE-POOL statement can only contain global type definitions and constants declarations. The CLASS-POOL statement is generated automatically where required by the ABAP Dictionary - you should not insert it into programs manually.
    <b>example  for ALV</b>
    type-pools: slis.
    data:
    i_alv_fieldcat type slis_t_fieldcat_alv,
    i_alv_sortcat type slis_t_sortinfo_alv,
    i_alv_filtercat type slis_t_filter_alv,
    i_alv_eventcat type slis_t_event,
    i_alv_eventexitcat type slis_t_event_exit,
    i_alv_spgroupcat type slis_t_sp_group_alv,
    i_alv_excludingcat type slis_t_extab,
    w_alv_selhide type slis_sel_hide_alv,
    w_alv_isprint type slis_print_alv,
    w_alv_keyinfo type slis_keyinfo_alv,
    w_alv_layout type slis_layout_alv,
    w_alv_variant type slis_layout_alv,
    i_alv_list_top_of_page type slis_t_listheader,
    w_alv_save(1) type c value 'A',
    w_alv_default(1) type c value 'X',
    w_alv_interface_check type c,
    w_alv_sort_pos type i,
    w_alv_screen_start_column type i,
    w_alv_screen_start_line type i,
    w_alv_screen_end_column type i,
    w_alv_screen_end_line type i,
    w_percentage_old type i value 1.
    data: gt_events type slis_t_event,
    ls_event type slis_alv_event,
    g_repid type sy-repid,
    w_callback_subroutine type slis_formname,
    w_callback_program type sy-repid,
    w_no_zero(1) value 'X',
    w_alv_sortcat type slis_sortinfo_alv.
    data: t_header type slis_t_listheader,
    wa_header type slis_listheader,
    t_line like wa_header-info.
    reward points  if it is usefull ...
    Girish

  • How do I set the initial servlet pool size in WL 5.1

              In WL 4.5, I can set the initial servlet pool size using the
              weblogic.httpd.servlet.SingleThreadedModelPoolSize. I tried to set this property in WL 5.1, and get an "Found undeclared property..." message when booting WL. Is this feature still supported in WL 5.1? If so, how do I set it?
              Thankx
              

    It appears that pool size of 5 is hardcoded somewhere - no matter where you specify
              weblogic.httpd.servlet.SingleThreadedModelPoolSize, the following test servlet:
              import javax.servlet.*;
              import javax.servlet.http.*;
              public class SingleT extends HttpServlet implements SingleThreadModel {
              static int instanceCount = 0;
              public SingleT() {
              super();
              System.out.println("Instance " + (++instanceCount) + " created");
              always produces:
              Instance 1 created
              Wed Nov 01 11:15:36 PST 2000:<I> <ServletContext-General> SingleT: init
              Instance 2 created
              Wed Nov 01 11:15:36 PST 2000:<I> <ServletContext-General> SingleT: init
              Instance 3 created
              Wed Nov 01 11:15:36 PST 2000:<I> <ServletContext-General> SingleT: init
              Instance 4 created
              Wed Nov 01 11:15:36 PST 2000:<I> <ServletContext-General> SingleT: init
              Instance 5 created
              Wed Nov 01 11:15:36 PST 2000:<I> <ServletContext-General> SingleT: init
              Joe Trung <[email protected]> wrote:
              > Hi Huy,
              > There are lot of 'undeclared' stuffes if you move from 451 to 51.
              > However, if you run WLS with
              > '-Dweblogic.httpd.servlet.SingleThreadedModelPoolSize=10'
              > You will get what you want. I think BEA has moved this option to the <System props>, no more in its <config>
              > Joe
              > "Huy Pham" <[email protected]> wrote:
              >>
              >>In WL 4.5, I can set the initial servlet pool size using the
              >>weblogic.httpd.servlet.SingleThreadedModelPoolSize. I tried to set this property in WL 5.1, and get an "Found undeclared property..." message when booting WL. Is this feature still supported in WL 5.1? If so, how do I set it?
              >>
              >>Thankx
              Dimitri
              

  • Issue in setting up a connection pool in Glassfish

    Hello,
    I'm having an issue in setting up a connection pool in Glassfish. Previously I did it succesfully when I installed Glassfish in a Windows Server machine, but now I'm trying to do the same thing on a Linux machine and it's not working.
    Glassfish version is: Glassfish server open source edition 3.1.1 (build 12)
    The machine is a AWS machine running Amazon Linux AMI
    Oracle Database is Oracle 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option
    The Oracle client installed on the machine is Release 11.2.0.3.0 Production
    Java version is: Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
    I've created the pool with the following options:
    Resource Type: javax.sql.DataSource
    Datasource classname: oracle.jdbc.pool.OracleDataSource
    And as additional properties (apart from User and Password) I put as URL jdbc:oracle:oci8:@EVOREAD
    The TNS file is correct and I can connect without any problem using sqlplus. I already copied the ojdbc6.jar in the /opt/Glassfish3/Glassfish/lib folder and I already restarted Glassfish server. Basically I did all the same steps that I did in the Windows machine, but in the Linux machine I always receive the following error:
    java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path no ocijdbc11 in java.library.path
    I needed to create also a connection pool to a MySql Database and basically I did exactly the same steps (apart of course using all the parameters needed for MySql and the proper connector) and it worked immediately.
    Anyone can help me?

    You are using an OCI driver? You can either revert to using a thin client, or install the SQL client binaries and add its lib directory to the LD_LIBRARY_PATH.

  • Dreamweaver setting wrong file type and creator codes

    First of all, I'm running Mac OS X 10.5.2 on an Intel-based
    Mac, with Dreamweaver CS3 9.0 build 3481.
    I have a site defined where I connect to my web server via
    FTP. On my server, I just upgraded my forum software to PHPBB 3.0,
    which created a new /forums/ directory. My plan is to use
    Dreamweaver to download that new /forums/ directory to my local
    site where I can edit the files. Inside the forums folder are
    several types of files, like ".php" files, ".htm" files, ".gif"
    files, etc.
    So, upon downloading the /forums/ folder to my local machine
    by dragging and dropping it (in Dreamweaver) from the remote site
    to the local site, I noticed that Dreamweaver insists on setting
    HFS file type and creator codes for files it recognizes, based on
    the filename extension.
    I've connected to the same server using the Finder and
    Transmit, and copied the remote /forums/ folder over to my local
    machine. Neither of those copies have files with file types and
    creator codes set, meaning they aren't actually set on the remote
    files and that this is indeed something Dreamweaver is doing on the
    fly as it downloads the files.
    I'm wondering if there's any way possible to disable this
    behavior, and just download the files like they are on the server?
    (File extension only). To make matters worse, on my Intel-based
    Mac, it's not even setting the proper codes, as you can see in the
    following image:
    http://homepage.mac.com/mdouma46/images/dreamweaver.png
    Notice for the ".php" document, it's attempting to set a file
    type of 'TEXT' and a creator code of 'DmWr' (DreamWeaver's creator
    code), but because the Dreamweaver developers didn't bother to take
    into account the byte-ordering differences between PowerPC Macs and
    Intel Macs, the codes are written in reverse: 'TEXT' becomes
    'TXET', and 'DmWr' becomes 'rWmD'. (If you're going to use
    low-level routines such as FSSetCatalogInfo() to set the file types
    and creator codes, you need to call CFSwapInt32HostToBig() on the
    OSType values before doing so, to make sure they're in Big-endian
    format).
    Anyone know where the conversion information is stored?
    Thanks in advance.....

    Creator codes are totally deprecated in snow leopard. as for a workaround you can use something like this.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on open these_items
    repeat with this_item in these_items
    tell application "Finder"
    set the_file to POSIX path of (this_item as alias)
    tell application "System Events"
    set default application of file (the_file) to ("Main HD:Applications:Preview.app" as alias)
    end tell
    end tell
    end repeat
    end open</pre>
    save it as an application and drop files onto it to set them to open with Preview.

  • Setting the doc.type to use for t.code ABUMN (transfer asset ...)

    Hi All,
    Could anyone show me where to set, in customizing, the doc.type to use for t.code ABUMN (transfer asset within company code)?
    Thanks
    Umberto Gandalf

    AO71                   Document type for posting deprec.
    AO72                   Specify posting procedure
    AO73                   Define Transaction Type
    AO73_INV               Define Transaction Type
    AO74                   Define Transaction Type
    AO75                   Define Transaction Type
    AO76                   Define Transaction Type
    AO77                   Define Transaction Type
    AO78                   Define Transaction Type
    AO79                   Define Transaction Type
    AO80                   Define Transaction Type
    spro- FA - AA - transactions - transfers
    Rgds.

Maybe you are looking for