on 02-29-2016 8:41 AM
Hi ,
I have material and Material description , when I am doing change operation for Material descriptions while passing special characters like % # in the material description, getting XML parsing error.
without XML Payload also tried passing directly via parameters throwing an error.
Please let me know how to handle the special characters in ODATA SAP.
Best Regards
Shaik
Please pass | (pipe) instead of % in URL & replace | (pipe) with % in redefine method code.It will definitely work.I faced this issue earlier.Framework does not accept(% , = etc).You can use @ also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shaik,
As suggested by Ashwin please use ASCII values. For reference check below URL
Cheers
~Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I just tried passing % and # to a text field with PUT and POST operation and it worked without any issues.
The payload looked was like:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shaik,
Try to pass the ascii value instead of % # and check.
For % pass %25
For # pass %23
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.