1. Create your DMEE mapping in DMEE tcode:
a. Usually payment is done under tree type PAYM and type the name of your format tree then click create:
b. You should provide proper node hierarchy and the basic should look like the one below:
d. You should also determine the proper sorting per level:
e. You may also create the segment to group the element (field in the file).
f. Each element can be mapped in variety of ways as shown in the mapping procedure:
e. Atom is used usually when you want to concatenate nodes.
f. Exit module if there is a special procedure needed before showing the data such as this standard function modules
g. The best exit module that can be used is the "DMEE_EXIT_TEMPLATE_EXTEND_ABA"
In this module, you may filter the reference node, format tree and other filters you may want to add based on table FPAYH, FPAYHX, and FPAYP.
h. You may also consider adding a parameter table for each field. In our example below we used country code, country key, reference field, and format tree as parameters:
SELECT SINGLE SUBR FROM YFIDMESUBR INTO l_wa_subr-subr
WHERE bland = wa_item-FPAYP-bland AND
bukrs = wa_item-FPAYP-bukrs AND
tree_id = wa_extension-node-tree_id AND
ref_name = wa_extension-node-ref_name.
SUBR field will contain your subroutine that you may use to filter specific logic inside the function module exit specific for each country, country key, etc.
2. Determine your enhancement in what category in order to locate the appropriate data in tcode FBZP.
EX:
a. Selecting Payment methods by country in FBZP:
c. Enter the appropriate setup based on the requirements and don't forget to fill up the Payment Medium area:
Notes: Put "DMEE" as node reference for reference type element for type 4 and 5.