Table Types and Line Type

What is the need of Table Types,
when there is Tables.
Even when iam using in the Abap Programs in se38..
iam not getting any difference..
Even i want to about the use of Line type
when there is the structure..
iam sap 4.7 they gave that Table type describe the structure and
functional attributes  of an internal table.

Way: 1:
Go to SE84 --> Select ABAP Dict --> Table Types -->
Enter the short names like ORDER wih leading and ending * on the Table Types Field. ---> F8
This will bring all related entries of Table Types(Line Types) having ORDER has a part of its Name.
Way:2:
If you know the Table Name, then go SE11 --> Putch in the Table Name --> Press Display
Now put the cursor on the Table Name field, press CNTLSHFTF3, on the WHERE USED LIST Pop up, Select only the TABLE TYPE Option and press EXECUTE.
This will bring the Table Types and Line Types.
SAP Table Types
I. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)
• Allows secondary indexes (SE11->Display Table->Indexes)
• Can be buffered (SE11->Display Table->technical settings) Heavily updated tables should not be buffered.
II. Pool Tables (match codes, look up tables)
• Should be accessed via primary key or
• Should be buffered (SE11->Display Table->technical settings)
• No secondary indexes
• Select * is Ok because all columns retrieved anyway
III. Cluster Tables (BSEG,BSEC)• Should be accessed via primary key - very fast retrieval otherwise very slow
• No secondary indexes
• Select * is Ok because all columns retrieved anyway. Performing an operation on multiple rows is more efficient than single row operations. Therefore you still want to select into an internal table. If many rows are being selected into the internal table, you might still like to retrieve specific columns to cut down on the memory required.
• Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported
• Can not be buffered
IV. Buffered Tables (includes both Transparent & Pool Tables)
While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, it is not always necessary. Some tables are already buffered in memory. These are mostly configuration tables. If a table is already buffered, then a select statement against it is very fast. To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary display of a table (SE12). Pool tables should all be buffered.
Table Types : A table type describes the structure and functional attributes of an internal table in ABAP. In ABAP programs you can reference a table type TTYP defined in the ABAP Dictionary with the command
DATA : itab TYPE TTYP.
Reafer these links below for clear ideas.
http://help.sap.com/saphelp_nw04/helpdata/en/fb/f14736a1f0ad1fe10000009b38f839/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm
Thanks
Allot points if this helps!

