‎2009 Feb 03 5:07 PM
need to call a function module, for security purpose, do not want to show the name of function module,
how it can be done ?
Study SAP
‎2009 Feb 03 5:14 PM
You need to call the function module. For security reasons, i cannot show the sourcecode.
‎2009 Feb 03 5:20 PM
for example in smart form we can call the function module using variable value.
Call Function fm_name
We can get the value of function module for smartform using FM ssf_function_module_name, passing the same in fm_name.
But when we have our own function module, needs to call FM with same style.
The name of function module should not be shown in the code.
This is the requirement.
‎2009 Feb 03 5:32 PM
Go to view v_fdir and give your function module name and get the area and include number.
now try this code example.
data: funcname like v_fdir-funcname.
select single funcname into funcname from v_fdir where area = <your FM area> and include = <your FM include num>.
call function funcname.Edited by: riki frisky on Feb 3, 2009 6:36 PM
‎2009 Feb 19 11:04 AM
>
> for example in smart form we can call the function module using variable value.
>
> Call Function fm_name
>
> We can get the value of function module for smartform using FM ssf_function_module_name, passing the same in fm_name.
>
> But when we have our own function module, needs to call FM with same style.
> The name of function module should not be shown in the code.
It seems your End-users undertand the ABAP.
If yes than they can Just Double click on fm_name it will take them towards FM name
‎2009 Feb 20 2:38 AM
>
> need to call a function module, for security purpose, do not want to show the name of function module,
> Study SAP
Have you tried the Invisible font in the new ABAP Editor yet?
‎2009 Feb 20 4:18 AM
Hi,
Do you think that we will crack your system if you give us the FM name?? Are you a developer or a FUNCTIONAL ??
‎2009 Feb 20 1:44 PM
I think the responders so far don't understand the question. But that's probably because you don't state it very well. What you want is a way to call a function module without having the name of the function module in the program. Easy.
Create a table with one field, perhaps in an encrypted format. Let's say you've a function module (DECRYPT) that decrypts the entry in the table to plain text.
SELECT SINGLE field FROM my_table INTO my_field.
CALL FUNCTION 'DECRYPT' exporting output = my_field
importing input = plain_text.
CALL FUNCTION plain_text.You should have noticed that in most cases, where you see CALL FUNCTION, it is followed by a character literal. CALL FUNCTION 'SOME_FUNCTION'. You see, it's encased in quote. That makes it a literal. You can replace the name of the function module, with the quotes, with any character like variable that contains the function name.
matt
‎2009 Feb 21 11:28 AM
But if the concern here is that the user can display the name of the function in the code, then why should the concern be less if they can just as well display the name of the function in the debugger, or a developer trace, or a dump....
Cheers,
Julius