Application Development 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: 

enhancement spot for Form EXIT. USEREXIT_PRICING_PREPARE_TKOMP

Former Member
0 Kudos
310

Hi all,

My requirement is related to Form EXIT. USEREXIT_PRICING_PREPARE_TKOMP

It is to add a Z field to pricing communication structure i.e. KOMPAZ.

So, my question is whether there is any enhancement spot available or this.

If it exits then help me with the same.

Steps to use enhancement spots.

regards,

Amruta.

4 REPLIES 4

Former Member
0 Kudos
107

Refer to Thomas Weiss's webblog series on enhancement framework. You will find good information on how to implement Enhancement spots.

Also this link might be helpful:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f5612003...

naimesh_patel
Active Contributor
0 Kudos
107

You need to add your fields in the KOMPAZ. They will be automatically avaliable in the KOMP as KOMPAZ is included in KOMP.

You can use the subroutine USEREXIT_PRICING_PREPARE_TKOMP to move the data to your custome fields.

Regards,

Naimesh Patel

0 Kudos
107

Thanks for ur reply but how do i enhance the form subroutine.....

I think there has to be some enhancement spot for this...

can u help me with that.

0 Kudos
107

hi,

yes enhancement spot is available for USEREXIT_PRICING_PREPARE_TKOMP

u can create enhance point in that routine.

first click on enhancement button (shift+F4) then

use menu path edit->enhancement operation->show implicit enhancement operation

after that it start showing line like that in USEREXIT_PRICING_PREPARE_TKOMP

-> """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

right click on the line and enhancement implimentation and create, it will create enhancement point at that particular place.

let me know, if solved

Yogesh