05-14-2009 12:21 PM
Hi All,
How do we create Explicit enhancement, when we dont have any enhancement point or section in SAP source code.
Note: I know how to Implement point or section ..... but i like to know how can we create.
Thanks
A
05-14-2009 12:54 PM
i dont think you can create a Enhancement Point..
may be you have to go with the conventional way of access key or BADI..
05-14-2009 12:54 PM
i dont think you can create a Enhancement Point..
may be you have to go with the conventional way of access key or BADI..
05-14-2009 1:02 PM
Thanks for reply ......
i also think the same.....
any more input will be helpfull...
Thanks
A
05-15-2009 8:13 AM
Hi,
Can you do 'show implicit enhancement options' and implement the same.
This way you u can write whatever code you want and modify the system internal tables and variables.
regards,
Vinod.
05-15-2009 9:14 AM
Hi,
We could use menu option to show Explicit enhancement points..
The lines where we can create them gets highlighted-generally first and last line of the form-endform,
Then you could right click adn create the point.
Then, we could create an include within and give your code there.
Regs,
Venkat
05-15-2009 11:40 AM
~vinod doshi & Venkat
Please.......
Read the question before you answer.
My question still remains unanswered ... Any more Input's.
Thanks
A
05-15-2009 12:44 PM
Pls go through the following link you will come to know about Implicit and Explicit Enhancements and the enhancement creation as well
Regards
Deepak
05-15-2009 1:17 PM
~Deepak Raj Pendyala.
I have already gone through this link.....
If you see the pdf ...
on page no 16 .. they have shown about Implicit enhancement options.
on page no 17 .. they have shown about existing Explicit enhancement options
on page no 18 .. they have shown about .. how Explicit enhancement options works
on page no 19 .. edit modes for enhancement.
they have 2 points:
Point 1:
Use Change Mode for creating enhancement points &
sections.
use button Display <-> Changeu201C to switch to change*
mode.
Point 2 :
Use Enhancement Mode for creating enhancement
implementations.
use button Change Enhancementsu201C to switch to
Enhancement mode
use button Display <-> Changeu201C to leave Enhancement
mode
Point 2 is clear to me but i am unable to understand the point 1.
How can we use the
Change Mode for creating enhancement points & sections.
Thanks
A
05-15-2009 1:27 PM
hi,
For Point 1 on page no 19, have a example as follows:
1. go to include MJ1IINF01 for tcode J1IIN.
2. Click on ENHANCE button or shift+F4.
3. then goto edit>enhancement operations>show implicit enhancement options .
4. it will show u implicit enhancement point on line no - 2319.
5. right click on line no 2319 .then enhancement implementation > create.
6. then try for creating declaration or code implementation as per ur requirement.
05-15-2009 1:33 PM
05-16-2009 5:38 AM
Point 1 indicates the basic thing i.e. to make the code editable because we have enhancement options in those standard fuctionality (say function modules ex: MRM_FINAL_CHECK for MIRO wherein we have facility to perform various checks before invoice creation) so as to include your enhancement points, further you use enhancement mode to create enhancement implementations in those enhancement points.
hope the point is clear now.
Regards
Deepak
Edited by: Deepak Raj Pendyala on May 16, 2009 5:43 AM
05-16-2009 6:08 AM
07-02-2009 6:54 AM
Hi,
For your reference, let's see how to enhance a standard SAP program using an Implicit Enhancement
Option.
Let us use program RSFTP002 u2013 Itu2019s a program used to test FTP connections.
In this example, we will unmask the currently masked password field.
Open the program in the ABAP Editor (SE38).
Execute it to bring up the parameter list.
Note the asterisks in the Password field.
To view the places where we can implement these enhancements, go back to the previous page (the one
containing the code) and click on the Enhance button (before the Syntax Check button) or press Shift + F4.
Note: Enhancement options are only present in SAP WAS 7.0 and above.
Then Navigate to Edit -> Enhancement Operations -> Show Implicit Enhancement Options.
You will be shown the places where Implicit Enhancement Options are present,
There will be two such spots in this particular program u2013 One at the end of the result table definition and the other at the end of the program.
To implement an enhancement option, right click in the orange area -> Enhancement Implementation -> Create.
Choose an enhancement name (ZFTP_PWD in this case), give it a description and if needed a Composite Enhancement Implementation name and press enter.
Save it as a local object or in a package (as the case might be).
In this example, we shall change the visibility of the password field and show the password. This is done by looping at the screen and changing the invisible parameter of the PWD field to u20180u2019.
Once the Enhancement Implementation is created, the following code is inserted into the program,
$$-Start: (2)----
ENHANCEMENT 1 ZFTP_PWD.
*
ENDENHANCEMENT.
$$-End: (2)----
ZFTP_PWD is the name of the implementation that we gave.
1 indicates that this is the first implementation in this program.
We can put out code inside the ENHANCEMENTu2026ENDENHANCEMENT block as shown below.
Follow the usual procedure of Syntax Check, Save and Activate.
Now execute the program again to see the parameter list.
Note that anything typed in the Password field is now visible.
Hope this surely help u..