2009 Apr 06 5:28 AM
hai all,
my table name is zbatch.
contains 3 fields.
fields dataelement
zbatch charg
zmax charg
zmin charg
save and check the syntax.
raise the errors like,
1) field zbatch : structured type charg cannot be used in db table zbatch
2) field zmax : structured type charg cannot be used in db table zbatch
3) field zmin : structured type charg cannot be used in db table zbatch
4) error in code generation for creating table zbatch in the db
5) table zbatch(statements could not be generated).
please solve the errors
hai all,
my table name is zbatch.
contains 3 fields.
fields dataelement
zbatch charg
zmax charg
zmin charg
save and check the syntax.
raise the errors like,
1) field zbatch : structured type charg cannot be used in db table zbatch
2) field zmax : structured type charg cannot be used in db table zbatch
3) field zmin : structured type charg cannot be used in db table zbatch
4) error in code generation for creating table zbatch in the db
5) table zbatch(statements could not be generated).
please solve the errors
2009 Apr 06 5:32 AM
2009 Apr 06 5:32 AM
Charge is a structure, use some other data element in your table.
2009 Apr 06 5:34 AM
2009 Apr 06 5:34 AM
Hi,
You cannot use the Structure as data element in the trasparent table.
2009 Apr 06 5:34 AM
CHARG is a structure and you are trying todeclare a field of structure type and this is incorrect way. If you want CHARG structure just include it in your ZBATCH.
Give .INCLUDE as field name and give CHARG as dataelement... it will give all the fields copied into your table..
2009 Apr 06 5:37 AM
actuvally my table contains fields like,
batch,max,min.
all fields are exisist in charg structure.
2009 Apr 06 5:39 AM
If you include the structure, all the fields will be included in your table.
And if you want to add only those 3 fields in your table, then take the datalements of those 3 fields from the CHARG structure and add...
Hope this helps...
2009 Apr 06 6:10 AM
2009 Apr 06 5:35 AM
use CHARG_D as data element......
as CHARG is itself a structure so it is showing this type of error
2009 Apr 06 5:36 AM
CHARG is a structure , u cannot use the structure as data element
in data element use CHARG_D
field name will be as per ur requirements
2009 Apr 06 6:12 AM
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |