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

change default form 'header' when creating a new one

Former Member
0 Likes
726

Hi dear community members.

I have a shourt question.

When I create a new FORM, code editor puts a default form 'header', like:


*&---------------------------------------------------------------------*
*&      Form  AAA
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  -->  p1        text
*  <--  p2        text
*----------------------------------------------------------------------*
FORM AAA .

ENDFORM.                    " AAA

Is this possible to change this default header or disable it?

Or do I have to change this manually every time when creating a new form...

Will be thankful for tips.

Kind Regards,

P.

4 REPLIES 4
Read only

Former Member
0 Likes
666

If you are using the "new" editor:

Inside the editor, there should be a small icon in the bottom right of the screen with a paper in front of a yellow folder. Click here and see the Code Templates section!

Read only

0 Likes
666

Erik, thank you for reply.

Unfortunately you cannot interfere in the FORM code pattern I am writing about.

You can define there your own patterns and use them later in code editor with shortcuts.

Anyway, the functionality you described is very interesting.

Best Regards,

Piotr.

Read only

0 Likes
666

Hi Piotr,

I tried it on the FORM code pattern and it worked for me. Maybe you're restricted by authorizations from modifying the system patterns?

Thanks,

Erik

Read only

Clemenss
Active Contributor
0 Likes
666

Hi Piotr,

try

Menu: Utilities > More utilities > Edit Pattern >

Regards,

Clemens