Online Tutorials & Training Materials | STechies.com
Register Login

Difference between Append Structure and Include Structure

|| 1

Difference between Append Structure and Include Structure
Stechies

Append Structure vs Include Structure

Append structure is used to append the structure to the standard table where as Include structure is used to include the structure to the custom table.

The same Append structure cannot be append in more than one standard data base table.The same include structure can be included to any no of custom tables.

Read Here for More SAP ABAP Interview Questions


Comments

  • 14 Apr 2017 11:09 am

    There are three types of Adding Fields


    1. Normal structures (WHICH ARE NOTHING BUT INCLUDE STRUCTURES THAT START WITH ".INCLUDE)

    2. APPEND STRUCTURES (FOR STANDARD TABLES) (START WITH ".APPEND")

    3. Customizing includes(FOR STANDARD TABLES) (".CI", THESE ARE DONE BY END USERS NOT BY US ).

    STRUCTURE IS A COLLECTION OF FIELDS.

    Coming to the difference between INCLUDE Structures and APPEND Structures.

    INCLUDE STRUCTURES CAN USED BY US TO ADD FIELDS INTO ANY ZTABLES. BECAUSE, IN A ZTABLE, WE CAN ADD FIELDS WHEREVER WE WANT.

    APPEND STRUCTURES ARE USED ONLY TO ENHANCE STANDARD TABLES. STANDARD TABLES MAY HAVE INCLUDE STRUCTURES ALREADY CREATED , BUT IF WE WANT TO ADD SOME MORE FIELDS TO THE STANDARD TABLES, WE NEED TO GO FOR APPEND STRUCTURES.

    APPEND STRUCTURES SHOULD BE ADDED AT THE END OF A STANDARD TABLE. THIS IS A MUST. BECAUSE WE SHOULD NOT CHANGE THE ORIGINAL STANDARD TABLE IN THE MIDDLE.

    SOME STANDARD TABLES FOR WHICH THERE ARE LONG DATA TYPE FIELDS cannot be enhanced because, LONG TYPE FIELDS SHOULD ALWAYS BE AT THE END AND APPEND STRUCTURES SHOULD ALSO BE AT THE END, SO THERE WILL BE A CONFLICT.

    Read Here for More SAP ABAP Tutorials.

Related Articles