Showing posts with label dmee. Show all posts
Showing posts with label dmee. Show all posts

Monday, February 04, 2013

SAP Payment through DMEE

Follow the bellow steps:

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:





c. For each node, you should provide a level number depending on how the level is printed in the file
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:




d. Aggregation is usually used in summation

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:





b. Create an entry that should be look like this:




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.

Tuesday, June 14, 2011

Function Exit in SAP DMEE

Introduction:


Data Medium Exchange Engine (DMEE) is where you define the fields of your FTE or IDOC.


It is defined also by SAP AG as:
    The Data Medium Exchange Engine (DMEE) enables you to define file formats that meet the requirements   of your financial institution. This is particularly important as there is no worldwide or regional standard. In some cases, no country standard exists and the file must comply with bank-specific standards. With no ABAP programming knowledge required, this tool enables you to flexibly define new formats and to efficiently modify existing ones. In addition, DMEE can be used by calling applications to generate a DME file.

Objective:


In this topic, I will show you how to use the function exit in DMEE of a certain bank of a country.