Posted: 26 Aug 2020 12:14 EDT Last activity: 28 Aug 2020 13:20 EDT
Pega is removing extra spaces from a service request
I have a requirement to update to SAP from pega.and the request format is something challenging.i have to send 3 properties in a single request The format is below Frst 10 character one property then from 11 to 49 it should be blank space .from 50 to 64 another property whose max char length is 16.and from 65 next property. I tried implementing using space but pega is removing the extra spaces.if the request not send in this format it won't update correctly in SAP. Then I appended 0 for the spaces then also it's not working .One thing to note here is if second property is of length 5 then also the remaining position until 64 should be blank .Kindly help on this requirement as it's an urgent one for me. Thanks in advance
How are you concatenating the strings together? Are you using a property set? A data transform? Also, at what point are you seeing the spaces stripped? Is this happening on the clipboard or as you are passing the data to SAP? It would be helpful to see what you have configured so that we can suggest alternatives.