Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Explicit enhancement implementation not seen in the debug mode

Former Member
0 Likes
2,434

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.

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,255

>

> 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.

6 REPLIES 6
Read only

Former Member
0 Likes
1,255

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

Read only

Former Member
0 Likes
1,255

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

Read only

Former Member
0 Likes
1,255

Hi,

Anyway goto SE20 and give the enhancement implementation name, Press Change and activate once again and check it.

Regards

Karthik D

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,256

>

> 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

Read only

Former Member
0 Likes
1,255

Thanks Sandra. Problem solved. BTW which transaction is used to swtich on the implementation?

Read only

0 Likes
1,255

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).