‎2007 Nov 03 8:02 PM
HOW TO CREATE Z* TABLE WITH DEFAULT VALUES FOR SOME FIELDS IN THE Z* TABLE
‎2007 Nov 03 9:30 PM
When you create the table, make sure it is with table maintenance allowed. Then you can create entries.
Rob
‎2007 Nov 03 9:27 PM
Hi,
Go to SE11- Give the table name and press create button.
Check below link for detailed steps
http://sap-img.com/abap/steps-to-creating-domains-data-elements-tables.htm
Regards,
Atish
‎2007 Nov 03 9:30 PM
When you create the table, make sure it is with table maintenance allowed. Then you can create entries.
Rob
‎2007 Nov 04 2:11 AM
common man..do one thing go to one insttue and pay money they will teach every thing to u ..u cant understand 100% properly with live support..
okcoming to point go to Tcode se11 and gve name starting with give...enter the screen of delivery and maintainace...give app0 and mintancea allllowes..and now enter the scrren of fields..and gve ur any name of fields..and their field values according to ur reuirement..and then click on technical settings and then..gve data class and size category...depending on ur requrement...(i.e. for each field u have f1 help press and see and understand ok) then activate...now it is ready ok..rewrd points if helpfull
‎2007 Nov 04 6:27 AM
Hi\
Observe these points carefully . you will get the solution.
To add the Same structure multiple times in the Same Table We have to Assign the Suffix while including the Structure.
How To:
Open the Table in Change mode in SE11
Select the Menu path : EDIT->Include->INSERT.
Enter Structure : <Your Z structure>
Suffix : <any character string Eg: A>
Save .
Now you can see all the Fields from include structure will have Suffix A.
Same way you can include the Structure Several times to the
Table using a different suffix each time.
This ensures that the field names are not duplicated.
Finally Activate your Table.
Now create the entries.
‎2007 Nov 04 3:51 PM
Hi
If i understood your question and you need predifined values for some fields...
You can use Z_field with Z_domain as original with values filled in Value range
or use values from some table using check table...
Regards
Yossi
‎2007 Nov 04 4:00 PM
Hi,
I don't think its possible to give some default values to some fields in the ZTABLE.. other than the Data type Defaults. What you can do is to write an Event in your table in the table maintenance. So whenever the user is trying to create a new entry, the Field is populated with some default value.