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

Call function inside method

claudio_ciardelli2
Participant
0 Likes
1,256

Hello,

I am writing a public method in the BSA application class of a BSP application.

Inside the method I call a FM

call function 'guid_create'

IMPORTING

ev_guid_32 = guid32.

I can activate the class. But when I execute the BSP application I get an error message as follows:

=================================================

SAP Note

  • The following error text was processed in the system:

An exception with the type CX_SY_DYN_CALL_ILLEGAL_FUNC occurred, but was neither handled locally, nor declared in a RAISING clause

Exception Class CX_SY_DYN_CALL_ILLEGAL_FUNC

Error Name

Program ZCL_CCM=======================CP

=================================================

Is there a rle forbidding the call of FM in BSP Application Class methods?

Claudio Ciardelli

Include ZCL_CCM=======================CM003

ABAP Class ZCL_CCM

Method SAVE_CODE

Line 19

Long text Function call aborted: Function guid_create could not be found.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
631

Hi,

Give the function module name in Capital letters..

call function 'GUID_CREATE'

....

Thanks,

Naren

3 REPLIES 3
Read only

Former Member
0 Likes
632

Hi,

Give the function module name in Capital letters..

call function 'GUID_CREATE'

....

Thanks,

Naren

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
631

Try calling the function modue with capital letters instead of lower-case

Regards,

Rich Heilman

Read only

Former Member
0 Likes
631

Hi Claudio,

Write GUI_CREATE in capital letters.It will surely solve ur problem.

<b>plz reward points if helpful or if it solves ur query.</b>

Thanks

Chinmay