on 11-08-2012 10:31 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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   or  . 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
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
Hi ,
Check SAP Note 2846873 - DMEE/DMEEX - Space required in XML tag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leo,
Sooooooo so many thanks for your help!
I meet the same requirement and solve it in this way!!!!!!
Kind regards,
Lv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leo,
Many thanks for your help! With your help I succeeded to add a space for the relevant node.
Kind regards,
Mustafa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.