2008 Jul 16 7:19 AM
In ABAP editor, when I go to pattern-> Other pattern and specify zpattern, then the following statements should be inserted in my code
************************************************************************
Changed by .......: Your Name
Date..............: Current Date
Requested By......:
Reference Document: SR......
Description.......: .................................................
.................................................
************************************************************************
Basically, my question is how do I create zpattern and insert these statements?
2008 Jul 16 7:22 AM
Hi
check out this link it has a example
for Dynamic Patterns
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1086690,00.html
if you want to create a new patter n
SE38-> Name of the program-> change/Display->UTILITIES>
MORE UTILITIES-->EDIT PATTERN>CREATE PATTERN
And define your pattern style
Regards
Pavan
Edited by: Pavan Bhamidipati on Jul 16, 2008 8:25 AM
2008 Jul 16 7:22 AM
Hi,
1>create your template as structure in SE11.
2> Go to your code in SE38
3> goto Pattern--> check Other pattern radio button
4> put the name of your structure
5>Click continue or ENTER.
Regards,
Anirban
2008 Jul 16 7:22 AM
Hi
check out this link it has a example
for Dynamic Patterns
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1086690,00.html
if you want to create a new patter n
SE38-> Name of the program-> change/Display->UTILITIES>
MORE UTILITIES-->EDIT PATTERN>CREATE PATTERN
And define your pattern style
Regards
Pavan
Edited by: Pavan Bhamidipati on Jul 16, 2008 8:25 AM
2008 Jul 16 7:28 AM
hi,
Create new Pattern using SE38.
UtilitiesMore UtilitiesEdit Pattern---Create Pattern.
Create and Save your pattern here.
Goto SE38 again and click on Pattern. Select the name of Your pattern and cick OK.
Hope this will help.
Regards
Sumit Agarwal
2008 Jul 16 7:28 AM
Hi,
check out the below link ..which helps you in identifying customer/menu/screen/field exits
http://www.sap-img.com/abap/what-is-user-exits.htm
Regards,
Harish
2008 Jul 16 7:28 AM
Hi Amit,
Step 1. Create a pattern in ABAP Editor.
Menu: Utilities > More utilities > Edit Pattern > Create pattern
Step 2. Create dynamic pattern.
In the pattern editor, go to dynamic. Menu: Pattern > dynamic.
Change the word EXIT for MUSTER. This means you are going to use a function where you are going to program the logic of the pattern.
Step 3. Create the function <PATTERN>_EDITOR_EXIT
In this example (pattern is called ZFUNCTION), a pattern that creates automatically the data declaration of the import, export, changing and table parameters of a function.
Regards,
Sravanthi
2008 Jul 16 7:29 AM
From transaction SE38 follow the menu path utilities->more utilities->edit pattern and click on Create pattern submenu.
Next enter the pattern name.
Now in the next screen enter the pattern content that you want to define and press save button.
Now go back to the program editor and press pattern button for inserting the newly created pattern in the program.
In the next popup screen choose the Other pattern radio button and press enter.
Now from the generated list double click on the pattern that we have created.
Pattern content will be inserted in the program.
Regards,
Joy.
2008 Jul 16 7:40 AM
Hi Amit.
I would like to suggest you a couple of references, those are quite similar to your issue,
[SDN Weblogs - Reference for creating dynamic patterns|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5715] [original link is broken] [original link is broken] [original link is broken];
[SAP HELP - Standard Reference for Inserting Statement patterns|http://help.sap.com/saphelp_nw04/helpdata/en/d1/801aaf454211d189710000e8322d00/frameset.htm]
GoTo->SE38-->In program-->Pattern--
>OTHER
Hope that's usefull.
Good Luck & Regards.
Harsh Dave