on 09-06-2012 12:30 PM
Dear Experts,
How do i acess Node specific data from DMEE exit model.
My import parameters like below.
I_TREE_TYPE | TYPE | DMEE_TREETYPE | DMEE: tree type | |
I_TREE_ID | TYPE | DMEE_TREEID | DMEE: unique description for a DMEE format tree | |
I_ITEM | ||||
I_PARAM | ||||
I_UPARAM | ||||
I_EXTENSION | TYPE | DMEE_EXIT_INTERFACE | DMEE: Extended Interface for Exit Module |
This is my source code
DATA :
struct_item TYPE dmee_paym_if_type.
*- Moving Data to Structures -*
struct_item = i_item.
*- Based on the NODE ID -*
CASE i_extension-node-node_id.
*- Retreive the Company Code Text from table T001.
WHEN c_n_0755142350.
SELECT iban
FROM tiban
UP TO 1 ROWS
INTO (l_v_iban) " Iban
WHERE banks = struct_item-fpayh-zbnks
AND bankl = struct_item-fpayh-zbnky
AND bankn = struct_item-fpayh-zbnkn.
ENDSELECT.
c_value = l_v_iban.
ENDCASE.
but my problem is when activating my DMEE tree i m getting error message my like below
Node PrtryAcct: function module ZDMEE_OTHER has incorrect interface
Message no. DMEE_ABA358
Diagnosis
You have assigned the exit module ZDMEE_OTHER to node PrtryAcct. However, the interface for this function module is not one of the predefined interfaces.
Procedure
Make sure that your exit module uses the interface of one of the following module templates:
DMEE_EXIT_TEMPLATE_ABA
DMEE_EXIT_TEMPLATE_EXTEND_ABA
Thanks and Regards,
Kartheek
Hi,
error message is correct.
you've to use the following interface:
FUNCTION DMEE_EXIT_TEMPLATE_ABA.
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" VALUE(I_TREE_TYPE) TYPE DMEE_TREETYPE_ABA
*" VALUE(I_TREE_ID) TYPE DMEE_TREEID_ABA
*" VALUE(I_ITEM)
*" VALUE(I_PARAM)
*" VALUE(I_UPARAM)
*" EXPORTING
*" REFERENCE(O_VALUE)
*" REFERENCE(C_VALUE)
*" REFERENCE(N_VALUE)
*" REFERENCE(P_VALUE)
*" TABLES
*" I_TAB
*"----------------------------------------------------------------------
* Template function module --------------------------------------------*
I ues it too in my exit functions
ENDFUNCTION.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.