on 03-27-2008 6:02 AM
Hi,
I am using a client ABAP Proxy. I have a field with trailing spaces like 'GE '. But in MONI of Application system (Proxy system) the Space is getting trimmed, 'GE' alone is transmitted.
How can i avoid trailing spaces getting trimmed in the field. It is a string field in XI and char field in proxy.
Thanks in advance,
Regards,
Sudharshan N A
Sudarshan,
Right click on the payload and select view source(SXMB_MONI). May be the spaces are not dispalyed in the SXMB_MONI dispaly but it still might be there.
If this is not the case, check whether any user exits trimming the space before calling the proxy.
Regards,
Jaishankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sudharshan,
Many people have got the same problem in the past
Refer
As stated in the above link, try to enclose your data within single quotes and remove the single quotes in XI. I know its a very crude and not a straight fwd way to do it, but just one more way to get the data.
Kindly look at the below mentioned blog in order to have patterns work properly in the ABAP Proxy. As you know, i have not tried it :(. But just try it and give a feedback of how things worked.
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2955] [original link is broken] [original link is broken] [original link is broken];
Thanks,
Sundar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) R u using trim function in Xi mapping?
2) Can u go to SXMB_MONI and copy the input payload and paste it in notepad and check the value of GE whether it is coming with trailing spaces.
3) Similar with the outpayload
4) Go to test message tab and try test the mapping with the "GE " value and check the output.
5) Which data type r u using string or chat?
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.