This website is not affiliated with, sponsored by, or approved by SAP AG.
Development (ABAP Development WorkBench, ABAP/4 programming)
7 posts • Page 1 of 1
We have recently upgraded to ECC 6.0 from 4.7 and are beginning to get a first look at the wonderful world of explicit/implicit enhancements...
I have read numerous blogs and articles (SDN, OSS note 1257033, Thomas Weiss blogs etc etc) on the subject of explicit enhancements but I'm finding that these throw up more questions than they answer....
So my question is this: Is it possible, in relation to a SAP standard program which already has existing enhancement implementations, to create your own enhancemnt spot and implementation and put it wherever you wish within the standard prgoram?
This came about because we are looking at trying to modify the behaviour of the selection screen of SDBILLDL in AT SELECTION-SCREEN OUTPUT - there are no existing enhancement implementations (explicit or implicit) at this event. OSS Note 1257033 seems to imply that it is possible but we haven't yet figured out how....any and all help most welcome
You're talking about the method describe below?
If so, the relevant part is "use a modification to create your own explicit enhancement point or an enhancement section" - you'll have to get a modification key and modify the standard code to insert your enhancement point/section (for your custom enhancement spot), then implement it.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Yeah that's what I tried but it didn't work....
What I did was create a package, then a switch (assigning it to package), then a business function (assiging it to the switch), then the enhancement spot, then the implementation (both assigned to the same package as switch)....then modified the standard code at the desired point
When I tried to debug the enhancement, I couldn't set a breakpoint because the implementation wasn't switched on and for the life of me I couldn't figure out how to switch it on, no matter how much I activated, deactivated, reactivated all related objects...
As there was a rush on the fix, I directly modified the code to get it to QA
We will revisit it now that you have confirmed it is possible - Cheers Gothmog
OK, I revisited the SDBILLDL program, opened the program for modification, inserted an enhancement point and at the same time created an enhancement spot, assigned these to an existing Z package (which has an existing switch assigned to it, and this switch has a business function associated with it), then in enhancement mode, implemented the enhancement, activated all enhancement/switch/business function objects - but it still does not work.
So I tried to debug but the message I keep getting is "Breakpoint not set because enhancement impl. ZEI_SDBILLDL is switched off
Any ideas/pointers as to where I'm going wrong?
All help appreciated,
It may be the way to go alright, I've looked at the business function through SFW5 but can't activate it.
Thanks for all your help - If I find a solution, I'll post it back here.
Here is the answer for switching on the business function
http://help.sap.com/saphelp_nw04s/helpd ... ontent.htm
7 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests