on 03-24-2010 11:41 AM
Dear All,
I have one date field in SAP table in which there are some entries and some blank entries.
when Proxy is sending this data from ECC blank entries are converted into 00000000 and through XI in file
this
00000000 entry for date getting converted into wrong date like 30.11.0002 in file.
I have taken data type as string do I need to take data type as date.
My doubt is if there is no entry in table why it is convertng to 00000000 and after passing from XI why it is converting into
30.11.0002 .
Regards
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Check for some conversion routines getting triggered when Proxy is executed in ECC.
Check for the Date format parameters if you have used in mapping.
Regards
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check you proxy implemenmtation.
Is proxy logic creating empty dates with value 000000000?
Also if you want to avoid incorrect conversions, do a check on the mapping of the date field in PI.
Use a string comparison or equals functions to check for 00000000 and then do the required processing.
Also I suggest converting the data type of the date field to string in the proxy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi Shab,
>
> Yes I have checked the ECC side moni these empty tags are getting converted into 00000000 for this do I have ask abper to send same empty tags beacuse these tags converting into 00000000 in ECC MONI only .and for data type I have take string and ECC side also it is string.
>
>
> Regards
yes. Ask the ABAP folks to default to blank instead of converting it to zeros. The logic resides in ABAP proxy code
> yes. Ask the ABAP folks to default to blank instead of converting it to zeros.
That would not help. The mapping includes a DateTrans function which leads to an error, when an empty String is processed.
So the mapping has to be adjusted with an if clause.
It seems to be a bug in the DateTarns function, as the result of 00000000 should be 0000000 as well.
Regards
Stefan
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.