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

Function Model "FILE_VALIDATE_NAME" missing!

0 Likes
4,100

Hi Experts,

When I run a report requiring downloading file from server, an abap dump shown, claiming function model "FILE_VALIDATE_NAME" is missing!

Can you tell me how to fix it?

Is there any notes that I can import to get that?

Many thanks!

Kelvin

13 REPLIES 13
Read only

former_member201275
Active Contributor
0 Likes
3,173

Can you please post the dump here.

Are you sure the FILE_VALIDATE_NAME is missing? Or is it that the physical file is missing?

Please also go to transaction SE37 in your backend system and confirm that FILE_VALIDATE_NAME is not there.

Read only

0 Likes
3,173

Dear Glen,

I've tried Se37 for the function model... it is missing  in the system T_T...

Please find the dump infromation below,

Thanks!

Kelvin

Read only

0 Likes
3,173

ok, that is weird, what version sap are you running?

Read only

0 Likes
3,173

Dear Glen,

It's SAP ECC6.0 EHP 14.... launched in 2010...

Kind old version, never upgraded.

thanks

Kelvin

Read only

Former Member
0 Likes
3,173

Hi Hao,

FILE_VALIDATE_NAME is missing in my systems too.

I can provide a work around as the documentation says FILE_GET_NAME is used in it. you can replace the function module with it and do a validation by comparing the filename against the selection screen entry.

If it matches file validation is done.

Check the Function Module FILE_VALIDATE_NAME - Logical File Names - SAP Library

documentation for more details.

Regards,

Kannan

Read only

0 Likes
3,173

Dear Kannan,

Is it possible to import a series of notes to get the function model?

Since we are currently trying to export a file from the report, I don't know if it is okay to walk around...

Many thanks.

Kelvin

Read only

JL23
Active Contributor
0 Likes
3,173

in some OSS notes found when searching with the file name it is said:

The function module "FILE_VALIDATE_NAME" was introduced by SAP during a security initiative in 2010. For more details see OSS notes #1497003, #1542033, #1543851, #1936262.

Read only

0 Likes
3,173

Dear Jürgen,

Many thanks.

I've check the note 1497003... it says that a kernel upgrade might be necessary for that.

It is true that if we want the function model, we have to upgrade the kernel?

Therefore, we can only employ the walk around solution?

Best regards,

Kelvin

Read only

former_member201275
Active Contributor
0 Likes
3,173

Is the report you are running a sap standard or bespoke report? If it is bespoke you can try changing this to use function module FILE_GET_NAME instead.

Read only

0 Likes
3,173

Dear Glen,

It's a standard report for Spanish VAT Tax.

The program is the result of importing note :0001679094.

Is it possible to change to use function model  FILE_GET_NAME?

Many thanks.

Kelvin

Read only

0 Likes
3,173

It is possible, but not recommended to change sap standard. You will have to get a Key from sap frist in order to change this, and then get an abapper to do this, but i would investigate other alternatives rather than changing standard code.

Maybe you can copy the standard program to a Z* program and then change it, or maybe there is an older version of this program in the version management of this standard program which you can dig up and create a Z* program from this? All depends what is there in previous versions.

Read only

0 Likes
3,173

Dear Glen,

Thank you very much.

However, the report is a new report created in 2012... therefore it doesn't have an old version.

Hence, the only way is to copay the program in to a "Z" program, and change the output part of it....

Best regards,

Kelvin

Read only

0 Likes
3,173

I can only recommend to create enough pressure inhouse to load these other SAP notes to get the right function module. If a Kernel update is absolutely necessary then you should go for it, 4 years is a long long time in IT business.

Especially with these legal reporting programs you often get updates and you may get a lot of work when you have to make all updates then in your Z-program.