Similar Messages

  • I want the message types and basic types for catsdb table

    i want the message types and basic types for catsdb table

    Hi Jagrut,
    Message Class is "LR".
    <b>Reward points, if helpful.</b>
    Regards,
    Atin

  • Diff b/w reference type and elementary type

    hi all
    can any one what is the diff b/w reference type and elementary type in data element ....
    thanks
    lokesh

    The data type attributes of a data element can be defined by:
    Specifying a domain whose attributes are copied by the data element.
    Specifying a build-in type where the data type, number of places, and possibly decimal places can be directly specified.
    Specifying a reference type, i.e. reference to a class, an interface, a type defined in the Dictionary, a built-in type, or a generic reference to ANY or DATA.
    In the maintenance screen you can set the option you require by setting the appropriate flag (domain, built-in type, reference type) and filling in the corresponding input fields.
    A reference type is a reference to another type. There are the following kinds of reference types:
    Reference to a class or an interface
    Reference to a type defined in the Dictionary
    Generic reference to ANY, OBJECT, or DATA
    Reference to a built-in Dictionary type with specification of the length and possibly also the decimal places
    You can use a reference type to define the data type properties for a data element, or for typing the component of a structure or the line type of a table type.
    In the field Referenced type, enter the name of a class, an interface, the generic references DATA, OBJECT, ANY, or the name of a type defined in the Dictionary. If the reference type is to be a predefined Dictionary type, choose the reference to the predefined type. Enter the number of characters and, if required, the number of decimal places.
    where as
    The data class describes the data format at the user interface.
    If a table field or structure field or a data element is used in an ABAP program, the data class is converted to a format used by the ABAP processor. When a table is created in the database, the data class of a table field is converted to a corresponding data format of the database system used.
    You can find a detailed description of the data classes allowed in the ABAP Dictionary in Overview of the Data Classes.

  • How to trigger a form based on object type and process type

    Hi all,
    I am new into SRM.. I have been asked to develop a form by cloning an existing standard form..
    Using bbp_output_change_sf badi you can trigger the form by passing the object type but the scenario is such that depending on the object type and process type the new form should be triggered.
    The parameter iv_object_type passes the object type but how could i pass the process type ?
    In the badi I noticed an import parameter is_event that has a field called transction_type that carries the process type but this field never got populated when i checked using debugger.
    Please help as to how i can trigger the form based on the object_type and the process_type.
    Thanx in advance.

    Thanx again Jay Yang.. Well is there any possibility that you could get the items that were confirmed..
    Let me eleborate..
    Suppose in the PO u order an item for 10 nos and 5 gets confirmed and u return 2..
    Well in my case it is that i need to fill up a field Qty returned / Qty confirmed..
    I was able to get the number of items from the PO by passing the the passing the parameter to the FM "bbp_pd_conf_getdetaill"
    but i dont know how to get the number of items been confirmed..
    The quantity field in the line item structure gives me the number of items returned..
    Can u tell me how to get the number of items been confirmed....

  • Oracle Streams 'ORA-25215: user_data type and queue type do not match'

    I am trying replication between two databases (10.2.0.3) using Oracle Streams.
    I have followed the instructions at http://www.oracle.com/technology/oramag/oracle/04-nov/o64streams.html
    The main steps are:
    1. Set up ARCHIVELOG mode.
    2. Set up the Streams administrator.
    3. Set initialization parameters.
    4. Create a database link.
    5. Set up source and destination queues.
    6. Set up supplemental logging at the source database.
    7. Configure the capture process at the source database.
    8. Configure the propagation process.
    9. Create the destination table.
    10. Grant object privileges.
    11. Set the instantiation system change number (SCN).
    12. Configure the apply process at the destination database.
    13. Start the capture and apply processes.
    For step 5, I have used the 'set_up_queue' in the 'dbms_strems_adm package'. This procedure creates a queue table and an associated queue.
    The problem is that, in the propagation process, I get this error:
    'ORA-25215: user_data type and queue type do not match'
    I have checked it, and the queue table and its associated queue are created as shown:
    sys.dbms_aqadm.create_queue_table (
    queue_table => 'CAPTURE_SFQTAB'
    , queue_payload_type => 'SYS.ANYDATA'
    , sort_list => ''
    , COMMENT => ''
    , multiple_consumers => TRUE
    , message_grouping => DBMS_AQADM.TRANSACTIONAL
    , storage_clause => 'TABLESPACE STREAMSTS LOGGING'
    , compatible => '8.1'
    , primary_instance => '0'
    , secondary_instance => '0');
    sys.dbms_aqadm.create_queue(
    queue_name => 'CAPTURE_SFQ'
    , queue_table => 'CAPTURE_SFQTAB'
    , queue_type => sys.dbms_aqadm.NORMAL_QUEUE
    , max_retries => '5'
    , retry_delay => '0'
    , retention_time => '0'
    , COMMENT => '');
    The capture process is 'capturing changes' but it seems that these changes cannot be enqueued into the capture queue because the data type is not correct.
    As far as I know, 'sys.anydata' payload type and 'normal_queue' type are the right parameters to get a successful configuration.
    I would be really grateful for any idea!

    Hi
    You need to run a VERIFY to make sure that the queues are compatible. At least on my 10.2.0.3/4 I need to do it.
    DECLARE
    rc BINARY_INTEGER;
    BEGIN
    DBMS_AQADM.VERIFY_QUEUE_TYPES(
    src_queue_name => 'np_out_onlinex',
    dest_queue_name => 'np_out_onlinex',
    rc => rc, , destination => 'scnp.pfa.dk',
    transformation => 'TransformDim2JMS_001x');
    DBMS_OUTPUT.PUT_LINE('Compatible: '||rc);
    If you dont have transformations and/or a remote destination - then delete those params.
    Check the table: SYS.AQ$_MESSAGE_TYPES there you can see what are verified or not
    regards
    Mette

  • Confusion on pair type and Processing Type

    Dear Experts
    I have the the below doubt in TIP Table
    Pair type  gives the information on the how the Time pairs being generated as
    0-      Non recorded Time
    1-      Attendences
    2-      Absences
    3-      Attendences Recorded from client 
    Processing Types also gives information on how the Time pairs are coming with below spec
    - Pair is deleted at a later stage
    BLANK Pair not included in calculation of productive time
    P Attendance pair, included in calculation
    of planned working time
    A Absence pair, included in calculation
    of planned working pair
    S Planned working time pir
    M Overtime pair
    Kindly  let me know on what senerios we go with pair type and  processing type as they have the same meaning
    Regards               
    Giri

    Hi Shruit
    i am clear but as mentioned in pair type 1= attendence (2011 - Positive) and Planned working time for negative .  in processing type S, A,P also signifies the information how the Time pairs are Generated   and also we have Origin indicator of time pair O which specifies wheather the time pairs are coming from E,M.A,P and D.
    Since they have same information why  Sap has defined pair Type processing Type and Origin Indicator
                                                                 I got the inputs theriotically but practically i am not able to get the TIP Table to read and understand .
    Thank you very much for the inputs
    Giri

  • Condition Type and Movement Type

    Dear all,
    Could anyone explain how the relationshipship between condition type and movement type are being maintain?
    Example : WE03 and Mvt 101,
                    WA03 and Mvt 201.
    Is there any table or tcodes  to view these relationship?
    Thank you.

    Hi
    Both are linked based on the Transaction event type.
    for GR movements the transaction even type is WE
    For GI Movements the transaction event ype is WA.
    Thanks & Regards
    Kishore

  • No archive information found for object type  and document type

    Hi All,
    When i try to view the print preview for a perticular doc type, system is giving the error as "No archive information found for object type  and document type"
    Diagnosis
        No information was found about optical archiving. This may be due to
        either of the following reasons:
        1.  No valid archiving parameters were passed
        2.  Your system is not configured for optical archiving
    System Response
        Processing is cancelled.
    Procedure
        Specify valid archiving parameters or check whether your system is configured for optical archiving
    Regds,
    CB

    Hello,
    You are trying to Print & also archive by selecting the option Print & Archive.
    You have to do archivelink configurations and then create document type and assign to the object type with content repository with archivelink table.
    If you want to archive the spool or output then you have to use object type as DRAW. If you are archiving invoice document or letters or so on then you have to know the object type/Business object of the transaction.
    Please note that for archivelink configuration, attachment will be either stored in archive server or in SAP database table based on business requirement.
    Hope this will give you some understanding on archiving area.
    -Thanks,
    Ajay

  • Maintenance activity type  and order type  for plant maintenance order

    How can i get the maintenance activity type  and order type  for a given plant maintenance order. Please let me know the table where i can get these two fields
    In AFIH i can only get the MAT for an order number

    Maintenance activity type -
    AFIH - ILART
    Order Category Indicator Plant Maintenance -
    AFIH - AKKNZ
    reward if heplful

  • Difference between shipping type and shipment type

    hi to all
    what is teh differe nce between shiiping type and shipment type .
    what is the shipment number
    . can u pls tell relation between shipment and delivery tables .
    sorry to ask this question ??????   pls tell the answer .

    hi to all
    what is teh differe nce between shiiping type and shipment type .
    what is the shipment number
    . can u pls tell relation between shipment and delivery tables .
    sorry to ask this question ??????   pls tell the answer .

  • MRP Type and procurement type  tabs in mmd

    Hello Experts,
    I was trying to check the MRP Type for a material master.
    In MM01, I could not locate such a tab. I think I have seen it before.
    I have entered most of the selection info like Material code etc.
    Or is it that MRP type is not visible from material master?
    What if its blank?
    I check the MARC table for the material code and the MRP type is blank.
    Also, in which tab can I maintain the procurement type? Could not find such a field in mmd.
    Have a nice day everyone.
    regards
    Bass

    Hi,
    MRP type and Procurement type are under tab MRP 1 & MRP 2 respectively in material master.
    Check MRP1/2/3/4 tabs all information you need is there.
    Kapil

  • Help in using record type and object type

    Hi Experts,
    I am new to object types and record types.
    I want to return the output of this query using one OUT parameter
    from the procedure using RECORD type or OBJECT type.
    with out using refcursor.
    SELECT empno,ename,sal FROM emp WHERE deptno=30;
    Let us assume the query is returning 50 records.
    I want to send those 50 records to OUT parameter using record type or object type.
    Please provide the for the requirement code using RECORD TYPE and OBJECT TYPE separately.
    Your earliest response is appreciated.
    Thanks in advance.

    Hi All,
    I have tried this.But it ising not work
    CREATE OR REPLACE PACKAGE maultiplevalues_pkg
    IS
    TYPE t_record IS RECORD
    (empno emp.empno%TYPE,
    ename emp.ename%TYPE,
    sal emp.sal%TYPE);
    V_RECORD t_record;
    TYPE t_type IS TABLE OF V_RECORD%TYPE;
    PROCEDURE maultiplevalues_pROC(p_deptno IN emp.deptno%TYPE,
    dept_result OUT t_type);
    END;
    CREATE OR REPLACE PACKAGE body maultiplevalues_pkg
    IS
    PROCEDURE maultiplevalues_pROC(p_deptno IN emp.deptno%TYPE,
    dept_result OUT t_type)
    is
    begin
    dept_result :=t_type();
    for I in(
    select EMPNO,ENAME,SAL from EMP WHERE deptno=p_deptno
    LOOP
    dept_result.extend;
    dept_result(i).empno :=i.empno;
    dept_result(i).ename :=i.ename;
    dept_result(i).sal :=i.sal;
    END LOOP;
    END;
    END;
    Please help me OUT return multiple values through single OUT variable in a procedure.
    Thanks.

  • TPM12 Report not shwoing Product Type and Product Type Text

    Hi ,
    After we went live with a upgrade the report TPM12 which is run by the Treasury department every day, is now showing the blank values for  "Product Type", "Product Type Text", "Transaction Type", and "Transaction Type Text". 
    Which was not the case earlier.
    Any adivce please.
    Thanks,
    Venkat

    Good day
    We have a similar issue.
    In our system the line item type for the CW product was IDCW.  When we however split them by batch into two sub-lines, the new lines defaulted to IDLV (instead of the expected IDCW).
    So I think Alexander's diagnosis is spot on?
    My question though...  What logic does EWM use to derive the item type for the sub-lines?  Because surely it should be the same as the 'parent' line item (IDCW in the case) ?
    Please advise
    Callie

  • Difference between fully-specified data types. and generic types

    Hi,
    Can anyone tell me the difference between fully-specified data types and generic types.
    Thanks in advance.
    Regards,
    P.S.

    HI
    Generic table types
    INDEX TABLE
    For creating a generic table type with index access.
    ANY TABLE
    For creating a fully-generic table type.
    Data types defined using generic types can currently only be used for field symbols and for interface parameters in procedures . The generic type INDEX TABLEincludes standard tables and sorted tables. These are the two table types for which index access is allowed. You cannot pass hashed tables to field symbols or interface parameters defined in this way. The generic type ANY TABLE can represent any table. You can pass tables of all three types to field symbols and interface parameters defined in this way. However, these field symbols and parameters will then only allow operations that are possible for all tables, that is, index operations are not allowed.
    Fully-Specified Table Types
    STANDARD TABLE or TABLE
    For creating standard tables.
    SORTED TABLE
    For creating sorted tables.
    HASHED TABLE
    For creating hashed tables.
    Fully-specified table types determine how the system will access the entries in the table in key operations. It uses a linear search for standard tables, a binary search for sorted tables, and a search using a hash algorithm for hashed tables.
    Fully-specified table types determine how the system will access the entries in the table in key operations. It uses a linear search for standard tables, a binary search for sorted tables, and a search using a hash algorithm for hashed tables.
    see this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm
    <b>Reward if usefull</b>

  • Automatic determination of Delivery type and Billing type in a sales order

    Hi,
    I want to know that in a sales order cycle, how does automatic assignment of delivery type and billing type takes place after we create a sales order?
    For example,when I create an outbound delivery for a sales order of type normal (OR) then in that case how does the system knows that it has to create an outbound delivery of type LF.How does the system propses it automatically and same is the case of billing document.

    Hi
    In customising the sales document type (Tcode VOV8) -
    specify the default Delivery type in the field DELIVERY TYPE in the 'Shipping' area of the sales document type customisation.
    Similarly you can specify the billing type in the BILLING area for both Delivery related billing and Order related billing.
    Thanks,
    Ravi

Maybe you are looking for