Hello guys, According to my project I have 2 entitysets and they have properties like PS_INTNR.
When I get data from these entities, there is no problem with another properties (like aufnr,post1,verko) but on PS_INTNR (PROJ-PSPNR) its not coming truely.
Zzproje 0 Edm.String 0 0 24 0 0 0 0 0 ZZPROJE Associated Type PS_INTNR
For ex:
<d:Zzproje>000000000000000000000000</d:Zzproje>
<d:Objnr>PD00000009</d:Objnr>
But my zzproje (PS_INTNR ) should come 00000009.
On debug no problem with my -zzproje because i can show that its value is 00000009 but on XML not.
I wrote code for conversion like this:
DATA: i_proje TYPE proj-pspnr.
CALL FUNCTION 'CONVERSION_EXIT_KONPD_OUTPUT'
EXPORTING input = <lf_entityset>-pspnr
IMPORTING output = i_proje.
<lf_entityset>-pspnr = i_proje
But i'm supposed that its not true and <lf_entityset>-pspnr should'nt be like nchar. Could you please help me how can I fix that?
Thank you for all answers,
Ogulcan G.