2009 Jul 08 5:41 PM
Hi All,
I have implemented a explicit enhancement implementation via a source code plugin. But i could neither keep a break point in any lines of the source code plugin nor see those lines in the debug mode. I changed the already available implementation in the enhancement section. I have implemented this enhancement for the Function Module CK_F_ASSEMBLY_COSTING. The enhancement section is as given below...
ENHANCEMENT-SECTION CK_F_ASSEMBLY_COSTING_05 SPOTS ES_SAPLCK00.
....
END-ENHANCEMENT-SECTION.
I created a enhancement from the above section as below...
$$-Start: CK_F_ASSEMBLY_COSTING_05----
$$
ENHANCEMENT 3 /SAPMP/GENERAL_SAPLCK00. "active version
.......
ENDENHANCEMENT.
Is there anything i need to activate other than activating the enhancement? How to make the enhanced source code execute..Plz help..Thanks..
Regards,
Nirmal.
2009 Jul 09 1:23 PM
>
> I created a enhancement from the above section as below...
> $$-Start: CK_F_ASSEMBLY_COSTING_05----
$$
> ENHANCEMENT 3 /SAPMP/GENERAL_SAPLCK00. "active version
> .......
> ENDENHANCEMENT.
This is a standard implementation, not yours! Moreover, this implementation belongs to switch /SAPMP/GENERAL, which may be switched off in your system (it is deactivated in mine).
If you want to implement your own one, create a ZXXXX implementation, and you'll see something like ENHANCEMENT 1 ZXXXX. ... ENDENHANCEMENT.
Edited by: Sandra Rossi on Jul 9, 2009 5:51 PM
Hi All,
I have implemented a explicit enhancement implementation via a source code plugin. But i could neither keep a break point in any lines of the source code plugin nor see those lines in the debug mode. I changed the already available implementation in the enhancement section. I have implemented this enhancement for the Function Module CK_F_ASSEMBLY_COSTING. The enhancement section is as given below...
ENHANCEMENT-SECTION CK_F_ASSEMBLY_COSTING_05 SPOTS ES_SAPLCK00.
....
END-ENHANCEMENT-SECTION.
I created a enhancement from the above section as below...
$$-Start: CK_F_ASSEMBLY_COSTING_05----
$$
ENHANCEMENT 3 /SAPMP/GENERAL_SAPLCK00. "active version
.......
ENDENHANCEMENT.
Is there anything i need to activate other than activating the enhancement? How to make the enhanced source code execute..Plz help..Thanks..
Regards,
Nirmal.
2009 Jul 08 6:18 PM
Hi Nirmal,
activating your enhancement, with a break-point inside, should be enough.
Just be aware that some standard bugs may remain in your SAP, depending of your version. I don't have the exact details here, but a few months ago, I couldn't display anymore the enhancements in some Include referenced in many programs.
People had to upgrade the SAP Kernel to make it work again.
If you're confident it's a bug, I'm afraid you'll have to open a Message with SAP.
Regards,
N.H
2009 Jul 09 4:47 AM
hai nirmal
did u activated properly and do one thing just keep a break point at enhancement spot , and during debug when u reach the enahancement point do f5 it will go in to implementation code, normaly in debug u wotn see implementation code,
but if u go step wise it will go inside implementation
m.a
2009 Jul 09 5:11 AM
Hi,
Anyway goto SE20 and give the enhancement implementation name, Press Change and activate once again and check it.
Regards
Karthik D
2009 Jul 09 1:23 PM
>
> I created a enhancement from the above section as below...
> $$-Start: CK_F_ASSEMBLY_COSTING_05----
$$
> ENHANCEMENT 3 /SAPMP/GENERAL_SAPLCK00. "active version
> .......
> ENDENHANCEMENT.
This is a standard implementation, not yours! Moreover, this implementation belongs to switch /SAPMP/GENERAL, which may be switched off in your system (it is deactivated in mine).
If you want to implement your own one, create a ZXXXX implementation, and you'll see something like ENHANCEMENT 1 ZXXXX. ... ENDENHANCEMENT.
Edited by: Sandra Rossi on Jul 9, 2009 5:51 PM
2009 Jul 10 5:24 AM
Thanks Sandra. Problem solved. BTW which transaction is used to swtich on the implementation?
2009 Jul 10 8:55 AM
Switch framework transactions are SFW1 to SFW3, and SFW5 is used to switch on. Be careful, SFW5 transaction can't switch off (usually), and it recompiles some data dictionary objects and programs, thus you'll disturb people and it may generates dumps (like for support packages). Do it only when a business function REALLY needs to be activated, and warn people (or do it the night or at lunch time).
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |