Skip to Content

Issue with Data Model created

Hi Techies,

  Issue is "what should be name of navigation property, sales order items entityset".?????    Below is the snap of my structure of service...

ANY SUGGESTION AND CORRECTION WILL BE HELPFUL...

Please correct me wherever Its Needed...

Keeping in mind that I have implemented GET_EXPANDED_ENTITY,CRETE_DEEP_ENTITY.

ALSO GET_ENTITY ,GET ENTITYSET FOR BOTH (SALES ORDER HEADER AND ITEM).

METHOD /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_DEEP_ENTITY.

  TYPES: TY_T_SOITEM TYPE STANDARD TABLE OF ZCL_ZSO_ALL_MPC_EXT=>TS_SALESORDERITEM WITH DEFAULT KEY,
         TY_T_SCH TYPE STANDARD TABLE OF ZCL_ZSO_ALL_MPC_ext=>TS_SCHEDULE WITH DEFAULT KEY.

* REPRESENTS FULL SALES ORDER STRUCTURE - HEADER WITH ONE OF MORE ITEMS
   TYPES: BEGIN OF TY_S_SO.
            INCLUDE TYPE ZCL_ZSO_ALL_MPC_EXT=>TS_SALESORDER.
            TYPES: SalesOrderItem TYPE TY_T_SOITEM.
            TYPES: ScheduleLine   type TY_T_SCH,
          END OF TY_S_SO.

BEST REGARDS,

PAVAN G

fused1.JPG (37.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jul 08, 2015 at 05:42 AM

    Hello Pavan,

    I see Entity_Type_Name and Navigation_Property_Name is same in GW Model.

    I would suggest to use unique names to identify the Navigation properties defined in the GW Model so that there would be no confusion in any ways.

    Its good to make sure none of the names are exactly same in the GW model.

    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded