<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do i create a header template for ABAP programs? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618828#M871792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how do I create that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2008 11:48:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-01T11:48:44Z</dc:date>
    <item>
      <title>How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618822#M871786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need a little bit of help here. When you create a new program you get a template with space for comments at the top of the program and basic stuff. If I want to change this template to add areas that we want to have comments on for every program we make at work. How do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*************************************************
*						*
*						*
*						*
*************************************************
*						*
*						*
*						*
*************************************************&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have in a way similar to this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*************************************************
*	Author:					*
*						*
*						*
*************************************************
*	Function:				*
*						*
*						*
*************************************************&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And so on&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the words to be there when our developers creates the program.&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Kalle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618822#M871786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618823#M871787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can creqte a page header and make this in a include. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call this include in the report you are using . This is for the O/ p list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Let me know the version you are working on. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618823#M871787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618824#M871788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. se38&lt;DEL&gt;&amp;gt;change&lt;/DEL&gt;&amp;gt;Utilities -&amp;gt; More Utilities -&amp;gt; Edit Pattern -&amp;gt; Create Pattern  -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt; create pattern that you want&lt;/P&gt;&lt;P&gt;2. Enter the name of the pattern and press enter&lt;/P&gt;&lt;P&gt;3. Press SAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   use it in your program by calling Pattern -&amp;gt; Other patterns &lt;/P&gt;&lt;P&gt;   -&amp;gt;   your pattern name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yossi Rozenberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618824#M871788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618825#M871789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if that's what we are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've heard about an exit where you can add your own code to be the default code in a program when you create it. Do you have any idea of what exit that is and how I use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618825#M871789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618826#M871790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it created automatically friend...if u want ur own template u had to create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V.Balaji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Usefull...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618826#M871790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618827#M871791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We dont want to manualy go in and call the pattern in the program because the develepoers will "forget" to do that so we want it to be created automaticly when you create a program. Is that possible with your method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Kalle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618827#M871791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618828#M871792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how do I create that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618828#M871792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618829#M871793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the enhancement : SEU00001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the exits &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPDSAHD_010     &lt;/P&gt;&lt;P&gt;EXIT_SAPLSEDTATTR_010 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 11:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618829#M871793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T11:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618830#M871794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After I create a new report program, I delete everything but the REPORT line.  I then put this code in for my skeleton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
***********************************************************************
* Created By:            Walter Industries (Paul Chapman)
* Created On:            02/29/2008
*
* Tran Code:             ZLMxx
* Program Name:          YPTC_REPORT_SKELETON        " replace New Progam Name herer
* Program Descr:         Configurable Leads Data Query
*_______________________________________________________________________
*                         Modification Log
*_______________________________________________________________________
* Programmer   :Issue:   Date   : Chg Req. : Description
*_______________________________________________________________________
* Paul Chapman :00000:02/29/2008:DEVK000000:New Program
*_______________________________________________________________________
REPORT yptc_report_skeleton MESSAGE-ID zleads_msg.      " replace New Progam Name herer
*_________________________________________________ Tables
TABLES: zpca, cepc, zlmlead.
*_________________________________________________ Constants
CONSTANTS:
  line_length      TYPE i VALUE 100,
  c_tab            TYPE x VALUE 9,                          " x'09'
  c_crlf           TYPE x VALUE 3338.  " x'ODOA'
*_________________________________________________ Types
TYPES: BEGIN OF scr_text_line,
         line(line_length) TYPE c,
       END OF scr_text_line.
*_________________________________________________ DATA
DATA:
  curr_screen_tab(4) TYPE n.
*_________________________________________________ ALV Area
*_________________________________________________ Ranges
RANGES:
  r_branch       FOR zpca-branch.
*_________________________________________________ Selection Screen
SELECTION-SCREEN:
  BEGIN OF TABBED BLOCK tabs FOR 36 LINES,
    TAB (20) tab1   USER-COMMAND push1 DEFAULT SCREEN 1010,
    TAB (20) tab2   USER-COMMAND push2 DEFAULT SCREEN 1020,
  END OF BLOCK tabs.
*----------------------------------------------------------------------*
* Tab1 Options            S E L E C T I O N    S C R E E N S    Tab 01 *
*----------------------------------------------------------------------*
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECT-OPTIONS:
   sdiv      FOR cepc-prctr MATCHCODE OBJECT zdivjwh,
   ssbrch    FOR zlmlead-branch.
SELECTION-SCREEN: END OF BLOCK blk1.
SELECTION-SCREEN: BEGIN OF BLOCK bl10 WITH FRAME TITLE text-010.
PARAMETERS:
  cparm1   AS CHECKBOX USER-COMMAND sel,
  cparm2   AS CHECKBOX USER-COMMAND sel,
  cparm3   AS CHECKBOX USER-COMMAND sel,
  cparm4   AS CHECKBOX USER-COMMAND sel,
  cparm5   AS CHECKBOX USER-COMMAND sel.
