on 11-26-2008 12:24 AM
Hello,
My firm recently upgraded to ECC6. A smartform ECC5 (which complied and worked fine in ECC5), when uploaded into ECC6 is giving the following error:
"TY_T_9000 is not a pre-defined type or a type from a type group."
I tried to delete the object / dereference it from respective sections, form compiled (function module was re-generated.) Then, I uncommented the table type definition in Global Definitions and re-referenced it in a loop and, back to the same error.
Any clue what is causing the error?
Leena
Hi
I think this table type does not exist in the dictionary. That is why system is not able to declare it.
In the Types tab also, you can declare it.
types: begin of ty_t_9000,
end of ty_t_9000.
Just check If it is available in data dictionary, otherwise declare it in types tab.
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vishwa,
Thanks. You are right, table type did not exist in the dictionary.
I played around some more and did resolve. The core issue turned out to be that, on ECC 5.0, it was possible to locally define table types in the smartform which are PASSED into form AS A PARAMETER. On ECC 6.0, such structures MUST be defined in the dictionary.
I created the structure and table type in the dictionary, changed my import parameter TYPE to match the name of the type created in dictionary, cleaned out old structure definiton in form and the calling program and, the form compiled!!
Best Regards,
Leena
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.