‎2007 Oct 26 8:09 AM
CALL FUNCTION lc_function
EXPORTING
IV_GUIDH =
iv_numb = es_notif-numb
IMPORTING
ev_header_guid_ext = lv_crm_guid
EXCEPTIONS
no_doc_flow_found.
IF sy-subrc NE 0.
number = es_notif-numb.
MESSAGE e600.
ENDIF.
here the code above is lc_function a funtion module lc_function is not in a single codes that y i am asking u
‎2007 Oct 26 8:16 AM
Hi Tanveer,,
Here LC_function is not the Name of the FM but it is the Variable Which is storing the Name of the FM.
call Function 'SPELL_AMOUNT' "Passing FM name Statically.
Data: LC_Function(30) value 'SPELL_AMOUNT'.
call Function LC_Function "Passing FM name Dynamically.
<b>REWARD IF HELPFUL.</b>
‎2007 Oct 26 8:12 AM
lc_function seems to be a variable.
Please check DATA declarations.
‎2007 Oct 26 8:17 AM
DATA: lc_function LIKE enlfdir-funcname
VALUE 'CRM_DNO_READ_DOCFLOW_DNO'.
Is that a function module we can define it like that also
‎2007 Oct 26 8:16 AM
Hi Tanveer,,
Here LC_function is not the Name of the FM but it is the Variable Which is storing the Name of the FM.
call Function 'SPELL_AMOUNT' "Passing FM name Statically.
Data: LC_Function(30) value 'SPELL_AMOUNT'.
call Function LC_Function "Passing FM name Dynamically.
<b>REWARD IF HELPFUL.</b>