2013 Feb 27 11:20 AM
Hi,
I have Dme tree with tree type as 'DART' and format tree as 'PT_AUDIT_SDXML' and I would like to change the value of field 'Invoice type' using
'Exit modules' . So I tried to copy fm 'DMEE_EXIT_TEMPLATE_ABA' to 'ZDMEE_EXIT_TEMPLATE_ABA' and attached this in exit module. In fm ZDMEE_EXIT_TEMPLATE_ABA , logic is written to populate invoice type with new value and passed it through C_VALUE but when I tried to check the syntax error for DME tree in tcode 'DMEE' , it says the below error
***********************************************************************************************************************************************************
Message no. DMEE_ABA358
You have assigned the exit module ZDMEE_EXIT_TEMPLATE_ABA to node InvoiceType. However, the interface for this function module is not one of the predefined interfaces.
Make sure that your exit module uses the interface of one of the following module templates:
******************************************************************************************************************************************************
but as I have copied zfunction from DMEE_EXIT_TEMPLATE_ABA only then why it's giving this error? Could someone help me to solve this?
or any other way (other than user exit , as it doesn't include that field ) to change the field values in DMEE files? Even I tried to directly attach FM DMEE_EXIT_TEMPLATE_ABA into exit module but it's not allowing to do the changes directly there. Please help.
Regards,
Mrunal
Hi,
I have Dme tree with tree type as 'DART' and format tree as 'PT_AUDIT_SDXML' and I would like to change the value of field 'Invoice type' using
'Exit modules' . So I tried to copy fm 'DMEE_EXIT_TEMPLATE_ABA' to 'ZDMEE_EXIT_TEMPLATE_ABA' and attached this in exit module. In fm ZDMEE_EXIT_TEMPLATE_ABA , logic is written to populate invoice type with new value and passed it through C_VALUE but when I tried to check the syntax error for DME tree in tcode 'DMEE' , it says the below error
***********************************************************************************************************************************************************
Message no. DMEE_ABA358
You have assigned the exit module ZDMEE_EXIT_TEMPLATE_ABA to node InvoiceType. However, the interface for this function module is not one of the predefined interfaces.
Make sure that your exit module uses the interface of one of the following module templates:
******************************************************************************************************************************************************
but as I have copied zfunction from DMEE_EXIT_TEMPLATE_ABA only then why it's giving this error? Could someone help me to solve this?
or any other way (other than user exit , as it doesn't include that field ) to change the field values in DMEE files? Even I tried to directly attach FM DMEE_EXIT_TEMPLATE_ABA into exit module but it's not allowing to do the changes directly there. Please help.
Regards,
Mrunal
2014 Mar 25 7:01 AM
Hi,
I think you can change your function module name, such as z_dmee_exit_template_aba.
BR
Iris
2014 Mar 25 7:12 AM
Hi Mrunal
Simply do one thing put a break point in include LDMEE1_ABACIN at line 1731 where it is calling
'FUNCTION_IMPORT_INTERFACE'. Check which all parameters it is comparing.. You will see that difference..Did you rename any parameters?
Nabheet
2019 Jun 20 4:37 PM
You must ask for sscr key to modify FM DMEE_EXIT_TEMPLATE_ABA
on import parameters put
i_tem TYPE DMEE_PAYM_IF_TYPE
2019 Jun 20 9:38 PM
But did you change anything in the function definition after you copied it? These FMs require very specific parameters (aka "interface").