Application Development 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: 

How To Change The Patter generates during creation of Prog using SE38

former_member191434
Participant
0 Kudos

Dear Guru,

I have Encountered an Issue.

The Scenario Is like this :-

As soon as we create a new prog using SE38 it automatically generates a standard pattern like below :

*&---------------------------------------------------------------------*
*& Report  ZSR_TEST_05
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  ZSR_TEST_05.

But the requirment is like this as soon as we create a new prog using SE38 it automatically it should generate the The Pattern like below :--

*&---------------------------------------------------------------------*
*& Project            :
*& Program Name       :
*& Transaction Code   :
*& Program Type       :
*& Functional Domain  :
*&---------------------------------------------------------------------*
*& Technical Coding   :
*& Functional Guidance:
*& Coding Review      :
*& Spec. Review       :
*&---------------------------------------------------------------------*
*& Program Description:
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*
REPORT  ZSR_TEST_05.

After going through sdn documentation i have identified that using dynamic pattern we can create this and call that dynamic pattern using PATTERN button in ABAP editor.

But the thing we require as soon as we generate the prog thr. SE38 atomatically all the details must generate before the report <report_name>.

For achieving thins what i have to do ... please show me some path to achieve this

Thanks & Regards

Saifur Rahaman

4 REPLIES 4

Former Member
0 Kudos

Hello,

Take a look at the following thread, especially the user exit implementation on the second page, this will help you:

[;

Wim

0 Kudos

Dear Wim Let me try this. will confirm as soon as get it done

uwe_schieferstein
Active Contributor
0 Kudos

Hello Saifur

Not sure if you can make SE38 to do what you want (yet it is likely). If you do not want to create lots of ABAP patterns why not define a simple ZTEMPLATE report containing the basic set of comments:


*&---------------------------------------------------------------------*
*& Project            :
*& Program Name       :
*& Transaction Code   :
*& Program Type       :
*& Functional Domain  :
*&---------------------------------------------------------------------*
*& Technical Coding   :
*& Functional Guidance:
*& Coding Review      :
*& Spec. Review       :
*&---------------------------------------------------------------------*
*& Program Description:
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*
REPORT  ZTEMPLATE.


*&---------------------------------------------------------------------*
*& Initialize report
*&---------------------------------------------------------------------*
INITIALIZATION.


*&---------------------------------------------------------------------*
*& PBO of Selection-Screen
*&---------------------------------------------------------------------*
AT SELECTION-SCREEN OUTPUT.

*&---------------------------------------------------------------------*
*& PAI of Selection-Screen
*&---------------------------------------------------------------------*
AT SELECTION-SCREEN.


*&---------------------------------------------------------------------*
*& Begin of Main Program
*&---------------------------------------------------------------------*
START-OF-SELECTION.


*&---------------------------------------------------------------------*
*& End of Main Program
*&---------------------------------------------------------------------*
END-OF-SELECTION.


New reports are then created by copying your ZTEMPLATE template.

Regards

Uwe

0 Kudos

Dear Uwe Sir,

This is what i have already tried what you have suggested . But the requirment is like this as soon as we create a new prog using se38 it should generate the custom patern what i have mentioned rather than generating the default pattern.

can you suggest anything regarding this how this can be achieved ??

Thanks & regards

Saifur Rahaman