on 03-21-2014 9:57 AM
Hi
I am transporting my Gateway request to our Q envorinment, but when we transport we got the error: "A DECIMALS specification must be made with P typesin the OO context"
In our gateway service, we call (and is mapping) our data to a FM from backend (FM: ZMM_VH_EQUNR_FROM_TPLNR_LIST). The fields we are mapping to, is
ZZ_KM_FROM Datatype: DEC, Length: 7 Decimals 3
ZZ_KM_TO Datatype: DEC, Length: 7 Decimals 3
In gateway the fields (ZZ_KM_FROM and ZZ_KM_TO) are specified as:
Edm.Decimal
Max length 16
Category: Internal type
Type: Packed
Length: 11
Decimals 4
I guess above can be the reason, but what is the correct to set in the gateway?
Anyone who will help me?
regards
Lars
Hello Lars,
1.Which version of Gateway are you using.
2.What code is generated in MPC for property ZZ_KM_FROM and ZZ_KM_TO .
3.In which class you are getting the syntax error and what is the erroneous code ?
Regards,
Atanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atanu
1) Our version is 2.0 SP 6
2) I can not see, that anything related to ZZ_KM_FROM and ZZ_KM_TO is created in MPC
3) I got the error in this include ZIF_ZMM_VH_EQUNR_DETAIL=======IU where the error description is: "Program ZIF_ZMM_VH_EQUNR_DETAIL=======IP, Include ZIF_ZMM_VH_EQUNR_DETAIL=======IU: Syntax error in line 000574
A DECIMALS specification must be made with P typesin the OO context."
The code looks like this
begin of ZMDC_HISTORY_STRUCTURE,
ZZ_INDMELDT_AF type C length 000012,
ZZ_INDMELDT_DATO type DATS,
ZZ_KM_FRA type P length 000004,
ZZ_KM_TIL type P length 000004,
ZZ_OFFSET type P length 000007,
end of ZMDC_HISTORY_STRUCTURE .
(line 574 is marked with bold)
Does above give you any chance to help me further?
Thanks in advance
Lars
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.