on 07-08-2015 6:12 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.