10-31-2009 12:49 PM
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
11-01-2009 7:50 PM
11-03-2009 2:53 AM
Dear Wim Let me try this. will confirm as soon as get it done
11-03-2009 4:03 AM
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
11-04-2009 3:28 AM
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