cancel
Showing results for 
Search instead for 
Did you mean: 

DMEEx Remove spaces from one node/variable

aleksi
Explorer
0 Kudos
501

Hi everyone,

I currently have a task that requires me to remove spaces in a DMEEx field.

I have followed this link and it appears to affect all the fields. 
I was wondering if there is a conv. function or simpler way to make this possible?

Output:

aleksi_0-1713942745775.png

DMEEx attributes:

aleksi_1-1713942763573.png

Thank you.



View Entire Topic
Antonin
Associate
Associate

Hi aleksi,

there should be more possibilities.

For most of characters works setting of allowed chars on the File Data tab and usage of the conversion Exclude/Allow defined characters. But it does not work for spaces. If you are on a newer version of SAP you can define the allowed characters by a Regex. If you use [a-zA-Z0-9] and then set the conversion function for example this way:

Antonin_0-1714669216142.png

it should work as expected.

But if you do not have the possibility to use Regex or you need another Regex for other fields, there is still the possibility to use Exit Module (Exit Function)

aleksi
Explorer
0 Kudos

Hi Antonin,

Thanks for your suggestion. I was able to do this with the use of Exit function.