OK, another challenge!

I’ve faced a requirement to use batch search for customer material in WM. It’s standard in SD, but in WM – you need to tweak it a bit in batch determination settings and ABAP – user exit for batch determination.
Later, in another blog post, I’ll explain one more challenge that came right after this one (using delivery groups along with this modification).

OK… Basically, the process flow is this:
1) VL06o (select a delivery and create a TO for a delivery, OR
2) LT03 (you can also create a TO for delivery by using LT03 if you prefer that method)
*** During LT03 we need to activate determine batches by customer/material.

What my client wants is to implement batch search in WM, per customer/material by remaining shelf life in days or percent.
Which is OK, although by default in WM you don’t have option to set-up customer/material determination, but anyone with basic knowledge in batch search can do this easily.

The second problem is that when you point of batch search, in WM, field KUNNR (customer doesn’t get filled since we aren’t in SD, but in WM).
So in order to make it really work, you need to activate user exit for batch determination.
You can do that in CMOD by entering your project and assigning enhancement “SAPLV01F” to it. Then activate user exit “EXIT_SAPLV01F_002”. You can then create include “ZXVBZU11” and write code in it.

Code is really simple.
Just assign valuest to several variables:

c_komkh-kndnr = c_komkhkunnr.
c_komkhknrze = c_komkhkunnr.
c_komkhkunre = c_komkhkunnr.
c_komkhkunwe = c_komkhkunnr.
c_bdcomkunnr = c_komkhkunnr.
c_bdcomkund1 = c_komkhkunnr.

That should be it.

Look up my next blog which will cover extending support for a batch search by customer/material for a delivery group.
Edit: You can find the follow-up tutorial on LT0E delivery groups with customer/material batch determination here:
SAP WM batch search per customer/material using delivery groups (LT0E)

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply