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_NOT_FOUND

chandravadanj
Explorer
0 Likes
874

Hi,

I have written program to make a call to FTP Server to send a XML File. In program I am calling a function HTTP_SCRAMBLE. Program is working fine in Development and Quality system. But in Production system it is going for Runtime error "CALL_FUNCTION_NOT_FOUND" at the Function Module HTTP_SCRAMBLE.

In Production call is as follows:

call function 'http_scramble'
   exporting
     source      = pwd
     sourcelen   = slen
     key         = key
   importing
     destination = pwd.

In Dev&Quality call is as follows:

call function 'HTTP_SCRAMBLE'
   exporting
     source      = pwd
     sourcelen   = slen
     key         = key
   importing
     destination = pwd.

This Program was working fine in Production few days back without any runtime error. Yesterday we have moved a small code change to this program in Production. Code change was not at this function module.

Once thing which I noticed Function Module Names in the program in Production are in small letters for example, "http_scramble", "ftp_connect" etc whereas in Development and Quality system, those are in capitol letters for example, "HTTP_SCRAMBLE", "FTP_CONNECT".

When I double-click on the Function module in the program, it takes me to the Function module in Development and Quality. But the same thing is not happening in Production.

Attached screenshot of the runtime error.

Please advise.

Thanks,

CJ

3 REPLIES 3
Read only

Former Member
0 Likes
733

This is strange but would it possible if you re-import transport to production.

Did you call FM via Pattern or you typed it by your own. Just call via patter in dev box and move transport to Production.

Regards,

Deepti

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
733

Did the Gui and ABAP Settings of Prod and QA/DEV are Same..? some times it happens.. Check the Setting. In the Function Cals the FM name should be in CAPS and in single ' '

Read only

madhu_vadlamani
Active Contributor
0 Likes
733

Hi Jaiswal,

Looks only issue in capital letters.Instead of copy the fm call from pattern.

Regards,

Madhu.