on 04-12-2010 10:52 AM
Hello Experts,
i have a datatype with a field of xsd:datetime type. When i generate the proxy the technical type is defined as XSDDATETIME_Z and the system converts automatically date and time to UTC. I would like it not to happen and i think i should use the domain XSDDATETIME_LOCAL instead. But i don't know how to make sproxy to generate the field with this technical type. And i can't select it from the drop down list available in the field definition of sproxy. Any clue on this?
Thank you in advance.
Hi Roger,
I am having the exact same issue and cannot see the XSDDATETIME_LOCAL in the Abap Attribute dropdown of SPROXY.
Will be great if you can share how you fixed it.
Thanks and regards,
Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the same problem. How can I fix?
Regards,
JM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've just had the same problem. The proxy was expecting a trailing Z in the value of the xsd:datetime element, but didn't receive it. (it is still valid according to the schema, so the error is on the SAP side).
We managed to get around it by changing the type in the ABAP proxy (which for us was generated based on an interface modelled in ESR/PI)
1. Start sproxy
2. Open the service interface
3. Go to external view tab
4. Expand the port, operation and input and for each xsd:datetime element do the following
5.In ABAP attributes change the Techn. Type from XSDDATETIME_Z to XSDDATETIME_ISO
Dagfinn
We've just had the same problem. The proxy was expecting a trailing Z in the value of the xsd:datetime element, but didn't receive it. (it is still valid according to the schema, so the error is on the SAP side).
>
> We managed to get around it by changing the type in the ABAP proxy (which for us was generated based on an interface modelled in ESR/PI)
>
> 1. Start sproxy
> 2. Open the service interface
> 3. Go to external view tab
> 4. Expand the port, operation and input and for each xsd:datetime element do the following
> 5.In ABAP attributes change the Techn. Type from XSDDATETIME_Z to XSDDATETIME_ISO
>
> Dagfinn
This looks like it could be the answer to a problem I've been having, unfortunately when I try this, the technical type appears to be read-only. I'm in edit mode, I can edit some of the other fields in the right hand panel like "untyped mapping" and "ABAP name". I've got SAP_ALL & SAP_NEW rights on the system (ECC 6.04). What am I missing?
Put a breakpoint in program
SAPLSPRX_UI
FORM get_extintview
on statement:
IF lv_act_Tab = sesi_tab_extview
( = line 76 of include LSPRX_UIF12 in our system).
Now, in SPROXY, select the field wich should be XSDDATETIME_LOCAL.
Debugger pops up.
in table
GT_DYN_FIELD_ATTR take record with NAME = GS_EXTINTVIEW-OBJECT-ATTR_DT-R3_DATATYP_T
(the one with having LISTBOX_VALUES entries)
and add line to the LISTBOX_VALUES with entry
XSDDATETIME_LOCAL | XSDDATETIME_LOCAL |
now you can select it in the proxy
select it and activate it.
Now you have correct datatype.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.