‎2007 Feb 16 4:19 PM
Hi All,
Can you please tell me what should be the Smartforms Naming standards? I need to create a doc for coding standards for Smartforms that will be used in my company. Just like the ABAP Coding standards and naming conventions. This is super urgent!!
Your help will be highly appreciated.
Thanks,
AD
Message was edited by: AD
Anagha Deshpande
‎2007 Feb 16 4:24 PM
Hi Anagha,
YOu should start the name of the smartforms with Z.
That is the only reservation when it comes to naming conflicts.
All other smartform elements are free to be named, with meaningful descriptions.
As you are creating the standards, you are free to define whatever you like for(PAges/ windows/text elements etc).
Regards,
Ravi
‎2007 Feb 16 4:24 PM
Hi Anagha,
YOu should start the name of the smartforms with Z.
That is the only reservation when it comes to naming conflicts.
All other smartform elements are free to be named, with meaningful descriptions.
As you are creating the standards, you are free to define whatever you like for(PAges/ windows/text elements etc).
Regards,
Ravi
‎2007 Feb 16 4:29 PM
Ravi,
Thanks for your quick reply. I have to come up with some coding and naming standards for Smartforms. Can you suggest me some ?
Thanks,
AD
‎2007 Feb 16 4:31 PM
This is what we generally follow, you may take a hint from it -
Font Family 8 ZHR_xxxxxxx
Standard Text 70 ZHRaakNNN_x .x
Output Device 30 Xxx .x
Page Format 16 ZHR_xx .x
Device Types 8 ZHR_xxxxxxx
Logos(Image for
Script/Smartforms) 40 ZHRaak_x .x
SAP Script Form / Smart forms 16 ZHRaakNNN_xxxxxxxxxxxxx (Note: Copied versions XXXXXX must be the SAP Form name.)
a indicates the application ID
k indicates the purpose of the program e.g.
S = SAPScript /HR Forms/ Smartforms
NNN -DER ID, Development Request ID
Number mention are the lengths.
Regards,
Amit
Reward all helpful replies.
‎2007 Feb 16 5:00 PM
Amit and Ferry,
Your answers helped! Is there any doc for Naming and coding conventions for Smartforms that u use at your place? Can u plz email me?
Thanks ,
AD
‎2007 Feb 16 4:34 PM
Hi AD,
You can try something like this.
Layout Sets:
Layout sets may have names up to 30 characters in length, using the format
Zx(2-30)
Example: ZNEWLAYOUT New layout is the layout set name.
If you copy a standard layout set, insert a Z as the first character .If the standard layout set already has 30 characters replace the first character with Z.
Styles:
Style may have names up to 30 characters in length, using the format
Zx(2-30).
Example: ZSTYLE.
If you copy a standard layout set, insert a Z as the first character .If the standard layout set already has 30 characters replace the first character with Z.
Standard Text IDs:
Standard text IDs may have name up to 4 characters in length using the format
Znnn.
Example: ZTXH.
If you copy a standard layout set, insert a Z as the first character .If the standard layout set already has 4 characters replace the first character with Z.
Standard Text Names:
Standard text names may have names up to 32 characters in length using the format Zx(2-32).
Example: ZSTANDARDTEXT.
If you copy a SAP standard text name, insert a Z as the first character .If the SAP standard text name set already has 32 characters replace the first character with Z.
Regards,
Ferry Lianto