Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

DMEE Exit Module Help

Former Member
0 Kudos

Let me tell you what needs to be done..

DME engine

Tree type – PAYM

Format tree defind

Now using template DMEE_EXIT_TEMPLATE_ABA, a few user exits are required to be created to make certain changes in the outgoing format. Could you please let me know how to do it(I mean steps)?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

For prototype of the function module which needs to be created,

u can refer to function module ' DMEE_EXIT_TEMPLATE'

in se37.

Thanx ,

Navin.

5 REPLIES 5

Former Member
0 Kudos

Hey hi,

U can create a dmee tree with T-code DMEE.

ONce u create the nodes u hav to define the attributes and also the mapping whether constant, structure field, aggregation and

exit module....

U need to create a function module with reference to the template mentioned....

Define the import, export parameters...

When you code the function module pass the value to

c_value which in turn will be mapped to the nodes...

Thanx,

Navin.

Former Member
0 Kudos

Hi,

For prototype of the function module which needs to be created,

u can refer to function module ' DMEE_EXIT_TEMPLATE'

in se37.

Thanx ,

Navin.

Former Member
0 Kudos

Thank you guys for your help. Now I need a bit more help.

I have a problem in which I have to count the occurence of 1 segement i.e. DOC and if it is more than a certain number of times, it is required to delete certain other segments like CTA(from segment 13), PRC(from segment 16) etc. How do I do it?

Former Member
0 Kudos

I don't understand...

I create the module function but i don't know how link my structure in the dmee with the module function.

In the dmee, i select the option Module Exit but after i don't know how to procced...

Help please... If anybody can help me it's great

(Sorry for my poor english)

0 Kudos

Step 1 - Create a function Module as an extact copy of DMEE_EXIT_TEMPLATE_ABA or DMEE_EXIT_TEMPLATE-extend_ABA.

Remark : Do NOT change anything on the Import/Export/Changing/Tables.... or your FM will not get recognized

Step 2 - Data Declaration : To be able to use I_ITEM data (type dmee_paym_if_type)

e.g.

Data: zwa_item type dmee_paym_if_type,

zwa_fpayhx type fpayhx.

Step 3 - Perform required actions :

e.g..

Sequential number

CALL FUNCTION 'FI_PAYM_NEXT_NUMBERS_GET'

EXPORTING

i_formi = zwa_fpayhx-formi

i_banks = zwa_fpayhx-ubnks

i_banky = zwa_fpayhx-ubnky

i_bankn = zwa_fpayhx-ubknt

i_key2 = sy-datum

i_reorg_days = '1'

IMPORTING

e_first_number = ln_number

EXCEPTIONS

foreign_lock = 1

OTHERS = 2.

Step 4 : Return data:

n_value = ln_number. (type N - when expecting an Type NUMC value in your DMEE)

Step 5 : DMEE : Attribute - Define name, length, Type and flag Exit module

Step 6 - DMEE : Source - Exit Funtion -> Name of your Newly created function module.

That's All !

g