on 04-21-2013 8:15 AM
dear sir,
i have create a automatic batch determination at the time of delivery
but the problem is expired batch coming in the batches
so how to avoid these batches .
i m using
class - lobm_rlz
lobm_lfdat
lobm_vfdat
sorting rule : lobm_rlz ---- ascending
lobm_vfdat---descending order
VFDAT(DESCENDING) | RLZ(ASCENDING) | ||||
BATCH | MFG DATE | EXP DATE | SHELF EXP DATE | DEL DATE | QTY |
7 | 15.04.2013 | 30.04.2013 | 10 | 20.04.2013 | 999 |
8 | 15.04.2013 | 30.04.2013 | 10 | 20.04.2013 | 500 |
12 | 20.04.2013 | 22.04.2013 | 2 | 20.04.2013 | 1000 |
10 | 15.04.2013 | 17.04.2013 | -3 | 20.04.2013 | 100 |
11 | 14.04.2013 | 16.04.2013 | -4 | 20.04.2013 | 6 |
if i m giving 2608 qty
it takes all the batches in above sequence.
plz help me out
how can i stop to come these 10 and 11 batches to come.
Dear Raveendra,
The restriction of the batches from being selected for determination is based on the selection criteria. What you have listed is the sort rule which is just to make LIFO or FIFO out of the selected list.
So you probably require a Characterstic for shelf life assigned in the Class for the selection criteria which says that the batch with less than 'x' days not be selected.
Hope this clarifies the query.
Regards,
Karthik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Ravindra,
For the charateristics LOBM_RLZ you can maintain the value as for e.g. >=1 d if the value of remaining shelf life is acceptable 1 day before expiry for the delivery.
generally we use 180 days before expiry as selection criteria for any batches.
Hope this clarifies and helps to solve your issue.
Regards,
Karthik.
Dear KARTHIK KRISHNAN,
i have already applied this condition in vch1 ( cndition record).
in selection criteria
but it not worked .
is there any other option ?
Thanks .
Check the routine assigned at the field Qty Proposal at SPRO->Logistics-Genearl->batch management ->batch determination and batch check ->strategy types -> define sales and distribution strategy types. Here select the strategy type used and go to details. Then check the routine assigned here. You may need to copy the routine and create a new one with additional logic to filter the in-valid batches. Discuss with an ABAP'er on your requirements.
Regards,
Hi,
The characteristics you have maintained are the standard ones, so no additional dependecies code needs to be written ideally.
what is the key combination for the Batch determination? what is the validity date of the condition record, is it after the delivery creation date?
Regards,
Karthik.
Dear Karthik ,
i have maintained the condition record for a particular period like from 21 apr 2013 to 22 apr 2013
but it picked up the batch which are already expired .
--in msc2n i delete the batch but no effect .
---then i try to block the batch and i transferred it to the blocked stock . 344 mov type
but it is again a manual job means daily compare the batches and then transfer it to the blocked stock
is there any option to check the schedule line for batches ?
Dear Raveendra,
Probably like Mani had suggested in the earlier post there should be a Inspection type 07 set in the material master which checks for the Expiry date and moves it to the blocked stock. A background job can be scheduled for this which will give the usage decision 'E' expired to the material and also move it to blocked stock.
Secondly you can add characteristics LOBM_UDCODE in the selection criteria to allow the batches only with particular UD like 'A' - approved for the deliveries.
Hope this would help.
Regards,
Karthik.
Hai Raveendra,
Reference our QM consultant, using T CODE QA07 the expired product will be moved t blocked stock.
The program is scheduled in Background job (Daily).
Remove the Incl of Blocked stock.
Regards,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.