04-01-2008 2:15 PM
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)?
04-01-2008 2:28 PM
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.
04-01-2008 2:24 PM
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.
04-01-2008 2:28 PM
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.
04-03-2008 12:21 PM
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?
06-18-2008 11:18 PM
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)
09-02-2008 3:23 PM
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