2012 Jan 10 9:58 AM
Hi Friends,
I have a clarification.
I have created a z structure and i wanted to include that structure in few SAP tables and SAP structures.
But, then i tried the menu path EDIT-> Include->insert.
It is in disable mode.
How can we achieve.Nowhere i find the replies for these query.
Thanks & Regards,
Prabu
2012 Jan 10 12:16 PM
- First insure that every field of the structure is in the correct namespace (eg. ZZFIELDNAME) (1)
- For each standard table you want to append, check if there is not already a special include (like CI_TABLENAME or a customizing point, if there is one use it else create an append structure by SE11 (one append structure can only be appended to one table, in the correct include, append or CI_x) include your structure typing .INCLUDE in field name column and the structure name in the data element/structure column. (2)
Regards,
Raymond
(1) [Note 16466 - Customer name range for SAP objects|https://service.sap.com/sap/support/notes/16466]
(2) SE11 in display mode, click on append structure, click on create icon
2012 Jan 10 10:03 AM
Hi,
you can Include your Z structure to APPEND structures of SAP tables and structures. Therefore you have to create the APPEND structures first.
Regards,
Klaus
2012 Jan 10 10:39 AM
2012 Jan 10 10:55 AM
Hi,
For eg. I am taking one standard table EKES and i am trying to do this.
1) Create Append Structure Button click.
2) Enter the Strcutre name to be created and enter the fields name.
If i activate it. Can i sue the same structure in other tables also?
Thanks & Regards,
Prabu
2012 Jan 10 11:06 AM
If you have your APPEND structure, please enter .INCLUDE for field name and your Z structure as type.
If you are using this in several SAP tables and structures, all of them can be changed by changing your Z structure (for example if you want to add a field).
Regards,
Klaus
2012 Jan 10 11:24 AM
Hi Prabhu,
Append structures can only be assigned to a single table. i.e., an append structure can be used only for the table it is created.
If you create a append structure for table EKES, that structure will be used only for the table EKES.
Thanks and Regards,
Priya.
Edited by: Priyadharshini Shanmugasundaram on Jan 10, 2012 12:26 PM
2012 Jan 10 11:58 AM
Hi Prabhu,
Follow the Below procedure may be your problem can be solved.
Including Structure for DataBase Table
-->Go to Tcode: SE11 then select the radio button database table and give the data base table name in which you want to include the structure then click on display<=>change button from application tool bar for enable mode.
-->then enter name that should be .include (this is mandatory) in field column then enter the structure name in the field of dataelement which structure you want include in this database table
Including Structure for Structure
-->Go to Tcode: SE11 then select the radio button data type and give the Structure name in which you want to include the structure then click on display<=>change button from application tool bar for enable mode.
-->then enter name that should be .include (this is mandatory) in field column then enter the structure name in the field of dataelement which structure you want include in this Structure.
Regards
Sreenivas P
2012 Jan 10 1:27 PM
Hi Sreenivas,
I undestand your explanation. Is this applicable for standard SAP tables and structures.
You are asking me to go in change mode. But, how to achieve this in SAP standard SAP tables and structures.
Regards,
Prabu
2012 Jan 10 1:43 PM
You don't need to open a standard table in change mode to include a structure.
This is how you can include your custom structure within standard SAP tables
1. Open the standard table in SE11 display mode
2. Click on Append Structure button
3. Click on Create Append button in the popup that shows
4. Enter a name for the append (name it like ZZ_XXXXX
5. Enter the component = .INCLUDE and component type = <your custom structure name>
6. Activate the append structure
2012 Jan 10 12:16 PM
- First insure that every field of the structure is in the correct namespace (eg. ZZFIELDNAME) (1)
- For each standard table you want to append, check if there is not already a special include (like CI_TABLENAME or a customizing point, if there is one use it else create an append structure by SE11 (one append structure can only be appended to one table, in the correct include, append or CI_x) include your structure typing .INCLUDE in field name column and the structure name in the data element/structure column. (2)
Regards,
Raymond
(1) [Note 16466 - Customer name range for SAP objects|https://service.sap.com/sap/support/notes/16466]
(2) SE11 in display mode, click on append structure, click on create icon
2012 Jan 10 2:28 PM
Hi All,
Now, i understand it. Thanks for all your replies.
Regards,
Prabu