Structure and Table

Dear Friends,
Can somebody explain the difference between Table and Structure. In release procedure customisation, we define CEKKO structure (instead of table name) and field as BSART, WHY?
Thanks in advance.
Khalid

Hello,
The structure is a flat "structure", so it can't be used to stored the data, but only to manage the variable, so to define a work area for a program, for the dynpro or to define the parameters of the interface of the functions or the methods.
U can include a structure in a table: so this table'll have the same "structure" of the structure (or a part of the "structure" of the table is like the structure).
So the structure ia an easy way to organize severals data belonging to the same business.
Regards
Sapman man

Similar Messages

  • Differrences between structure and table in data dictionary in ABAP?

    What is the differrences between structure and table in data dictionary in ABAP?
    are they same?

    Tables :
    1. The place where the data is stored so that you can retrieve at any time.
    2. There can be more than one record stored
    Structures :
    1. The data / info stays only during the runtime of the application and will not get stored at all during the run time ....
    2. Only one record can be stored at the runtime .....
    A structure forms the skeleton of the table.
    A structure comprises components i.e., fields. Types are defined for the components A component can refer to an elementary type (via a data element or by directly specifying the data type and length in the structure definition), another structure or a table type. A structure can therefore be nested to any depth
    Tables can be defined independently of the database in the ABAP Dictionary. The fields of the table are defined with their (database-independent) data types and lengths.
    When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP Dictionary. The table definition is translated from the ABAP Dictionary to a definition of the particular database.

  • Calrification of structure and table type

    hai experts,
    what is the difference between STRUCTURE AND TABLE TYPE?

    Refer this for TABLE TYPE
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
    STRUCTURE
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d74358411d1829f0000e829fbfe/content.htm
    SE11, In structre u <b>cant maintain any values</b>. Its just used as a refernce.
    In tables u can maintain values.

  • Extractor andExtract structure and table Relation

    Hi All,
    Is there any system table which provides the Datasource/Extractor/ Extract
    structure and table Relation Information.
    For ex:
    Data source 2LIS_02_ITM uses following tables for data
    EKKO
    EKPO

    Hi Murali,
    I'm not really sure if there exists a table to give the information that you've asked for...
    Let me to tell you something to find out the tables referred in a datasource.
    Execute your datasource in RSA3 in Debug mode. This will give you the details of the tables used by that datasource.
    assign points if useful ***
    Thanks,
    Raj

  • How can we use IMPORT-EXPORT as structure and TABLES parameters?

    Hello Sir,
    I have used SAPRFC with single IMPORT and EXPORT parameter.
    Could anybody give me an example in I can use IMPORT/EXPORT as structure and TABLE parameter as input?
    of course from/to PHP.
    Regards,
    RH

    Thanks

  • Difference between Info structure and Table

    Hi Friends
    I need to know difference between info structure and table (updating a table using a scheduled program),Which one of this is better and why?
    Please help me to get the Pros and Cons of the two available approach.
    Thanks
       Mitesh

    Hi,
         No different, these are just transparent tables like any other. You can select data from them the same as any other transparent table.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4342729&messageID=1424611
    https://forums.sdn.sap.com/click.jspa?searchID=4342729&messageID=3609095
    Regards

  • Extract structure and table

    Hi Experts,
    How to know the fields of a extract structure are populated data from which tables?
    Thanks,
    Bill

    Hi,
    Datasource / tables in the source system
    Go to RSA2 (DS Repository) in your source system and display your source system.
    If Extraction Method is 'V' - you are lucky and you see table name where data is taken from.
    If it is F* - function module is used, and you have to go thru its code to see all the tables it uses and logic how data is
    processed.
    Ext. Meth   Short text                                                                               
    V                 Transparent Table or DB View                
    D                  Fixed Domain Value                          
    F1                Function Module (Complete Interface)        
    F2                Function Module (Simple Interface)          
    Q                 Extraction Using ABAP Query                 
    A                 DataSource Append                           
    or
    Table ROOSOURCE in ERP.
    Relevant fields EXMETHOD, EXTRACTOR.
    IF EXMETHOD = V, EXTRACTOR is view or tablename
    IF EXMETHOD = D, EXTRACTOR is name of domain
    IF EXMETHOD = F1, F2 EXTRACTOR is name of FM
    IF EXMETHOD = Q EXTRACTOR is name of Info set
    OR
    Since you have the extract structure and the extractor, you must have some transaction like the Extractor Checker RSA3. If so
    then execute ST05, switch on the trace and execute the extractor checker. Once the extractor checker presents the results
    switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to
    retrieve data and present it to you.
    Thanks,
    JituK

  • Waht are differances etweent structures and tables

    plz answer this questions

    Hi,
    Basiclly, a structure does not have data and table does. A structure is a set of fields, and you can access that fields in your program using:
    structure-field1 = value1.
    structure-fiels2 = value2.
    structure-fieldn = valuen.
    So, you can not access an structure by SE16, it's not make sense. You can view the definitions of structure using SE11 transaction.
    Also, structures cannot store group of records But it can able to hold a SINGLE record.
    Whereas,
    SAP table is a place where the data can be stored which uses any SAP structure.
    watch this link from sap help also.
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/ac/3547360f2ea61fe10000009b38f839/frameset.">http://help.sap.com/saphelp_47x200/helpdata/en/ac/3547360f2ea61fe10000009b38f839/frameset.</a>
    Regards,
    Gaurav
    <b>Reward points if helpful</b>

  • Viewing/extracting SAP structure and Table DDL

    Hope someone can help me ....I
    I want to create tables with column names as exactly as those in SAP, for an ETL process.
    I was able to get the DDL for VBAP, though I had to edit quite a few things.
    But couldn't get those of Structures (tried KUAGV).
    Can someone paste details of how to get DDLs of Tables and Structures in SAP ECC6..
    right now starring at the   'ABAP Dictionary: Initial Screen'
    Thanks in advance...

    Hi,
    See the given link, It may help you.
    Append existing structure in the table
    Regards,
    Shamma

  • Create  structure and table similar to a dynamic table.

    Hi,
    i need to create a structure  similar to that of a dynamic table. your help will be appreciated.
    Thanks,
    KK.

    REPORT z_dynamic.
    TYPE-POOLS : abap.
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                   <dyn_wa>,
                   <dyn_field>.
    DATA: dy_table TYPE REF TO data,
          dy_line  TYPE REF TO data,
          xfc TYPE lvc_s_fcat,
          ifc TYPE lvc_t_fcat.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p_table(30) TYPE c DEFAULT 'T001'.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      PERFORM get_structure.
      PERFORM create_dynamic_itab.
      PERFORM get_data.
      PERFORM write_out.
    *&      Form  get_structure
    *       text
    FORM get_structure.
      DATA : idetails TYPE abap_compdescr_tab,
             xdetails TYPE abap_compdescr.
      DATA : ref_table_des TYPE REF TO cl_abap_structdescr.
    * Get the structure of the table.
      ref_table_des ?=
          cl_abap_typedescr=>describe_by_name( p_table ).
      idetails[] = ref_table_des->components[].
      LOOP AT idetails INTO xdetails.
        CLEAR xfc.
        xfc-fieldname = xdetails-name .
        xfc-datatype = xdetails-type_kind.
        xfc-inttype = xdetails-type_kind.
        xfc-intlen = xdetails-length.
        xfc-decimals = xdetails-decimals.
        APPEND xfc TO ifc.
      ENDLOOP.
    ENDFORM.                    "get_structure
    *&      Form  create_dynamic_itab
    *       text
    FORM create_dynamic_itab.
    * Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ifc
        IMPORTING
          ep_table        = dy_table.
      ASSIGN dy_table->* TO <dyn_table>.
    * Create dynamic work area and assign to FS
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    ENDFORM.                    "create_dynamic_itab
    *&      Form  get_data
    *       text
    FORM get_data.
    * Select Data from table.
      SELECT * INTO TABLE <dyn_table>
                 FROM (p_table).
    ENDFORM.                    "get_data
    *&      Form  write_out
    *       text
    FORM write_out.
    * Write out data from table.
      LOOP AT <dyn_table> INTO <dyn_wa>.
        DO.
          ASSIGN COMPONENT  sy-index
             OF STRUCTURE <dyn_wa> TO <dyn_field>.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          IF sy-index = 1.
            WRITE:/ <dyn_field>.
          ELSE.
            WRITE: <dyn_field>.
          ENDIF.
        ENDDO.
      ENDLOOP.
    ENDFORM.                    "write_out

  • Mass structure and table Inconsistencies after upgrade

    Hi all,
    I'm on an upgrade project upgrading system from R/3 4.6 to SAP ECC 6.0 EHP4. After the upgrade, apparently there's a mass inconsistencies that happen in the table. There's at least 1000 table which can be activated because of this inconsistencies between runtime and DDIC based on the checking run using program RUTMSJOB.
    I've tried applying note 1248769 but it does not fix the problem. I've also tried the mass checking and activation feature of report RUTMSJOB which also does not fix the problem.
    Has anybody encounter this problem before? What's your solution on this problem?
    Here's the pic of the condition of the table in my SE11
    http://img683.imageshack.us/i/64131370.jpg/
    Here's the inconsistencies which is found:
    http://img375.imageshack.us/i/47550099.jpg/
    Kindly note that the same error happen even after I implement the note correction 1248769.
    Thanks
    -Suwardi-
    Edited by: Suwardi Nursalim on Jul 9, 2010 9:40 AM - Change pic link.

    Hello Suwardi,
    please inform which actions you took in SPDD and SPAU - this is key for a problem like yours.
    Did you have a transport request ready with modifications from a previous upgrade? Please check these notes:
    #68678:   Exporting modification adjustment for second upgrade
    #610311: Importing modification adjustment in second upgrade from 620
    Lastly, did you run the upgrade with latest sapup version AND latest upgrade fix?
    Now in order to fix the problem, you'll likely have to restore from backup and perform the upgrade again. Alternatively, please check note #1406740 (are you using IBM's DB2 as your database?). If you faced the problem described on this note (which points to errors in table DD03L during EU_IMP2 phase), you need to apply FP8 like on this note.
    Then you could proceed like the following to fix the problem:
    1. Restore the backup from phase MODPROF immediately before the downtime including the /usr/sap/P01/upg/abap directory
    2. reset the Upgrade with report RSUPGRES
    3. clear the upgrade directory
    4. Start the upgrade from the very beginning after installing Fix Pack 8 for your database.
    Please let us know if this helped.
    Tomas Black

  • How to declare a field in a structure and table

    Hi, I have a doubt in declaring a field inside a structure.
    types: BEGIN OF mrm_rbkpv.
            INCLUDE STRUCTURE rbkp_v.
    types: h_rbws LIKE rbws OCCURS 0,
           end of mrm_rbkpv.
    data : e_rbkp_v type mrm_rbkpv.
    Now I want I to refer to field WT_WITHCD inside table H_RBWS.
    eg : if e_ebkp_v-h_rbws-wt_withcd = 'X ' is right or wrong??????
    POints will rewarded
    Thanks in advance

    hi jaysree,
    types: BEGIN OF mrm_rbkpv.
    INCLUDE STRUCTURE rbkp_v.
    types: h_rbws LIKE rbws OCCURS 0,
    end of mrm_rbkpv.
    data : e_rbkp_v type mrm_rbkpv.
    if e_ebkp_v-h_rbws-wt_withcd = 'X '  - > this will work perfectly.
    rgds
    anver
    if hlped mark points

  • Difference between Table and Table Type

    Hi
       Can you please let me know the
    Difference between Table and Table Type and
    Difference between Structure and Table Type?
    Regards,
    Sree

    hi,
    table is a data dictionary object in sap. table is of different types
    1. transparent tables
    2. pool tables
    3. cluster tables
    table type gives option for u to select different types of internal tables. they r
    1. standard table
    2. sorted table
    3. hash table
    Structures :
    -Defined like a table and can then be addressed from ABAP programs.
    -Structures contain data only during the runtime of a program.
    -Just like user-defined data type.
    - they are not present in database server and only on application server.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Cost Component structure field and table names

    Hey all,
    i need to code a BADI to push value of one column in cost component structure to another column in ccs for only order settlements..
    any idea how to do this??
    i am very new to abap please take it easy on ur answer..
    i coulndt even find in which table and fields these values are stored...
    thank you

    I have an OSS note, it tells you step by step how to config the badi u need.. but does not mention about the logic u ll use.. it is up to you....
    so i need to find the field names and tell take these and post them to these columns...
    i dont know if i make any sence, but this is all i need to do...
    so i have the body i have the logic but i dunno the import and export fields...
    i believe the table is ckmlkeph.... and field that populate the columns are kst0XX, but i cannot see the field name and table name if i select a line in the column and F1 ????

  • Connection between Structure Field and Table Field

    Hello everybody,
    I'm trying to find a connection between a field in the structure and the actual filed in the table of the database. For example in the structure CAUFVD you have the field PLNNR. This information is stored in the table AFFL in the field PLNNR.
    In the transaction SE84 you can display a structure with all it's fields but I don't see anywhere from which table and field the information is gathered.
    Can you please help me in finding the connection between the structure field and the table field in the database in which the displayed information is stored?
    Thanks and best regards,
    CALIN Marius-Bogdan
    SAP - PP-KeyUser

    Double-click on the structure field and you can do a where-used to find the codepoints, interface usage, etc.  You might find it that way.  You could also look at the flow logic of your screen and try to trace it back.  Otherwise, you'd have to use watchpoints, the debugger, runtime analysis or various other developer tools to find the data population.  If you are a user and not a developer as your signature indicates, you might need to find a developer for this.  Sometimes, it can be incredibly frustrating with SAP because the data field will be handed off 4 or 5 times before it actually reaches its destination field.  Unfortunately, I haven't worked with PP in at least 10 years so I can't give you a better answer; maybe someone else can.

