RosettaNet 3A8 PO Request Change

I’m creating a Pip 3A8 PO Request from data that comes from our backend applications. The problem is that some of the fields that I get from the backend application have spaces. Before I map these fields, the spaces are trimmed and then I map to the Pip. When these fields are mapped to the corresponding Pip tags (these Pip tags are under a Non required Group) the tags shouldn’t be created, but they are with a value of null. We are using the Pip structure and schema that was created from the dtd. The group(s) that are giving me this problem are non required according to these structures.

If anyone has any idea how I can fix this, I would appreciate any help.

Thanks, Fernando