Appending structures to the tables

Hi experts,
Why we are appending sturctures to the tables?
can any one tell me the main differences between the APPEND and INCLUDE structures
in Datadictionary.
Thanks in Advance.

Hi Ankita,
Customizing Includes
A Customizing include is a structure that satisfies a special naming convention. The name of a Customizing include begins with u2018CI_u2019 and the include is in the customer namespace.
If enhancements are already planned in the R/3 standard using customer-specific fields, such Customizing includes are included. in the corresponding standard table or standard structure. The Customizing include (that is the definition of the structure itself) is usually first created in the customer system and filled with fields by special Customizing transactions.
Customers can thus enhance tables and structures of the R/3 standard system without themselves having to modify the table and structure definitions. This means that these enhancements will not be lost when upgrading. If a table or structure of the R/3 standard system is enhanced with customer fields using a Customizing include, these customer fields are automatically inserted in the new delivered table or structure definition during an upgrade.
If you create a Customizing include for a table or structure, only those enhancements are allowed that are consistent with the enhancement category of the enhanced table or structure. For more information, see Structure Enhancements.
Customers can but need not create a Customizing include and fill it with fields. If there is no Customizing include, there is no error message when the table or structure including it is activated.
A Customizing include can be contained in several tables or structures, so that they remain consistent when the include is modified.
Append Structures
Append structures are used for enhancements that are not included in the standard. This includes special developments, country versions and adding customer fields to any tables or structures.
An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.
The following enhancements can be made to a table or structure TAB with an append structure:
Insert new fields in TAB,
Define foreign keys for fields of TAB that already exist,
Attach search helps to fields of TAB that already exist,
These enhancements are part of the append structure, i.e. they must always be changed and transported with the append structure.
When a table or structure is activated, all the append structures of the table are searched and the fields of these append structures are added to the table or structure. Foreign keys and search help attachments added using the append structure are also added to the table. If an append structure is created or changed, the table or structure assigned to it is also adjusted to these changes when the append structure is activated.
Since the order of the fields in the ABAP Dictionary can differ from the order of the fields on the database, adding append structures or inserting fields in such append structures does not result in a table conversion.
The customer creates append structures in the customer namespace. The append structure is thus protected against overwriting during an upgrade. The fields in the append structure should also reside in the customer namespace, that is the field names should begin with ZZ or YY. This prevents name conflicts with fields inserted in the table by SAP.
Reward if found helpful.
Anirban Bhattacharjee

