Enhancement sections in customised programs
Hi All,
We have copied standard program ( having includes with enhancement sections ) and created customised one.
When we run standard program these enhancement sections of standard program works as defined, but when we run customised program these enhancement sections will not be excecuted properly.
Is there any way to solve this issue?
Kindly suggest.
Thanks in advance.
Regards,
Prabhu.
Edited by: Prabhu Gachhi on Nov 18, 2009 5:48 AM
Hi,
Please do the following,
once inside the standard code and required location
Change to modfication mode by using the spiral icon.Now keep the pointer on the line
"Enhancement-point" and rightclick on it
view "Enhancement Implementation" option......
Now you can get an option to change,modify,replace, create
If you are creating you need to create a new spot.
So if you click on create ..a table control will appear..at the bottom there is a "create" icon
Click on it and give the name(enhancement implementation) and description(text) of the point you want...and save..then the new one will be listed in the table control..you need not fill the composite enhancement field..leave it blank
Once you select it in the table control..click on the tick mark..
it will give you a separate enhancement spot in the name you created
if you click on the "spiral icon" you need not use the access key..thats the beauty of the latest enhancement framework
Reward if useful
Regards
Byju
Edited by: Byju on Mar 18, 2008 7:34 AM
Similar Messages
-
Error while creating enhancement section
Hi,
I am trying to create a enhancement section in my ABAP program, but i am getting a message 'Defines an enhancement sppot in another object'.
Here is the process i followed.
I have created a enhancement spot in my package zkk_pkg in se80 and activated.
i have created a program in se38 editor. In that program i am selecting a section of code and then right-click -> enhancements -> create .
Then i am getting create enhancement option where i am selecting enhancement section and giving a new name ZKK_ES1. Also in the enhancement spot section i am giving the enhancement spot i created earlier and the package name as an enhancement section should be assigned to a spot.
When i give these parameters and click OK , it shows the message 'Defines an enhancement sppot in another object'.
Can anyone let me know where i am going wrong.
Thanks in advance
Kamalhai kamal,
u can follow this procedure for creating enhancement spot,
instead of creatign enhancement spot in se80
just select the code
right click and do create enhancement
and u give the name of the enhancement section and also the enhancement spot iand also the package where u want to save in the pop up window
it will create u the spot and point of enhahcnement
and save , it will create the enhancement spots for ur code
hope it will solve ur prob -
Enhancement Section Activated but changes not taking place
Hello Friends,
I have been getting a dump error for FM GN_DELIVERY_CREATE_FOR_DIALOG which says that
"spe_version" does not exist in table "LIPS".
I found a enhancement option that commented out the perform that lead to the subroutine which has the error code.
I have activated business function LOG_LE_INTEGRATION via SFW5 which activates among others switch LE_SFWS_SC3.
I can see the global status of the switch as ON.
This switch is associated with enhancement spot ES_SAPLV50S which has implemented an enhancement section in inlcude LV50LF14 lines 191 -194
However, despite activation the changes are not taking place and i am still getting a dump error.
I am also not able to set a break-point in the FM because the program cannot be generated
My question is: Is successful program generation a pre-requiste for enhancement source plug-ins to be effective?
Any pointers would be highly appreciated.
Thanks,
Minhaj.Hi Minhajuddin ,
With "enhancement spot" we have come across similar short dumps and inactivation of spots even when steps are taken as per procedure.Please check if any notes are available for the same ,since most of the time it fixed the problem.
Regards
Byju -
Hi Dear all,
when we release the billing document no. through tcode VF02 that time I want to move that document data in Z table automatically. For that I want to modify this inclue program 'MV60AF0B_BELEG_SICHERN' . Here in this program one function module is there having option of Enhancement Section that FM is 'RV_INVOICE_DOCUMENT_ADD'. So I implemented one enhancement section here but problem is that i wrote some code in enhancement section after this function mudule to update ztable and activated the enhancement. But when I set the debugger & check step by step by F5 code is working fine. But if I go directly without setting debugger that time Z table is not activating. Means everything is happening acoording to my logic in enhancement section whatever i wrote in Debugging mode only. But that code is not executing in normal mode. I am not getting what is happening exactly. Please help me and give some solution.
Thanks & Regards.
Pradip PawarTHANKS
-
Enhancement section does not visible at runtime
I created enhancement section in SAP standard program, activated it but it does not visible at runtime. How do I make it available? Thanks!
Hi Anthony,
Have you implemented Implicit Enhancement?
Once code is activated without error there is no other step required.
Refer [Enhancement|https://wiki.sdn.sap.com/wiki/display/ABAP/ThenewEnhancementFrameworkandthenewkernel-basedBAdI] for more information.
Regards
Shital -
RFC function module called inside an enhancment section
Hi All,
I am calling a RFC function module in background task as a separate unit. I am calling this FM within an enhancement section. Is it alright to use a commit work inside this RFC enabled FM even if I am calling it within an enhancemnt? Please helpHi,
Yes, you can use a commit work inside this RFC enabled FM even if I am calling it within an enhancemnt. Please refer below link regaring this. Thanking you.
Commit within an enhancement point -
Basis - Authorization for Customise Program
Hi,
In Customise Program they give the Tcode, Ex: ZMMR001
how to control the Oranization Level & Plant in Authorization.
Pls explain.
ThanksHi,
You should check with your basis. Every company create there own objects as per there need.
Regards,
Atish -
Re: Enhancement-point VS Enhancment-Section
HI All,
Could you please let me know the use of Enhancement-Point and Enhancement-Section.
Thanx in Advance.
Regards
ambiHi Ambika,
Please check this link
http://help.sap.com/saphelp_nw70/helpdata/en/91/f1e540f8648431e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/81/9a3942ec4ae22ce10000000a1550b0/content.htm
The ABAP statements ENHANCEMENT-POINT and ENHANCEMENT-SECTION identify positions where code can be inserted or replaced. The enhancement implementations are regular repository objects and are assigned to a development package in the customeru2019s namespace when they are created.
The enhancement spots are used to manage explicit enhancement options. Enhancement spots carry information about the positions at which enhancement options were created. One enhancement spot can manage several enhancement options of a Repository object. Conversely, several enhancement spots can be assigned to one enhancement option.
Best regards,
raam -
Comment out some sections of Labview programs during debuging
In other programming such as VC or VB, we can always comment out some sections of our program so that the commented section are not executed during debuging. Is there any way to comment out some sections of Labview program during debugging?
YanWong wrote:
You can use a case structure to surround the section of the program you do not want to execute and then wire a false constant into the input so the case will never execute.
Also remember that doing this will only work if the code you "commenting" out must be executable. A broken run arrow will still be there after you put it in the Case Structure. If you are trying to comment out some broken code, you're out of luck, at least now.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
How to create enhancement for VF04 for program SDBILLDL
Hi,
How to create enhancement for VF04 for program SDBILLDL
I need to create custom enhancement for the Tcode VF04.
Requirement:
The output displayed is to be filtered based on the input given in the selection screen filed - Sort Criterion in the transaction VF04. The filter is for displaying Sales orders if contract number is given as input and Deliveries if shipment number is given as input.
Regards,
Kishore.Hi Kishore,
Check this User exit EXIT_SAPLV60A_002.
Reward Points if this helps,
Satish -
Unicode Impact on customised program - Please Help, Thank you
Dear all,
What is the impact on customised program after the installation of the unicode in the system?
1)Example : if Chinese unicode is installed, when we execute a customised program/report, will it cause a short dump? what pre-empt steps must we take?
2) If Chinese unicode is installed, when we execute a customised report and we want the report in English language for plant A (Singapore) and in Chinse language for plant B (China), is it possible?
Thank you.This should be universal:
http://www.apple.com/uk/itunes/ -
hi,
We have a customised program where there is currency conversion is required. When I am running the program for a company code it is throughing the error as Currency conversion failed. UoM is different from PO UoM. can anybody please throw some tight on this issue as to what are the changes required and where we need to make the same. Thanks in advance.
Regards,
S.SumanaDid you try with these FM ?
CONVERT_TO_LOCAL_CURRENCY
CONVERT_TO_FOREIGN_CURRENCY -
How debug an enhancement-point / enhancement section
Hi Experts,
how can I debug a standard enhancemnt-point / enhancement-section?
how can I debug a custom enhancemnt-point / enhancement-section?
I put break, I wrote statement "break-point" but nothing.........
Any suggestions??
Thanks in advance,
FrankFrank,
See the following blogs,
/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
Regards,
Satish -
Deactivate an Enhancement to a standard program
Dear all,
I'm facing the following problem.
Our programmer apply an Enhancement to to a standard FI program. Now I would to deactivete this Enhancement: what is the t-code that allow me to do this?
Sap Version: ECC 6.0
Thanks in advance
AlbertohI,
Thanks for you reply. I'm trying to deactivate a Badi
Reagrds
Alberto -
Replicate services for object functionality in my customised program
Hi
I can see the "Services for object "functionality in ME23N transaction. I want to replicate the same functionality for my custom program.Is there any badi or Function Module .
Please let me know if I can get any pointers for this.
Regards
Deesanthhi desanth,
i am in need of same requirement.
if you any solution please let me know...........
thanks,
krishna
Maybe you are looking for
-
We are trying to create a proxy from the following wsdl file and getting an error message: illegal syntax: API:Parameter BINDING has initial value The webservice that we are trying to consume is from TIBCO . Can someone please help me to find out wha
-
hi, I tried to use the 'Link File' in the layout model to create a dynamic URL link to image object, then Under the Link File Boilerplate node i did: 1 Set the Source File Format property to Image URL. 2 Set the Source Filename property to the URL (h
-
How to copy a file with subdirectory tree
The output for the code will copy a .doc file from c:/copy to c:/test. How am I able to copy a tree directory. For example from c:/copy/1.doc, c:/copy/tutor/2.doc to c:/test/1.doc, c:/test/tutor/2.doc? import java.io.*; import java.util.*; public cla
-
File System repository manager
Hi All, I am working on configuring a File System Repository Manager. I followed the documentation at http://help.sap.com/saphelp_nw70/helpdata/EN/e3/92322ab24e11d5993800508b6b8b11/content.htm and https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg
-
Presets in Premiere Elements 7
I have just recorded my first video on my Sony HDR-XR500V. I want to transfer my video from the camera to my computer using Pre 7. To open a project I must set the presets. My camera specs do not match the choices in Pre7's box i.e. my camera capture