on 03-11-2013 3:03 PM
Hi Experts ,
We have created a scenario for file to proxy .
In The proxy structure we have maintained a field of type "string" with the max length of 16 .
The issue that I am having is even if the field length is maintained as 16 , if the file sends the field with 32 character even those records also come in the proxy structure . I had a understanding that if the field length is 16 all remaining character has to be omitted .
Is there something i am missing ?
Hi,
At PI level it wont check .If you really need it then either you need to use substring fn in PI or target SAP system they need to handle in code to pick first 16 characters.
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Abhishek,
The use of the max lenght in this case would be the ABAp proxy structure generated by PI would create field lenght as 16 char & not 32 char. So the value sent by PI would be trucated at ABAp end.
if you would not define the max lenght , the proxy structure would not contain max lenght of the fiels & would take defalut lenght.
Regards,
Ashish
Hi Abhishek,
You are not missing anything, but your understanding is wrong when you say that PI omitts the remaining characters if exceeds the defined lenght. PI will pass through the 32 chars to ECC via ABAP proxy.
It is truncated when it comes to ECC since the structure generated at the ECC backend has got field length as 16 & not 32.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
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.