Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question