‎2008 Jun 04 4:08 PM
Hi experts,
I have function module which is used in one of the function modules that i need to change, but is never called anywhere in the FM. If I want to use this FM, what values should i have to pass as the I am unaware of the DMEE_TREETYPE / DMEE_TREEID data types.
Please help me. The FM is below.
FUNCTION Z_GET_SGTXT.
*"----
""Local Interface:
*" IMPORTING
*" VALUE(I_TREE_TYPE) TYPE DMEE_TREETYPE
*" VALUE(I_TREE_ID) TYPE DMEE_TREEID
*" 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 --------------------------------------------*
data: lt_tab type table of DMEE_PAYM_IF_TAB.
data: ls_item type DMEE_PAYM_IF_TYPE,
ls_tab type DMEE_PAYM_IF_TAB.
ls_item = i_item.
n_value = ls_item-fpayp-sgtxt+0(30).
ENDFUNCTION.
Thanks
Asha
‎2008 Jun 04 4:13 PM
Hi Asha,
I am not able to understand your query. Pls elaborate
Thanks
Nayan
‎2008 Jun 04 4:17 PM
Hi,
I have a FM (say FM1) which needs to be changed to get the SGTXT for the payment. When i searched the FM, I found the above mentioned FM (Z_GET_SGTXT) (say FM2) within the includes of FM1. But FM2 is never called in FM1. Now if I want to use it, I am not able to figure out what are the import parameters. Please help me in using the Z_GET_SGTXT FM.
Thanks
Asha
‎2008 Jun 04 4:17 PM
Look at table DMEE_TREE for these fields ... TREE_TYPE ,
TREE_ID
Check entries in the table and pass accordingly ...
‎2008 Jun 04 4:29 PM
Hi Srinivas,
thanks for the suggestion. I got the values. But what should i pass for i_item, i_param and i_uparam.