Maybe you are looking for

  • Adobe Flash CS5.5 Crashes while drawing/dragging objects.

    I have experienced quite a few crashes trying out Adobe Creative Suite CS5.5 Premium when it comes to using Flash Professional CS5.5. I have documented one of the crashes at a pastebin entry, which I will link it and an earlier crash log dump below.

  • Device Analyzer missing after 7.1 - 2061 updating

    Hi ! My name is Roberto. I have my BB Torch 9860 just (yesterday) updated to OS 7.1.0. - Pack 2061. Device Analyzer application is now missing: it is in the application list (version installed is 1.1.0.4) but there is no icon on the screen or I'm not

  • Usung a href Tag, open the linked file in associated editor

    Hi, I have a functionality where a file location would be fetched from the database, shown to the user as a hyperlink. On clicking the hyperlink the file should open in its associated editor i.e if it is a .doc it should open in word, if it is an xls

  • The url parameter format of the JCO.createClient()

    Hi there, In JCO library, we have a function: createClient public static JCO.Client createClient(java.lang.String client,                                       java.lang.String user,                                       java.lang.String passwd,     

  • Boot freeze w/2.6 kernel

    Just a FYI.. I tried installing the 2.6 IDE kernel on my Compaq Presario 2105US laptop and, on boot, it would freeze at using anticipatory io scheduler I tried with the 2.4 kernel and that worked though, so I don't know what the problem is. Hopefully