Similar Messages

  • The row structure of the table BANFTAB is incorrect

    Dear Experts,
    I get right here the error message
    The row structure of the table BANFTAB is incorrect
    ZBANFN is a table type and has the line tab BANFN.
    Can you pls tell me what is wrong here ?
    FUNCTION Z_CHANGE_EBAKZ_FLAG.
    *"*"Lokale Schnittstelle:
    *"  CHANGING
    *"     VALUE(BANFTAB) TYPE  ZBANFN
      data lt_eban type table of eban.
      data ls_eban type eban.
      SELECT * FROM eban into table lt_eban where BANFN IN BANFTAB AND EBAKZ EQ 'X'.
      IF SY-SUBRC IS INITIAL.
        LOOP AT lt_eban INTO ls_eban .
          ls_eban-EBAKZ = ' '.
          modify eban from ls_eban.
        ENDLOOP.
      ENDIF.
    ENDFUNCTION.

    Hello,
    You have to use a ranges table in this case.
    FUNCTION Z_CHANGE_EBAKZ_FLAG.
    *"*"Lokale Schnittstelle:
    *"  CHANGING
    *"     VALUE(BANFTAB) TYPE  ZBANFN
      data:lt_eban type table of eban.
      data:ls_eban type eban.
    data:
    l_r_banfn type range of banfn,
    l_wa_banfn like line of l_r_banfn,
    l_wa_banftab like likne of BANFTAB.
    loop at banftab into l_wa_banftab.
    l_wa_banfn-sign = 'I'.
    l_wa_banfn-option = 'EQ'.
    l_wa_banfn-low = l_wa_banftab-banfn.
    append l_wa_banfn into l_r_banfn.
    clear l_wa_banfn.
    endloop.
      SELECT * FROM eban into table lt_eban
      where
      BANFN IN L_R_BANFN "BANFN IN BANFTAB
    AND EBAKZ EQ 'X'.
      IF SY-SUBRC IS INITIAL.
        LOOP AT lt_eban INTO ls_eban .
          ls_eban-EBAKZ = ' '.
          modify eban from ls_eban.
        ENDLOOP.
      ENDIF.
    ENDFUNCTION.
    or you can use FOR ALL ENTRIES :
    FUNCTION Z_CHANGE_EBAKZ_FLAG.
    *"*"Lokale Schnittstelle:
    *"  CHANGING
    *"     VALUE(BANFTAB) TYPE  ZBANFN
      data lt_eban type table of eban.
      data ls_eban type eban.
      SELECT * FROM eban into table lt_eban
      FOR ALL ENTRIES IN BANFTAB "--> Add this
      where BANFN = BANFTAB-BANFN
      AND EBAKZ EQ 'X'.
      IF SY-SUBRC IS INITIAL.
        LOOP AT lt_eban INTO ls_eban .
          ls_eban-EBAKZ = ' '.
          modify eban from ls_eban.
        ENDLOOP.
      ENDIF.
    ENDFUNCTION.
    Try this & let me know in case of any issues.
    BR,
    Suhas
    Edited by: Suhas Saha on Feb 10, 2009 5:43 PM

  • How to delete append structure in a table?

    Hi guys,
    How can I delete the structure appended to a table?
    Thanks in advance!

    hi,
    select the structure in the table which the atructure is available  by going to SE11
    and choose the Delete line option by right clicking.
    or
    Go to SE11
    enter the structure name
    choose the delete option from Application toolbar.
    <b><i>Reward points if useful</i></b>
    Chandra
    Message was edited by:
            Chandrasekhar Velpula

  • Append Structure in Standard Table

    Hi Gurus,
    My problem Is:---
    I create an Append Structure on Standard Table..it create successfully..but after it, when i want to activate the standard table, it gives errors....
    Not standard table is partially active...
    I want to reverse it back...how it is possible....
    My Solution:.. I try my besy through SE14...there I give the Table name and click on EDIT...
    there i click on Activate and Adjust Database...but there it gives errors....
    Append structure ZMARC11 appended to table MARC
    Current enhancement classification 'enhanceable and numeric or char.type' is incorrect
    The following enhancement classifications can be selected:
        'Can Be Enhncd(Deep)'
    Field MATNR in table MARC is specified twice. Please check
    Field MATNR: Reference MATNR to class w/o interface cannot be used in DB table MARC
    Field MEINS: Reference MEINS to class w/o interface cannot be used in DB table MARC
    Attachment of search help MAT1 to field MARC-MATNR is deleted
    Activation of Table MARC not possible (please check)
    Request for MARC could not be executed..
    Plz. Help....

    Hi,
    I know the fields name...
    MARC-MATNR...and MARC-MEINS...
    How can i revert back....
    Plz Help...

  • Remove Appended Structure from standard table

    Hi Experts,
    I have appended a Z structure to table VBAP.
    I want to remove it now. How can I do?
    Rajiv Ranjan

    Hi Rajiv Ranjan,
    to delete the append structure from the database table, follow the points
    1. Goto se11
    2. enter your append structure name.
    3. press delete
    4. It will delete this append,
    also in the original table/structure
    where it is used, AUTOMATICALLY.
    5.now the data base table VBAP is partially active so
    go to tcode se14 and give the table name and click on EDIT button
    and click on ACTIVATE AND ADJUST button.
    then it will work.
    if it is not possible reply to me.
    regards
    sreenivas

  • How to delete the Append Structure in VBAK Table.

    I wrongly appended the structure to the standard VBAK table.  Because of this SAP Kernel is get damaged.
    So, i cannot able to acces my datasource in R/3 side.
    can anyone help me to resolve this problem

    Hi,
    Welcome you post on the forum.
    However, this forum is for SAP Business One user only. It is not related R/3. Please close your thread and post it on a proper forum.
    Thanks,
    Gordon

  • Error while appending structure into BSEG Table

    We had appended BSEG table with a ZSTRUCTURE to enable Custom field in MIRO. Subsequently there was a change required in the appended field. After Changing the field there was adjustment required to activate the appended table . However due to slow system performance during that time the Adjustment SE14 timed out. And created inconsistency in BSEG table.
    If I Do the Table adjustment now it is showing below error.
    We tried to delete the append structure also but the structure is not appearing in the append structure list to delete.
    Even if we try deleting the Z structure from se11 it is throwing below error.
    Any one could help me out to resolve this..

    hi Ramesh,
    Please First Check if the Database version and disctionary version are in sync.
    Also, it could be the case that you would have enhanced an already existing Append stucture. which might be being used in other BKPF dependent tables.
    Please check

  • How to append structure into transperant table in sap abap

    Hi all,
      I have 1 structure already in the data dictionary .
    And this structure is already being used by other transperant table for creatin the fields .
    Now i need to create new table and wann use the same structure .
    when i click on the Append Structure it shows that this structure us already been assign to other table .
    So, can i not used the same structure for more than 1 transperant table |???
    Praff

    Hi Prafful,
    You cannot append the same structure, if already used.
    I think you can include the structure instead of appending it.
    Goto the change mode (CTRL+F1).
    Edit -> Include -> Insert.
    Hope this helps...
    Lokesh
    pls. reward appropriate points

  • Any method or FM to append structure to a table

    Hi All,
    I have the requirement where in the user can append the new structure to the target structure/table using my interface.
    Is there any <b>FM’s or methods for appending a structure</b> , so that upon successful appending, I want my interface screen to show up .
    Points would be rewarded, if helpful.
    Regards,
    Anil Kumar .

    Hello Anil
    Probably function module DDIF_TABL_PUT will provide the means to define the fields of a DDIC structure including appends.
    If this function module is not able to create an append in the first place I am sure there will be a standard function module available for this function.
    But again, I do not understand why a customer would need such a function? None of the programs and views referencing the table with the modifiable append will reflect the changes inserted by the customer.
    Regards
       Uwe

  • Assignment between include/Append structures and Database Tables

    Hi All,
    I need to find the list of all Append/Include Structures in my system and Their assignment to Tables.
    (For Each Append/Include structure, to which table it was assigned)
    Is there any way to find it?
    Thanks,
    Krishna.

    Hi,
    Go to se11 - data type - give Z* and press F4.
    Pop-up will come  - click on search for structures - u will get standard structures.
    Then take any structure name and check for where used list ( cont + shift + F3) .
    U will get all the DB tables where and all they have used that include / append structure.
    Regards,
    Kusuma.

  • Append Structure in FPLT table

    Hi,
    I'm posting this query after going through various posts on the subject.
    We are in 4.7 version and would like to add custom fields to table FPLT, to store additional information.
    Since there are no customer includes in FPLT table, we intend to add append structure with our new fields.
    Want to know if anyone has done similar enhancement? and if there is any negative impact on billing etc?
    In some posts the exits RV60FUS1 & RV60FUST has been suggested to use. However,not sure how these can be used to store data in custom fields without modifying FPLT table. Appreciate any suggestion/solution. Thanks

    Hi Sanjay,
    That is indeed the reason why I wanted you to use a Z table.
    You can of course draft the entire set of business processes and how the table needs to be updated in all those scenarios. The scenarios can include
    Inclusion of a billing record in the billing plan
    Deletion of a billing record
    Change of billing percentage, value , date category, billing type, billing block etc on a billing plan
    Creation of billing document for a billing plan item etc....
    You need to think of all these scenarios and update the Z table. Innovatively, you can also delete the records from this Z table (if that is possible in ur process flow) when the last billing plan item is processed for billing creation. We have such scenarios and we enable the deletion of some Z tables in some our processes

  • CI_ANLU structure in the table ANLU(R/3 System)

    Hi,
    Cud u pls tell me what is the CI_ANLU include structure(which is not defined) in the table ANLU. Due to CI_ANLU structure, I am gettig following error:
    TRANSF_1_1_1> [ZBAPI_FIXEDASSET_GETLIST_RFCSSCallFunction_17408] [ERROR] [SAP STATUS: E] [SAP MESSAGE NUMBER: 016] RFC function call with IntegrationID [3.000000000000000] reported ERROR status in [RETURN] RETURN structure.
    [SAP MESSAGE: Customer enhancement not active or structure CI_ANLU not defined].
    Plese let me know about this error urgently.

    Hi Bablu,
    Refer to the link below
    http://janpreetdba.blogspot.in/2013/08/reorg-table-and-index-storage-quality.html
    This will help you filter our tables and indexs having poor storage quality and can be a candidate for reorg.
    Hope this helps.
    Regards,
    Deepak Kori

  • Purpose of Append Structure in DDIC(SE11)

    What is the purpose of Append Structure in DDIC(SE11)-Table?How to use this?
    Title by: Alvaro Tejada Galindo on Jan 23, 2008 6:11 PM

    Append structures are like user exits provided by SAP to enhance the Standard tables. It behaves like include structure only, but this append structure is taken care in the SAP version upgrage process, automatically. The name of append structure starts with 'Z' namespace..SAP by default proposes the append structure name with the table name prefixed with 'Z'.
    It is always recommended to modiy or append the Standard tables using append structure.
    It is the standard provided for SAP standard table enhancement.
    APPEND STRUCTURE->
    Append structures are used for enhancements that are not included in the standard. This includes special developments, country versions and adding customer fields to any tables or structures.
    An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.
    The following enhancements can be made to a table or structure TAB with an append structure:
    · Insert new fields in TAB,
    · Define foreign keys for fields of TAB that already exist,
    · Attach search helps to fields of TAB that already exist,
    These enhancements are part of the append structure, i.e. they must always be changed and transported with the append structure.
    When a table or structure is activated, all the append structures of the table are searched and the fields of these append structures are added to the table or structure. Foreign keys and search help attachments added using the append structure are also added to the table. If an append structure is created or changed, the table or structure assigned to it is also adjusted to these changes when the append structure is activated.
    Since the order of the fields in the ABAP Dictionary can differ from the order of the fields on the database, adding append structures or inserting fields in such append structures does not result in a table conversion.
    The customer creates append structures in the customer namespace. The append structure is thus protected against overwriting during an upgrade. The fields in the append structure should also reside in the customer namespace, that is the field names should begin with ZZ or YY. This prevents name conflicts with fields inserted in the table by SAP.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    INCLUDE->
    http://www.sapdb.org/7.4/htmhelp/f2/b1219d1b9646b0ae248a7a5a95a33e/content.htm

  • Append Structures to SAP Structures

    Hi
    I wish to add some custom structures(append structures) to the SAP standard strutures.
    Can you please let me know what the precaustions we should have to take before and after the process.
    If anyone explains me the complete procedure,that can be a great help.
    Regards,
    Sreeram Kumar.Madisetty

    Hi:
    Append structures permit you to append customer fields to a SAP standard table without having to modify the table definition.
    An append structure is a structure which is assigned to exactly one table. There can be several append structures for a table.
    When a table is activated, all the active append structures for the table are found and their fields are appended to the table. If an append structure is created or changed, the table to which it is assigned is also activated and the changes also take effect there when it is activated.
    Like all structures, an append structure defines a type that can be used in ABAP programs.
    1 .Go in Se11, open the table in which you want to add the structure -> click on Append structure-> it would ask the structure, give it and then it would open enter the field list.
    2. Or create the structure 1st and do the rest step mentioned in step 1.
    For details
    [Link|http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm]
    Regards
    Shashi

  • Difference between include structure and Append structure

    Could you please tell me
    I have bsis table and it contains append structure  in 4.7 SAP System.
    my program in 4.7 system contains internal table which used same structure of bsis table ( which contains additonal field in its append structure ).
    I need to have same table structure in 4.6 C because I am copying the same program into 4.6 system.
    As I could not append structure to bsis table in 4.6C SAP system,
    instead of that shall I add the field or Shall include the structure to run .
    What is the difference between Include structure and Append structure ( I forgot )
    How to achieve this please help me ?

    Hi ,
      As you know append structure can be used only once in table ,that to at last of all entries,
    Append structures are used for enhancements that are not included in the standard. This includes special developments, country versions and adding customer fields to any tables or structures.
    An append structure is a structure that is assigned to exactly one table or structure. There can be more than one append structure for a table or structure.
    The following enhancements can be made to a table or structure TAB with an append structure:
    Insert new fields in TAB,
    Define foreign keys for fields of TAB that already exist,
    Attach search helps to fields of TAB that already exist,
    These enhancements are part of the append structure, i.e. they must always be changed and transported with the append structure.
    When a table or structure is activated, all the append structures of the table are searched and the fields of these append structures are added to the table or structure. Foreign keys and search help attachments added using the append structure are also added to the table. If an append structure is created or changed, the table or structure assigned to it is also adjusted to these changes when the append structure is activated.
    Since the order of the fields in the ABAP Dictionary can differ from the order of the fields on the database, adding append structures or inserting fields in such append structures does not result in a table conversion.
    The customer creates append structures in the customer namespace. The append structure is thus protected against overwriting during an upgrade. The fields in the append structure should also reside in the customer namespace, that is the field names should begin with ZZ or YY. This prevents name conflicts with fields inserted in the table by SAP.
    The new versions of the standard tables are imported after an upgrade, and the fields, foreign key definitions and search help attachments contained in the append structures are added to the new standard tables at activation.
    A standard table contains the fields Field 1, Field 2 and Field 3. An append structure containing the fields ZZA and ZZB is defined for this table. After activating the table, the corresponding database table contains fields Field 1, Field 2, Field 3, ZZA and ZZB.
    Further Remarks:
    An append structure can only be assigned to exactly one table or structure. If you want to append the same fields to several tables or structures, you can store these fields in an include structure. In this case you must create an append structure for each of these tables or structures and include the include structure there.
    Adding an append structure to an SAP standard table is supported by the  Modification Assistant.
    If you want to insert a field that is to be delivered with the R/3 standard in the next Release in the customer system in advance, you must include it in the table itself as a repair. If you include such a field in an append structure for the table, it will occur twice when the new standard table is imported. This will result in an activation error.
    No append structures may be added to tables with long fields (data types VARC, LCHR or LRAW). This is because a long field must always be the last field in the table. However, structures with long fields can be enhanced with append structures.
    If a table or structure with an append structure is copied, the fields of the append structure become fields of the target table. Foreign key definitions and search help attachments appended with the append structure are copied to the target table.
    Foreign keys for the appended fields must be defined within the append structure. Fields of the table or structure assigned to the append structure may be defined when assigning the key field and foreign key field.
    Indexes on the appended fields must be defined in the original table.
    A table or structure TAB can only be enhanced with new foreign keys or search help attachments using an append structure. You therefore cannot change an existing foreign key definition or search help attachment for a field of TAB with the append structure.
    Thanks
    Manju

Maybe you are looking for

  • Update table HRP1001. Change the Position and the Org Unit.

    Hi, I am new to SAP HR and have been given a work in this area. The requirement is to update the relationship table HRP1001 replacing the old Manager' Position and the Org Unit with the New Manager's Position and the Org. Unit. I have some how found

  • Urgent reinstalling software to Maemo in N900

    Hy, I got my N900 and I recently deleted all applications and my n900 not start. Does anyone know how to do it? (reinstalling software to Maemo) thk

  • Randomnly load and animate videos from xml

    This is a lot to ask for Im sure but I want recreate a video thumbnail playlist similar to the one exsisting at the top of youtube.com page. I have an xml file with paths to the video.flv. I would like the thumbnails that launch the video to animate

  • Telephone Number for Warranty Repairs

    The number on HP's website 0207 660 0596 appears to be wrong when I dial it. Does anyone know a telephone number or email address that I can use? Thanks

  • Moving to advanced compression (11gR2)

    Hi all! I'm planning to migrate some schemas from a 10.2.0.4 database to an 11.2 database using datapump. At the same time i want to store the data in compressed format (compress for oltp - using advanced compression). What is the best way to achive