2007 Jul 06 10:36 PM
Hi All,
How can i add explicit enhancement spots in the standard sap program. Its not working in the same way as implicit enhancement spots. I want to add enhancement spots for the standard program RFWERE00. Please give me ur ideas.
Thanks,
Kumar
Hi All,
How can i add explicit enhancement spots in the standard sap program. Its not working in the same way as implicit enhancement spots. I want to add enhancement spots for the standard program RFWERE00. Please give me ur ideas.
Thanks,
Kumar
2007 Jul 07 12:00 AM
Hi Kumar,
There are two types of Explicit Enhancement. One which can be provided at a specific place - called Enhancement Point, and another which can be used to replace a set of statements called Enhancement Section. For this, we now have two new ABAP statements, viz.
ENHANCEMENT-POINT
ENHANCEMENT-SECTION
And since the keyword is not in the program RFWERE00, I guess only way to do enhancements is via Implicit Enhancements in the above program.
Regards
Sunny
2007 Jul 07 12:13 AM
Hi Sunny,
Thanks for the reply. I have seen another program RM07MLBD. If i want to add an explicit enhancement either one point or section in a form routine, i want to add some code in the middle of form routine, implicit enhancements does not work for it. How can i do that??. Please give me ur ideas.
Thanks,
Kumar
2007 Jul 09 4:50 PM
Hi Kumar,
The only way you can add code in the middle of a form routine is through a Modifiying Key. But as suggested in the forums, SAP is willing to support or certify only if it is recommended by them. So my suggestion would be to put the issue on SAP Messages at Service Marketplace. you would get a reply back to your particular issue.
But if you do not want to go through this route, in the Program, look for enhancement spots at the end of form routine. Here you can modify the required fields or add your custom code.
All the best.
Regards
Sunny.
2007 Jul 10 3:05 AM
Thanks alot sunny. I know how to use a enhancement-section, but didnt understand the concept of enhancement-point exactly. Can anyone please give your ideas .
Appreciate your help.
Thanks,
Kumar
2007 Jul 10 1:29 PM
Hi kumar,
Enhancement-point is an explicit enhacement option provided by the developer of the SAP standard object. You can use it to enhance the standard program by creating an enhancement-point implementation of your own.
The other way if there are no enhancement points in the program, is that you can look out for the imlicit enhancement options for the object you want to modify and out of those implicit options choose the best one(implicit option in source code) which suits your need.
However, if there are none then you are left with an option to modify the standard code using modification assistant, which ofcourse is <b>supported by SAP</b> . And in that modification you can probably make a call to an explicit enhancement-option and implement it thereafter.
Read the paragraph below for more clarification :
You are a SAP customer and need some enhancement of a SAP solution. Let us assume that the implicit enhancement options available in the relevant development objects do not suffice to accomplish this and that there are also no suitable explicit enhancement options. So you are left with the possibility to modify the relevant SAP development objects. But still there is room for using enhancement options. To reduce the effort necessary for adapting your modifications after an upgrade it is a good strategy to keep your modifications small. To minimize the size of your modification you create enhancement options within the modifications you insert. Then you add all further code to the implementation of these enhancement options. This way the modifications only contain these enhancement options and all the other additions are part of your namespace. In this use case modifications and enhancement cooperate in an interesting way.
Hope this make sense and is relevant to what you had asked.
<b>Encourage by rewarding points if useful.</b>
best regards,
Vikas
2007 Jul 07 12:18 AM
Hi,
Enhancement Spots need to be explicitly provided in the program. You can then write your own code in it so that at runtime your code can be executed. But, if Enhancement Spots are not provided explicitly then you will need the SSCR key to open the standard program so that you can write Explicit Enhancement Spots in it. Without the key, you can not.
Disadvantage of it is, once you get the SSCR key, SAP will no longer support that object. So, think carefully before getting a SSCR key.
Reward points if the answer is helpful.
Regards,
Mukul
2007 Jul 07 2:56 AM
Hi Mukhul,
Thanks alot for the reply. So cant we write explicit enhancement spots anywhere in the standard program??. How can we add in the explicit enhancements in the standard program. Can you please give me the procedure for doing that.
Thanks,
Anil
2007 Jul 07 4:24 AM
Hi Kumar,
Check this link. Maybe it will be useful.
http://help.sap.com/saphelp_nw2004s/helpdata/en/29/e59441026aae5fe10000000a1550b0/content.htm
Also check this thread posted in sdn.
Regards
Aneesh.
2007 Jul 07 5:49 PM
Aneesh,
I have read the help in sap. But one thing i didnt understand, is it possible to add explicit enhancements anywhere in the standard program. If so, how can we do it, Please give me ur thoughts.
Thanks,
Kumar
2007 Jul 07 6:45 PM
Hi Kumar,
You cannot add explicit enhancements anywhere you want as it is standard SAP program. You need to add them only wherever it is permitted.
Thanks
Aneesh.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |