Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

is lc_function is a function module

Former Member
0 Likes
492

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

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
458

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>

3 REPLIES 3
Read only

Former Member
0 Likes
458

lc_function seems to be a variable.

Please check DATA declarations.

Read only

0 Likes
458

DATA: lc_function LIKE enlfdir-funcname

VALUE 'CRM_DNO_READ_DOCFLOW_DNO'.

Is that a function module we can define it like that also

Read only

varma_narayana
Active Contributor
0 Likes
459

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>