Skip to Content
author's profile photo Former Member
Former Member

DMEE - Space required in XML tag

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 08, 2012 at 09:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

      FormFeed.png (133.4 kB)
  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2012 at 12:13 PM

    Hi Leo,

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

    Kind regards,

    Mustafa

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.