HI
I got 2 errors when I transport:
Error 1:
Program ZCL_ZGW_VH_ORDER_DETAI_DPC_EXTCP, Include ZCL_ZGW_VH_ORDER_DETAI_DPC_EXTCO: Syntax error in line 000003
Method 'DETSET_GET_ENTITY' is not declared or inherited in class 'ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT'. -
Error 2:
Program ZCL_ZGW_VH_ORDER_DE_01_DPC====CP, Include ZCL_ZGW_VH_ORDER_DE_01_DPC====CM006: Syntax error in line 000190
The data object 'LS_ET_DETAILS' does not have a component called 'ZZ_MATR_LEV_DATO'.
1)
When I go to Class Builder (SE24), and make a syntax check for ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT, I got the error:
Class ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT,Protected section
Method "DETSET_GET_ENTITY" is not declared or inherited in class
"ZCL_ZGW_VH_ORDER_DETAI_DPC_EXT". -
The code looks like this
protected section. methods DETSET_GET_ENTITY redefinition .
2)
If I go to include ZCL_ZGW_VH_ORDER_DE_01_DPC====CM006 (in SE38), I am navigated to method: DETSET_GET_ENTITYSET (That was the missing method in error 1). When I do a syntax check, I got the error message:
Class ZCL_ZGW_VH_ORDER_DE_01_DPC,Method DETSET_GET_ENTITYSET
The data object "LS_ET_DETAILS" does not have a component called
"ZZ_MATR_LEV_DATO".
Then I double click at ls_gw_et_details-zz_matr_lev_dato, and got the data statement: DATA ls_gw_et_details LIKE LINE OF et_entityset.
When I double click at et_entityset, I see that the et_enityset is type ZCL_ZGW_VH_ORDER_DE_01_MPC=>TT_ORDDET. Now I double click at TT_ORDDET I got the public section, where I can see that ZZ_MATR_LEV_DATO is already specified.
ZZ_SPORSP_DATO type D, ZZ_KSTROM type STRING, ZZ_KSTROM_DATO type D, ZZ_MATR_LEV_DATO type D, end of TS_ORDDET. . types: TT_ORDDET type standard table of TS_ORDDET. .
Anyone who will help me?
Thanks
Lars