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

Smartforms Naming Standards

Former Member
0 Likes
1,370

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
937

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

5 REPLIES 5
Read only

Former Member
0 Likes
938

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

Read only

0 Likes
937

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

Read only

amit_khare
Active Contributor
0 Likes
937

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.

Read only

0 Likes
937

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

Read only

Former Member
0 Likes
937

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 ID’s:

Standard text ID’s may have name up to 4 character’s 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