2009 May 14 12:50 PM
Hi Experts,
Why does SAP allows us to create a Function Module without starting with Z or Y unlike creation of programs where this is not allowed?
Thanks a lot in advance.
Regards
T
2009 May 15 6:40 AM
Hi Tush,
you are correct SAP allows us to create function modules without starting with 'Z' or 'Y' because internally they are include programs and SAP prefixes some standard character just before the FM name such as 'SAPL' so even if you create FM without starting with 'Z' or 'Y' it is going to prefix it so it does not matter with what ever name you give. but for programs there is no prefix by standard characters from SAP, so for easy differentiation of SAP development and custom development they have maintained this standard.
to differentiate for function modules they use the function group name if they are in custom name spacwe i.e. if they start with y or z then the function modules under them are said to be in custom only.... so it does not matter with what ever name you give for function module..
Regards,
Siddarth
2009 May 14 6:37 PM
2009 May 14 6:44 PM
2009 May 14 7:45 PM
2009 May 14 11:21 PM
Just log onto https://service.sap.com.
There is a patch there for this on the front page.
Cheers,
Julius
2009 May 14 11:58 PM
Think that you and your kid has the same name. If you get a mail (post) whom do you think it is for? so we keep John Jr. for as kids name soo Jr. in terms of SAP means Z and Y.
2009 May 15 12:33 AM
Function modules are contained in FUnction Group, which must start with Y* or Z*. Actual function module name can start from any character, but if it doesnt start with Y_ or Z_ you will get a warnign message.
same with Module pools, you can create programs using SAPMZ* or SAPMY, and can have include with MY or MZ*.
Just in Function modules, your program name is SAPLZ* or SAPLY* , and include names will be LY* or LZ*, Actual function module name doesnt matter
2009 May 15 6:22 AM
2009 May 15 6:34 AM
2009 May 15 6:40 AM
Hi Tush,
you are correct SAP allows us to create function modules without starting with 'Z' or 'Y' because internally they are include programs and SAP prefixes some standard character just before the FM name such as 'SAPL' so even if you create FM without starting with 'Z' or 'Y' it is going to prefix it so it does not matter with what ever name you give. but for programs there is no prefix by standard characters from SAP, so for easy differentiation of SAP development and custom development they have maintained this standard.
to differentiate for function modules they use the function group name if they are in custom name spacwe i.e. if they start with y or z then the function modules under them are said to be in custom only.... so it does not matter with what ever name you give for function module..
Regards,
Siddarth
2009 May 15 2:29 PM
The above answer is, in my view, perfect in almost all respects. I say "almost", because you get the warning unless it is Z_ or Y_ - you have to have the underscore. But you CAN call them anything.
All those answered otherwise have received an email explaining this fact. And the posts have been rejected.
It's very sad that so many answered this question with the wrong answer. You answered from opinion, NOT knowledge. You didn't even bother to check.
matt
2009 May 18 6:10 AM
Hi Siddarth and Matt,
You are both very right.. some of the users did not even bother reading the question well.
Thanks a lot to both of you.
2009 May 15 6:47 AM
2009 May 15 7:17 AM