Regarding: type pools

hello sir,
slis_fieldcat_alv
slis_T_fieldcat_alv
what it means, what is the difference between those two
i am expecting tour replay

slis_fieldcat_alv is a structure
slis_t_fieldcat_alv is internal table which has structure of slis_fieldcat_alv
goto se11 -> type group : SLIS
find : slis_fieldcat_alv then slis_T_fieldcat_alv.
<b>Addition</b> :
<u>slis_T_fieldcat_alv</u>
1. encapsulate slis_fieldcat_alv structure.
2. this is the one that you should pass when you call REUSE_ALV_LIST_DISPLAY (one of function to build alv report)
slis_fieldcat_alv = it's a structure for internal use to build <b>slis_T_fieldcat_alv</b>.
regards,
sandi
Message was edited by: Sandi Wijaya

Similar Messages

  • 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

  • Read Type-pools into internal table

    Hi all,
    I want the type-pools content to be put into the internal table and find the Lines of Code in it.
    Can anybody suggest how it is possible?
    Regards,
    K.Tharani.

    hi
    type pool will contain a list of related datas decalred in it ,
    and we can use those datas declared
    TYPE-POOLS abap.
      DATA: litab_catalog TYPE  abap_fieldcat_alv OCCURS 0,
              s_catalog TYPE  abap_fieldcat_alv.
      DATA: LITAB_EVENT   TYPE slis_t_event,
            S_EVENT   TYPE slis_alv_event.
    CATALOG Creation.
      s_catalog-col_pos   = 1.
      s_catalog-tabname   = 'GITAB_ERROR'.       "'T_ERROR'.
      s_catalog-fieldname = 'RECNO'.
      s_catalog-outputlen = 15.
      s_catalog-seltext_l  = 'Record Number'.
      s_catalog-ddictxt = 'L'.
      APPEND s_catalog TO litab_catalog.
    i think u can move ur type pools value into a Internal table,
    and then u can use
    describe table internal table  lines work area.

  • Table prmter E_T_DATA for extract missing & TYPE-POOL "RSAZT" is unknown

    Hi
    I have created generic extraction, the name of the FM is ZRSAX_BIW_GET_DATA_CRASS.
    I have set parameter table E_T_DATA like this in Tables tab
    E_T_DATA LIKE ZRPS_CRASS
    Then I set transaction data extraction using tcode RSO2 using FM ZRSAX_BIW_GET_DATA_CRASS and structure ZRPS_CRASS, name the datasource : Z_COPA_CRASS
    I have run rsa3 and get 563 data using this datasource (Z_COPA_CRASS) at the development system
    But why when I transport this into QA and Production, I get these following error on transport log:
    1 Table parameter E_T_DATA for extractor missing
    2 TYPE-POOL 'RSAZT' is unknown (check using tcode se38, program name : SAPLZRSAX, include : LZRSAXTOP)
    For no 1:
    Why this error happen?I have set E_T_DATA to extraction structure correctly...I think...
    For no 2:
    When i check my development system, this type pool exist but when i check in production system, the type pool doesn't exist.
    Anyone can solve my problem?Thank you.
    Regards,
    Satria

    Hi Satria,
                   Go to SE37 -> give the FM name (dont click on display/change) -> on the menu bar -> Click on Go To -> Function groups -> Change Groups -> Get the Function group name. -> Just edit the Function Group description so that the Function group get collected in the TR. Also in the same window go to MAin program -> just reactivate and collect them in the TR.
    The whole function group will be collected. Apart from these, also collect the Structure, Datasource and  import it again.
    This problem arised many times for me, i have re transported the function group and things used to work properly once the Trasnporting the Function group is successful
    Regards
    Sunil

  • What is TYPE GROUP /TYPE-POOL?  When to use that ?

    hello friends
    Can any one tell me
    What is TYPE GROUP /TYPE-POOL?  When to use that ?
    Thanks & Best Regards
    Nilesh

    Type group
    If you want to define global constants, you have to use a type group. The name of
    the type group can only contain a maximum of five characters. In the type group,
    you can define constants using the CONSTANTS statement. As types, you are
    provided with the integrated ABAP types or the global types of the Dictionary.
    In order to be able to use the types of a type group in a program, make the type
    group known using the TYPE POOL statement. From these lines on, you can use
    all constants of the type group.
    The definition of a type group is a piece of ABAP code that is either maintained
    via the Dictionary (SE11) or via the ABAP Editor (SE38).
    Realization:
    The first statement for the type group zmytp is always:
    TYPE-POOL zmytp.This is followed by the definition of data types with the statement TYPES, as
    described under local program data types. Furthermore, cross-program constants
    can be declared using the CONSTANTS statement. All names of this data type
    and constants must begin with the name of the type group and an underline:
    zmytp_
    In an ABAP program, type groups must be made known with the following
    statements before they are used:
    TYPE-POOLS zmytp.
    When using this statement, all data types ansd constants, which are defined in the
    zmytp type group can be used in the program. Several type groups can be used
    in a program.

  • WHY TYPE-POOLS

    hi all,
    i wana know that why we use type-pools when we have data dictionary
    and what i study accord to that type pool and data dictionary are same
    please help with the same.
    thanks in advance
    anuj

    Hi anuj,
    it is only "old" stuff.
    Type Groups
    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.
    Regards
    Bernd

  • What type pool is used in ALV's

    Hi ,
           What type pool used in ALV's ? and How many secondary lists r possible in ALV's?
    Thanks & Regards,
    Gopi.

    SLIS
    i guess, no such limit,but not very sure about that.
    regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • Type pool: slis

    Hi experts
       pls could you explain what is TYPE-POOLS: SLIS clearly in ALV program. i want to know what is the basic structure of slis and what is type pool. thax heaps.......
    points awarded...
    kondal

    SLIS is a type pool or group and is nothing more than a collection of TYPE statements.  When you use the TYPE-POOLS: statement in your program, and name the type group SLIS, this gives you access to these TYPES so that you can use them in your DATA statements.  For example, if you want to declare an internal table for the field catalog.....
    type-pools: slis.
    data: ifldcat type slis_t_fieldcat_alv.
    Regards,
    RIch Heilman

  • How to create type pools

    Hi Experts,
    I have a query like can we create custom "type pools". if yes, then what are the steps to create it.
    Thank you in advance.
    Samad.

    hi..
    Pls check the f1 help in ur system.
    It gives u  simple examples. Anyway,
    Typepool falls under - Data types.
    Data Types
    You can define program-local data types in ABAP programs that can be used for typing or declaring additional data types and data objects according to validity and visibility.
    The corresponding statements are:
    1. TYPE-POOLS
    2.  TYPES
    3.  INCLUDE TYPE
    TYPE-POOLS
    Syntax
    TYPE-POOLS tpool.
    Effect
    Declaring global data types and constants from a type group.
    The TYPE-POOLS statement declares the data types and constants of type group tpool You can specify it in the global data declarations of an ABAP program or in the declaration section of a class or interface. The data types and constants of the type group are visible as of this statement in the current context.
    Notes
    If the declared type group tpool integrates a further type group with the TYPE-POOLS statement, its data types and constants are also declared.
    ,,Data types declared using type groups cover ABAP Dictionary data types of the same name.
    Example
    Declaration of the predefined type group abap. By referring to the table type abap_func_parmbind_tab from the type group abap, the system declares an internal table parameter_tab for the dynamic parameter transfer to function modules.
    TYPE-POOLS abap.
    DATA parameter_tab TYPE abap_func_parmbind_tab.
    regards,
    Padma
    Edited by: Padmashree RamMaghenthar on Oct 13, 2008 11:18 AM

  • Type-pools in class

    Hey guys,
    did someone of you recognized the strange behaviour of the ABAP workbench if you insert TYPE-POOLS in public section of the calss. If you than add a method to the class as PUBLIC, the TYPE-POOLS definition get lost. How could i use TYPE-POOLS within my class?
       thx,
          M.

    Hi,
    Use type-pools in the first line of class and also in public section.
    like.,
    class zcl_testclass definition.
    type-pools: <type_pool>.
    public-section.
    type-pools: <type_pool>.
    methods: method_name
    endclass.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Type Pool/Type Group Question

    We are moving Some tax Scheduling reporting into an SEm system that sirs o top of BW. The issue is there were type-pools in the R3 sending system (SAP delivered) that are not in the SEM system. 1)Can I copy and create the type-pool?2)How would I creta a typr pool?
    Or is a type-pool/group created automatically when some other deveopment is being created?
                         Thank-You

    Hi,
    You can use transaction SE11 to create type group.
    SE11 -> Enter Type Group name -> Click on Create button -> ...
    Regards,
    Ferry Lianto

  • 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

  • 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.

  • Type pools information gathering

    Hi guru's,
        I have one problem. In my program i have to find the type of variable.
    Ex
    Data a type standard table of slis_t_fieldcat.
    Data b type slis_t_fieldcat.
    so A is an internal table
    and B is an work area.
    Data c type abab_bool.
    now C is a variable.
    Now in result i have to say like this.
    a         -  Internal table.
    b         -  work area
    c         -  variable
    how to find the
    data type particularly for TYPE POOLS.
    Pls help me.
    Thanks & Regards,
    Florian.

    hi vijay,
         As you mensioned, i used the class CL_ABAP_TYPEDESCR. But the problem is that it returns three types of instances of,
         CL_ABAP_TABLEDESCR       - for Internal Table
         CL_ABAP_STRUCTDESCR     - for Structure
         CL_ABAP_ELEMDESCR        - for Variables.
         Now, with this instance, how to get there class name? if i get it, i will cross check with these class names.
         desc ?= cl_abap_classdescr=>describe_by_data_ref(
        p_data_ref           = sli
         In this statement, how to get a class name of the instance desc?
    Regards,
    Florian.

  • Alv without type-pools statement

    hi experts,
    can we use reuse_alv_list_display, function module in a report......
    without declaring an type-pools: slis. is it possible.
    if yes give me an example.....
    what are all the mandatory requirements for an alv report.............

    Hi ,
      SLIS is basically used to get the various structures and data types which you use in the FM called by the program , so if you want to implement it without SLIS  then you will have to declare all the data types in your program the same way it is declared in SLIS .
    Why are u a hesitant in using the type pool?
    Regards
    Arun

Maybe you are looking for

  • K9N Platinum Sli trouble

    so i have assembled my new system: Athlon 64 x2 AM2 4200+ Zalman CNPS9500 K9N Platinum Sli OCZ DDR2 PC2-5400 667MHz EL Gold Edition 2GB Dual Channel Kit XFX Geforce 7600GT 256mb XXX edition (another one will be added today for SLI) a SATA drive and a

  • The remote server returned an error: (401) Unauthorized

    We are attempting to upload a file to SharePoint on Office 365 and get the following error: The remote server returned an error: (401) Unauthorized. We also tried using NetworkCredentials and that got the following error: The remote server returned a

  • Passing parameters to reports from forms.

    Hi we are using developer suite 10g and developed some applications.Our reports are working from report buider and also from the forms when we are not passing any parameter. But when we add the clause to pass the parameter from forms fields it does n

  • Flash Player Installer 10.1 freeze during installation at 95% (mac OS 10.6.4)

    When i try to install flash player 10.1 on my macbook pro (Intelcore2duo, mac os 10.6.4, Safari 5.0.1), installer freeze at 95%. Impossible to install it. Any idea ? Thank's. David

  • WLC+16 APS *THE WIFI CLIENTS DOES NOT ASSOCIATE TO THE STRONGEST AP SIGNAL

    hi, i am working with a WLC 4102, and i have about 16 aps (lwapp) installed in different locations, but i have a big problem, when a wifi client is already associated to and ap, this wifi client does not associatte to the ap with the bigger signal. h