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: 

Function Module for shelf life date

Former Member
0 Kudos

Hi All,

I have a requirement to pick up shelf life dae of any material for which a process order is cretaed. If the process order date is gretaer than shelf life date of the material then the error should be thrown. I have found an exit for that. But just wanted to know if you guys are aware of any function module which returns the shelf life of the material, so that i can use that in the exit i found. like an example a function module for getting materal availability is BAPI_MATERIAL_AVAILABILITY.

So like this if you are aware of any then please do help me.

Regards,

Boby.

1 REPLY 1

Jelena
Active Contributor
0 Kudos

Try CBGL_LB63_EXPIRY_DATE_GET, although I doubt it... Otherwise just calculate yourself - all the data should be in MARA (e.g. MHDHB). You might want to look at the programs where this field is being used.