Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Counter of line items in DMEE tree

Hello, SAPers!

Sometimes when you create custom DMEE tree to meet the requirements of your house bank
concerning the format of file with payment orders, you have to configure the field with counter
of line items in file. This counter represents a simple field with incremental value from 1 to n,
where n equals the number of line items in the payment run. However, there are no standard field
in the structures FPAYH, FPAYHX and FPAYP. Therefore you have to use another standard
functionality that will be discussed in this document.

In order to create node that will retrieve the consequential number of line item in the payment
run the following activities have to be performed:

1) Create technical node

Technical node stores values that are used in other tree nodes (elements or atom) by a reference
to this node. However, the values stored in technical nodes are not shown as output in a target
file. Thus, you have to create a technical node with the following characteristics:

On the tab Source specify the constant value that equals to 1:


2) Create element with reference to tree node with the following characteristics:

On the tab Source specify the reference to the technical tree node created previously and insert
3 (Counter reading) in the field Attribute:

The nodes in the tree menu of DMEE structure for your payment medium should look as
follows:
Create other nodes as required for payment medium for your bank and activate the tree.
Afterwards, when you run the transaction FBPM and create the payment medium, your will have
the counter starting at one in the beginning of each line item:

I hope this information will be useful. All suggestions are welcome!

P.S. This post can also be found on Medium platform under the following link.

You might also like