SELECTION-SCREEN: END OF BLOCK bl10.
SELECTION-SCREEN END OF SCREEN 1010.
*----------------------------------------------------------------------*
* Tab 2 Options            S E L E C T I O N    S C R E E N S   Tab 02 *
*----------------------------------------------------------------------*
SELECTION-SCREEN BEGIN OF SCREEN 1020 AS SUBSCREEN.
SELECTION-SCREEN: BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
SELECT-OPTIONS:
   sctype      FOR zlmlead-ctype,
   sprfcnt     FOR zlmlead-prefcont.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(25)   text-201.
SELECTION-SCREEN POSITION 30.
PARAMETERS:  rb_opt1 RADIOBUTTON GROUP gr20.
SELECTION-SCREEN COMMENT 34(03)  text-991. " Yes
SELECTION-SCREEN POSITION 40.
PARAMETERS:  rb_opt2 RADIOBUTTON GROUP gr20.
SELECTION-SCREEN COMMENT 44(03)  text-992. " No
SELECTION-SCREEN POSITION 50.
PARAMETERS:  rb_opt3 RADIOBUTTON GROUP gr20.
SELECTION-SCREEN COMMENT 54(06)  text-993. " Either
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN: END OF BLOCK blk2.
SELECTION-SCREEN: BEGIN OF BLOCK bl20 WITH FRAME TITLE text-020.
PARAMETERS:
  cb_opt1   AS CHECKBOX,
  cb_opt2   AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN: END OF BLOCK bl20.
SELECTION-SCREEN END OF SCREEN 1020.
*____________________________________________ Screen Actions
AT SELECTION-SCREEN OUTPUT.
  PERFORM what_tab_am_i_on.
  CASE curr_screen_tab.
    WHEN '1010'.                                            " Tab 1
    WHEN '1020'.                                            " Tab 2
    WHEN OTHERS.
  ENDCASE.
  PERFORM tab_hide_unhide.
*___________________________________________  Initialization
INITIALIZATION.
* Tab Text
  tab1  = 'Tab 1'.
  tab2  = 'Tab 2'.

*_________________________________________________ Load of Program

LOAD-OF-PROGRAM.

*_________________________________________________ Start of Selection

START-OF-SELECTION.
  PERFORM set_up_branch_range.


*_________________________________________________ End of Selection

END-OF-SELECTION.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  what_tab_am_i_on
*&amp;amp;---------------------------------------------------------------------*
FORM what_tab_am_i_on.
  LOOP AT SCREEN.
    IF     screen-name CS 'BLOCK_1010'.
      curr_screen_tab = '1010'.
    ELSEIF screen-name CS 'BLOCK_1020'.
      curr_screen_tab = '1020'.
    ENDIF.
  ENDLOOP.

ENDFORM.                    " what_tab_am_i_on
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  tab_hide_unhide
*&amp;amp;---------------------------------------------------------------------*
FORM tab_hide_unhide.

  LOOP AT SCREEN.
    CHECK screen-group3 = 'TAB'.
    CASE screen-name.
      WHEN 'TAB1'.
*        IF
*          screen-active = 1.
*          screen-required = 1.
*          screen-input = 1.
*          screen-output = 1.
*          screen-intensified = 1.
*          screen-invisible = 1.
*        ELSE.
*          screen-active = 0.
*          screen-required = 0.
*          screen-input = 0.
*          screen-output = 0.
*          screen-intensified = 0.
*          screen-invisible = 0.
*        ENDIF.
      WHEN 'TAB2'.
*        IF
*          screen-active = 1.
*        ELSE.
*          screen-active = 0.
*        ENDIF.
    ENDCASE.
    MODIFY SCREEN.
  ENDLOOP.
ENDFORM.                    " tab_hide_unhide
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  set_up_branch_range
*&amp;amp;---------------------------------------------------------------------*
FORM set_up_branch_range.

  r_branch[]  = ssbrch[].

  CHECK NOT sdiv  IS INITIAL.

  r_branch     = 'IEQ'.

  SELECT branch INTO r_branch-low
    FROM zpca
    WHERE region = 'JWHCO'
      AND division IN sdiv.
    APPEND r_branch.
  ENDSELECT.

  SORT r_branch.
  DELETE ADJACENT DUPLICATES FROM r_branch.

ENDFORM.                    " set_up_branch_range
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 12:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618830#M871794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T12:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create a header template for ABAP programs?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618831#M871795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's pretty much the thing I look for but I want it to be automaticly when I create a program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 12:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-header-template-for-abap-programs/m-p/3618831#M871795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T12:13:16Z</dc:date>
    </item>
  </channel>
</rss>

