2013 Jul 10 10:27 AM
Greetings to All ,
There is a Tcode in our system for Gate Pass ZGPMAIN.
I was checking the code of that tcode and I saw that its name is SAPMZD_MM_GP .
How is this possible .
My ABAPER here has told me that they can't create any program with name other than starting from either Z or Y.
He is also clueless regarding this matter , reason being its not his creation.
Am a MM consultant ans just curious to know about this.
Moderator message - Please search before posting your question. I understand you are an MM consultant but Forum Rules of Engagement applies to all
Message was edited by: Suhas Saha
Greetings to All ,
There is a Tcode in our system for Gate Pass ZGPMAIN.
I was checking the code of that tcode and I saw that its name is SAPMZD_MM_GP .
How is this possible .
My ABAPER here has told me that they can't create any program with name other than starting from either Z or Y.
He is also clueless regarding this matter , reason being its not his creation.
Am a MM consultant ans just curious to know about this.
Moderator message - Please search before posting your question. I understand you are an MM consultant but Forum Rules of Engagement applies to all
Message was edited by: Suhas Saha
2013 Jul 10 10:45 AM
Hi Prasanna,
This is a Module Pool. It generates a function group, the main programa autogenerated by system has a name like "SAPM" + modul pool name. Actually your modul pool is called ZD_MM_GP.
Regards,
Alex
2013 Jul 10 10:49 AM
The same goes for the generated includes of function groups, your ABAP colleague should be familiar with this behaviour from these.
Module pools are kind of seldom used nowadays, so this might have been a bit misleading.
Regards
Andre
2013 Jul 10 10:49 AM
Hi Prasanna,
This is not SAP namespace it is customer name space only
For Module pool Programs and Function Groups SAP has reserved a prefix SAPMZ and SAPLZ
SAPM means Module Pool
SAPL means Function Group.
The next character after the prefix suggest what name space it belongs to.
If you open a Function group and go on the GO TO -> Main Program read the name you will have a clear idea.
Regards
2013 Jul 10 10:55 AM
Hi Prasanna,
Good Evening.
In SAP ABAP, a program can be created to serve many purposes like :
For reporting purposes (reports) we create an executable program using T code SE38. In this transaction the customs program name should start with Z or Y .its a mandate. the same can also be accessed through se80 transaction
A program with Screens generally used for developing a functionality is created as a Module pool program. Which is created using T code SE80. While creating Module pool programs SAP recommends to start the program name with prefix "SAPMZ____" which indicates that this is an SAPModule pool Z program and rest you can provide any relevant name.
If you are following this naming convention the system automatically identifies that you are about to create a module pool program and proposes whether to create a TOP include or not (TOP include is the programming area where all the basic declarations are carried out).
So what you seen is a custom development program which belongs to module pool category. thats the reason why the program starts with SAPMZ.. the Z indicates that it is a Custom developed program for your internal purposes.
Go to T code : se93
Give the t code : ZGPMAIN and press Display
Here is where you will see that the program name will be given as SAPMZD_MM_GP. Also with this, a screen number will be associated which may be '9000' '9001' etc. which are custom screens.
So Concluding: the program that you see (SAPMZD_MM_GP) is a custom developed Z program.
Also catch here is : Module pool programs are recommended to start with SAPMZ_____.
For report program if you go into the transaction you will find that the program, starts with Z or other custom namespace.
Regards
Devanand D Shenoy
2013 Jul 10 11:02 AM
Hi Prasanna,
It correct that a custome program needs to be started with either Z or Y,
but the one which you are talking about in your question (SAPMZD_MM_GP) is a module pool program.
The naming convention for a custom module pool program is SAPMZ or SAPMY which gets generated automatically,similarilly for a custom function module it starts with SAPLZ or SAPLY
Here the fifth letter 'z' OR 'y' denotes it as custom.
Hence your program is a module pool program(ZD_MM_GP) which is custom only.
Hope it helps!!!!!
Regards,
Alora
2013 Jul 10 11:08 AM
Please search for available documentation:
SAP Library - Namespaces and Naming Conventions (BC-CTS-NAM)
Thomas
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |