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: 

User Exit in T -Code MD01

Former Member
0 Kudos

I want to add another user exit key like 001 ...So tell me how to add and after adding how to create exit and how to link user exit key with user exit function module......Is it needed to create new funtion module as user exit....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi anand ,

sorry yaar , u can't add a exit in the sap . exits are sap proivided functionality to modify the standards , we cant create a user exit . please have a overview about that in<a href="http://help.sap.com">http://help.sap.com</a> . if u have doubts still reply me .

with regards,

magesh

6 REPLIES 6

Former Member
0 Kudos

hi anand ,

sorry yaar , u can't add a exit in the sap . exits are sap proivided functionality to modify the standards , we cant create a user exit . please have a overview about that in<a href="http://help.sap.com">http://help.sap.com</a> . if u have doubts still reply me .

with regards,

magesh

0 Kudos

Thanks u made me know that only sap defined user exits can be used.

Former Member
0 Kudos

Transaction Code - MD01 MRP Run

Exit Name Description

LMDR2001 User exits restr. profiles of opt. pur.ord.-based load bldg

LMDZU001 User exits in additional planning

No of Exits: 2

===============================================

for exaple...

GO to SMOD ( TCODE)

pass LMDR2001 in Enhancenet Field

Selcet Coponents

Click Display

u will get (see) function

Function module

EXIT_SAPLMDR2_001

EXIT_SAPLMDR2_002

EXIT_SAPLMDR2_003

say double click on

EXIT_SAPLMDR2_001

and double click on INCLUDE ZXMDRU02.

u can write ur code ,,,,,as per require ment...

like that u have to follow...

Regards,

Ramesh.

0 Kudos

Thanks for giving information ....Tel me that example is the solution for the problem which i told......

0 Kudos

Hi ,

Please tell me how to link user exit key 001 or 002 to fumctionmodule exit_saplmdr2_001or other.....because since we may use more than one user exit key....

Former Member
0 Kudos

hi anand,

in case of these enhancements u dont need an access key . only in case of modifications u need an access key .

for eg . consider LMDR2001 is the enhancement name . give this enhancement .

1. press display

2. press components

3. it will show u the fm exit .

4. double click on that .

5 . it will go to the fm

6 . in that it will show u a include , double click on it

7. there it will show message as programs reserved for sap....

8. press enter .

9. it will ask for creating an object, press yes .

10. it will migrate to coding part, there u can write ur logic.

to know which is the exact fm exit u have to read the documentation or u can

put break points there and check out .

once u written ur logic, u activate that . then goto cmod there u create a project starting with 'z' and press enhancement assignments tab .

after that give the enhancement name LMDR2001 and activate .once u activate ur enhancement is ready . this is the way to do it .

if u have any doubts reply me .

with regards,

magesh .