Skip to Content

GenIL model generation and Table types

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 28, 2011 at 01:07 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 29, 2011 at 04:50 PM

    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....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.