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: 

managing LX includes for Z project, using enhancement MM06E005

former_member699400
Active Participant
0 Kudos
114

Hi!

I try to transfer Z project that used enhancement MM06E005 from 4.6C to ECC 6.0

This project was using LX... includes in 4.6C, but there are no such includes in ECC 6.0

Even if I create ZX... includes in ECC 6.0 with source code of LX includes taken from 4.6C, how to make "mapping" of the includes?

I mean that in 4.6C this Z project looks like:

<b>include -


function exit</b>

LXM06F36 - EXIT_SAPMM06E_006

LXM06F38 - EXIT_SAPMM06E_007

LXM06F37 - EXIT_SAPMM06E_008

LXM06F39 - EXIT_SAPMM06E_009

LXM06F43 - EXIT_SAPMM06E_012

LXM06F44 - EXIT_SAPMM06E_013

LXM06F45 - EXIT_SAPMM06E_014

LXM06F41 - EXIT_SAPMM06E_016

LXM06F42 - EXIT_SAPMM06E_017

LXM06F40 - EXIT_SAPMM06E_018

I mean, where it is defined that LXM06F42 belongs to EXIT_SAPMM06E_017,

LXM06F40 belongs to EXIT_SAPMM06E_018 and so on...

I think I need to know this because in ECC 6.0 this Z project would look like:

<b>include -


function exit</b>

ZXM06F36 - EXIT_SAPMM06E_006

ZXM06F38 - EXIT_SAPMM06E_007

ZXM06F37 - EXIT_SAPMM06E_008

ZXM06F39 - EXIT_SAPMM06E_009

ZXM06F43 - EXIT_SAPMM06E_012

ZXM06F44 - EXIT_SAPMM06E_013

ZXM06F45 - EXIT_SAPMM06E_014

ZXM06F41 - EXIT_SAPMM06E_016

ZXM06F42 - EXIT_SAPMM06E_017

ZXM06F40 - EXIT_SAPMM06E_018

so I need to know how to tell to SAP that ZXM06F40 but not LXM06F40 belongs to EXIT_SAPMM06E_018. Where it is defined?

Will reward,

Mindaugas.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
49

You will have to repeat the same process you did before (refer to your previous query). There is no relationship maintained like that in SAP. They all belong to the same main program (that is the only relationship that exits) and each include might contain the subroutines of seperate user exits just for convenience sake. You can always create all the subroutines called from all the user exits in one big include.

3 REPLIES 3

Former Member
0 Kudos
49

Have a look at these tables..

MODSAP --> SAP Enhancements

MODSAPT --> SAP Enhancements - Short Texts

To get the function module, use 'E' for field 'TYP' (Component Type).

Hope that helps!

Rgds,

Naren

Former Member
0 Kudos
50

You will have to repeat the same process you did before (refer to your previous query). There is no relationship maintained like that in SAP. They all belong to the same main program (that is the only relationship that exits) and each include might contain the subroutines of seperate user exits just for convenience sake. You can always create all the subroutines called from all the user exits in one big include.

Former Member
0 Kudos
49

Hi,

I am assuming you are creating a Z project in transaction CMOD, firstly you would not need to create another project if you are upgrading your system since your old project should be available.

Secondly for creating projects, you will need to add the component into your project in transaction CMOD and all the exits would come along.

Enhancement - MM06E005 relates to function group XM06, if you look at the main program of the function group you will see include INCLUDE LXM06UXX. This include contains all the function exits. The name EXIT_XXXX is actually a function module whose include is LX...... .

Hope i could answer your question.

Thanks,

Chaitanya