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

user exit

Former Member
0 Likes
2,089

Hi Experts,

I'm looking for a user exit a user exit for transaction <b>'MSC2N'</b> for the purpose of '<b>product shelf life</b>' and I found one - <b>'SAPLMHD1'</b>.

But not sure what this exit will do.

So Could you please tell me what is the functionality of this user exit(what exactly this user exit will do).

Thanks a lot.

Message was edited by: lope jie

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,410

HI,

<b>BATCHCHK</b> --> Function Module Exits for Check in Case of Batch Changes

<b>MBCFC010</b> --> Propose batch number on <b>Inventory Management item screen

SAPLCHVW</b> --> Batch where-used list

<b>SAPLMHD1</b> --? <b>Shelf life expiration date </b>

<b>SAPLV01D</b> --> Determining the initial status of a batch

<b>SAPLV01P</b> --> Function Module Exits at Time Batches Are Updated

<b>SAPLV01Z</b> --> CFCs for internal batch number assignment

<b>SAPLV1ZE</b> --> CFCs for external batch number assignment

<b>SAPLV1ZN</b> --> CFCs for batch valuation in VB_CREATE_BATCH

The above are the user exits for the T.code MSC2N

Thanks

Sudheer

6 REPLIES 6
Read only

LucianoBentiveg
Active Contributor
0 Likes
1,410

You have this ones too:

BATCHCHK Function Module Exits for Check in Case of Batch Changes

MBCFC010 Propose batch number on Inventory Management item screen

SAPLCHVW Batch where-used list

SAPLMHD1 Shelf life expiration date

SAPLV01D Determining the initial status of a batch

SAPLV01P Function Module Exits at Time Batches Are Updated

SAPLV01Z CFCs for internal batch number assignment

SAPLV1ZE CFCs for external batch number assignment

SAPLV1ZN CFCs for batch valuation in VB_CREATE_BATCH

Read only

ferry_lianto
Active Contributor
1,410

Hi Lope,

User exits SAPLMHD1 is used to calculate and check the shelf life expiration date using the central function module VB_MAINTAIN_MHD, you can use the exit EXIT_SAPLVBMD_0 from the SAP enhancement SAPLMHD1. You can use this exit to modify the data for calculating and checking the SLED (for example, total shelf life, remaining shelf life), and control in detail SLED processing (for example, by plant or storage location).

The communication structure BNCOM contains the application data for the relevant business transaction. You can change the following parameter in the exit: C_BEZDT, C_IPRKZ_HBD, C_IPRKZ_RLZ, C_RDMHD, C_GESHB,

C_RSTLZ, C_RDMHD, C_GESHB, C_RSTLZ, C_MHDAT, and C_HSDAT.

Example: A different total shelf life is valid for specific plants than is defined in the material master.

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
1,410

Ferry,

thnx very much for the inputs.

How can I activate or use this exit.

Can you please tell me whether this exit will trigger any message when somebody tries to change the 'shelf life exp. dt' on MSC2N ?

actually I'm looking for that functionality.

thnx once again.

Message was edited by: lope jie

Read only

Former Member
0 Likes
1,411

HI,

<b>BATCHCHK</b> --> Function Module Exits for Check in Case of Batch Changes

<b>MBCFC010</b> --> Propose batch number on <b>Inventory Management item screen

SAPLCHVW</b> --> Batch where-used list

<b>SAPLMHD1</b> --? <b>Shelf life expiration date </b>

<b>SAPLV01D</b> --> Determining the initial status of a batch

<b>SAPLV01P</b> --> Function Module Exits at Time Batches Are Updated

<b>SAPLV01Z</b> --> CFCs for internal batch number assignment

<b>SAPLV1ZE</b> --> CFCs for external batch number assignment

<b>SAPLV1ZN</b> --> CFCs for batch valuation in VB_CREATE_BATCH

The above are the user exits for the T.code MSC2N

Thanks

Sudheer

Read only

ferry_lianto
Active Contributor
0 Likes
1,410

Hi Lope,

Yes, you can raise a message when somebody tries to change the 'shelf life exp. dt' on MSC2N.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Read only

0 Likes
1,410

Hi Ferry,

thnx a lot once again. Could you please let me know how to implement that process.

thnx much