on 06-28-2011 9:31 AM
When we run the GenIL model generation program, it generates ZMDL* structures for each Z* structures generated previously by SPROXY. But each element that is a Table type is skipped. So the GenIL model is incomplete and does not contain table elements.
For exemaple, assuming the existing Z_QUERY_ELMTS structure generated by SPROXY:
CONTROLLER Types PRXCTRLTAB
W_SYSTEM Types CHAR
SELECTION_BY_NIIN Types ZMATERIAL_BY_EL_QU_S_SEL_N_TAB
SELECTION_BY_PART_NUM Types ZMATERIAL_BY_EL_QU_S_SEL_P_TAB
DESCRIPTION Types ZSEARCH_TEXT STRING
EIAC Types ZEIACCODE STRING
the corresponding ZMDL structure is
WEAPON_SYSTEM Types CHAR2 CHAR
DESCRIPTION Types ZMDLSEARCH_TEXT STRING
EIAC Types ZMDLEIACCODE STRING
So every table type is skipped.
Is it a limitation of the product? Or a missing functionanliy?
Thanks in advance for your help
I will explain my question in another way:
About GenIL models: root objects and dependent objects can manage tables by creating relations with 0....n cardinality.
Is there a way to also manage tables for inputs (query object, dynamic query object) ? I don't see a way to create relations for these query objects....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By the way in the developer guide, it's also confusing:
- Creation of root object, p.47
Type Name: This is the data type which you retrieved above (ZSALES_ORDER_HEADER_DETAILS) u2013 the root attribute structure of the business object will be based on this structure. This structure has to completely define the attributes (payload) of your business object and typically matches with the response of the Read operation. Make sure this structure is u201Cflatu201D and does not contain any complex types or tables
- But p.51
Take a look at the attribute structure. It contains the list of all attributes of your business object derived from the structures of the server proxy. Also take a look a folder Relations, which contains relationships to dependent objects if your data structure is of a complex nature. In our example this folder is empty since the data structure is a flat one and therefore no relationship and no dependent object are required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.