Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
Bohdan
Active Contributor


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.


 

The solution described in this blog was initially described back in 2014. Later on i.e. in 2017 SAP issued a standard FM for Brazil i.e. DMEE_EXIT_BR_FEBR_COUNT, which can be used to achieve the same result with less efforts. Thanks to e.enginyilmaz for pointing out this FM in the comments section. You can use this FM and skip this blog. Or you can read it and gain some new knowledge 🙂


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:



Anyway, 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.

 

     Best regards,

     The Wirtschaftsmann

6 Comments
Labels in this area