Skip to Content
avatar image
Former Member

Empty Line in DME file

Hi,

There's a need to have 4 empty lines/rows in DME output file and I was able to achieve this by creating a segment group (@ level 2) which had 2 blank segments in that group (@level 3 and 4 respectively) where the option "Empty segment for generating CR/LF" has been selected.

Now the issue is - 2 empty lines are being displayed in between the line items, which is not desirable.

Correct / Desired file output format:

Blank Line 1

Blank Line 2

Blank Line 3

Blank Line 4

Payment Line 1 (this line would contain the amount, payment method etc.)

Information Line 1 (this contains the corresponding information like text of payment line 1) Payment Line 2

Information Line 2

Payment Line 3

Information Line 3

However, the file being output is as follows (with the highlighted blank lines below being an issue) wherein we do not want that to be displayed

Blank Line 1

Blank Line 2

Blank Line 3

Blank Line 4

Payment Line 1

Information Line 1

Blank Line

Blank Line

Payment Line 2

Information Line 2

Blank Line

Blank Line

Payment Line 3

Information Line 3

Blank Line

Blank Line

Sort / Key Fields - Following is the configuration of Sort/Key Fields. (Level 1 is the root menu)

Sequence Structure-Sort Field Level

1 FPAYH-LAUFD 1

2 FPAYH-LAUFD 3

3 FPAYH-LAUFD 4

4 FPAYH-DOC1R 6

5 FPAYP-DOC2R 6

6 FPAYP-DOC2R 7

How to achieve the requirement of having 4 blank rows at the start of file with no other blank lines in between.

Please suggest if I'm missing something.

Thanks - Somu C.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 08, 2017 at 08:57 AM

    If I read correctly you created 2 blank lines on 2 levels.... can you change that to 4 on the first level?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 08, 2017 at 12:36 PM

    Thank you for your time in replying, Bastiaan.

    I've created 4 blank lines on 4 different levels(between 1 and 4) as found in the following screenshots.Each of the 4 levels would give me one blank line - which I could call "header".

    However, the issue I'm facing is - I get (only) 2 blank lines in the "Records Segment" (Group). Wherein, Blank Lines need to be restricted to the levels above the "Records Segment" found in the screenshots below - there cannot be any Blank Line in the Records Segment.

    File Format should be output as follows:

    Blank Line 1

    Blank Line 2

    Blank Line 3

    Blank Line 4

    Payment Line 1

    Information Line 1

    Payment Line 2

    Information Line 2

    Payment Line 3

    Information Line 3

    However, the output now is not right owing to Blank Lines appearing between the records line as follows:

    Blank Line 1

    Blank Line 2

    Blank Line 3

    Blank Line 4

    Payment Line 1

    Information Line 1

    Blank Line

    Blank Line

    Payment Line 2

    Information Line 2

    Blank Line

    Blank Line

    Thanks - Somu C.

    Add comment
    10|10000 characters needed characters exceeded