cancel
Showing results for 
Search instead for 
Did you mean: 

DMEE - Space required in XML tag

Former Member
0 Kudos

Hi,

We have an issue with payments in XML format. Actually the bank has an issue with some payments we send in XML format. The bank requires in some cases a space for XML element EndToEndId. Standard behaviour of SAP (SAP ECC 6.0) is the when we try to pass a space the field is filled like:

<EndToEndId />

However, the bank requires it be filled like:

<EndToEndId > </EndToEndId>

Is the banks requirement possible? If yes, how can I achieve that element EndToEndId is filled like <EndToEndId > </EndToEndId>?

I have tried several options to fill this element with a (constant) space but unfortunately none of them succeeded. We also tried it with an exit but it didn't worked. In all attempts the field is filled like <EndToEndId />.

Thanks in advance,

M. Sener

Accepted Solutions (1)

Accepted Solutions (1)

former_member479672
Participant

Hi M. Sener,

By standard a blank space is not recognized in the DME Structure. Actually I've never seem this requirement.

The system is considering an empty node and thats why the XML tag is <EndToEndId />

The XML structure itself has such definition by standard.

So I would suggest you to double check with your bank, because I believe the 'blank' must be a character, like 'form feed' (ALT+255) which is an invisible character.

You can test the above example:

Keep the node as a constant, but set the value 'ALT+255'.

You will check that a blank character has been inserted and the file structure will be generated as expected:

<EndToEndId > </EndToEndId>

I hope I could help you.

KR,

Leo

Former Member
0 Kudos

Hi Leo,

Thanks for your answer! A bank in the Netherlands requires a space for non-giro card payments in UNIFI format (setup with XML). Before my post I discussed with the bank if we could go for an alternative solution and provide a constant like &nbsp or &#160. But they told me they couldn't recognize it as a space.

However, I set 'ALT+255' as a constant and did a test. When I look at the XML file generated by I see the provided constant in the node:

<EndToEndId >ALT+255 </EndToEndId>

Any ideas why a blank character isn't inserted?

Kind regards,

M. Sener

former_member479672
Participant
0 Kudos

Hi M. Sener,

Actually, you need to use the key left ALT (hold it) and then press the sequence of numbers 255, when you release the ALT key, the blank character should be set.

In the constant field it will create a blank space exactly the same when you press the space bar, however the system will recognize this one.

I have attached a screenshot for your reference.

Kind Regards,

Leo

0 Kudos

Hi Leo,

When I keep pressing Alt key and then start pressing space bar, system open the Format Tree Icon.

The space in Constant does not move at all.

What exactly i need to do?

Regards,

Vinayak

9920015736

Answers (3)

Answers (3)

danchitac
Explorer
0 Kudos

Hi ,

Check SAP Note 2846873 - DMEE/DMEEX - Space required in XML tag

0 Kudos

Hi Leo,

Sooooooo so many thanks for your help!

I meet the same requirement and solve it in this way!!!!!!

Kind regards,

Lv

0 Kudos

Hi Lv,

Please provide the solution you used to create empty tag in DMEE XML file. I

7666946389

Former Member
0 Kudos

Hi Leo,

Many thanks for your help! With your help I succeeded to add a space for the relevant node.

Kind regards,

Mustafa