Application Development 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: 

Standard FM/Includes are commented after upgrade

Former Member
0 Kudos

Hello Guys,

After upgrade to EHP8, certain standard FM's and Include Form methods have there code commented. These are called at places but it wouldn't give you the desired out come as the code is commented inside them.

The almost similar codes are present in the previous system when checked.

Can anyone tell why it is commented by SAP ?

Thank you,

1 ACCEPTED SOLUTION

matt
Active Contributor
0 Kudos

There was time a few years back when SAP issued a whole load of security related patches via OSS notes. They often were plugging holes caused by dangerous function modules and forms - and did so by commenting out the code in the body of the FM/form.

I.e. it's part of the upgrade and it's for security reasons. These bits of code should never have been open for use. Far too dangerous. Whatever functionality they had has been replaced. If you've used them in your own code, then you need to find new ways of achieving the same functionality.

2 REPLIES 2

matt
Active Contributor
0 Kudos

There was time a few years back when SAP issued a whole load of security related patches via OSS notes. They often were plugging holes caused by dangerous function modules and forms - and did so by commenting out the code in the body of the FM/form.

I.e. it's part of the upgrade and it's for security reasons. These bits of code should never have been open for use. Far too dangerous. Whatever functionality they had has been replaced. If you've used them in your own code, then you need to find new ways of achieving the same functionality.

Jelena
Active Contributor

To add to that - if an FM is not marked as released to the customers then it's "use at your own risk" (or better - don't use). SAP could change those at any time and we can't expect to get the same functionality all the time.

Unfortunately, we ran into this even with EHP6 and the FMs just shouldn't have been used in the first place.