on 07-14-2014 11:31 AM
Hello Expert,
I want to update inspection lot number for transfer order line item. Could anyone suggest any BAPI/BADI to update it
BR
Kamal
Hi Kamal
As a standard SAP, if the QM is active in the warehouse at the time of receipt system automatically update the Inspection lot during Transfer order creation and same gets updated into the QM table
QALS -- Inspection lot record
QAMB -- Link inspection lot - material document
Few point to consider while trying to update the inspection lot directly to the TO table
1) if you are planning to directly update TO table ( LTAP-QPLOS) then i am sure it is an external number which you are planning to pass the functional module at the time of TO creation.
2) What is the use of this inspection lot as relevant QM table are not getting updated hence you won't be able to take any quality decision or process any QM related activity
3) Any technical dependency if you are updating only inspection lot field in LTAP-QPLOS
If you can elaborate your requirement in detail that will give an insight why you want to update the Inspection lot without activating the QM or directly updating the Inspection lot in Transfer order
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mihailo & Manish,
Yes, as per standard SAP if we perform goods receipt before TO creation then inspection lot created while goods receipt automatically gets updated in transfer order (LTAP table).
My scenario:
My scenario is bit different. I am using inbound delivery to create transfer order before goods receipt. (Note: In standard we can not create inbound delivery for QM active material, I am bypassing QM check) The reason for creation of TO before GR is, I am sending pallet label information to vendor and vendor is printing pallet label and then vendor sends material to warehouse.
In standard SAP inspection lot is created only on goods receipt, so when I received material I am doing PGR in inbound delivery (VL32N) and inspection lot is created at this point, now I want to update this inspection lot number in transfer order items which is already created so that proper usage decision can be taken. For updating inspection lot number I need BAPI/BADI
BR
Kamal
Isn't it much simpler to create the HU in the system (without the TO) and then assigning it to the TO after TO creation (during physical receipt)? TO number should be irrelevant in the pallet label because you can extract that information from SAP if you want to audit the process.
I think you should reconsider your process instead of updating SAP tables as there is no BADI/BAPI that does what you want (and the goes against best practices, you shouldn't have a TO in the system that isn't actionable).
but client did not want to activate HU management for warehouse, which will increase the work of packing, repacking etc
If he made that choice, he will have to deal with the consequences of that choice. I does bring in extra work, but also brings more information and tracebility. If he didn't want the extra work (too much I know, having to repack in a special storage type is stupid), he will have to deal with the absence of TO number in pallet label, because there is no BAPI/BADI that does what you want, it goes against how SAP WM works.
He wants to have his cake and eat it. Can't have both ways.
PS: Contrary to your requirement, it is possible to abstract the pack/repack complexity from the user. I made a development for a client, that basically did all the (stupid) transfers in the background, making it easier for the user, using SAP APIs.
Do you want to trigger this change from WM?
Changing inspection lot is practically QM activity, so changing only on TO won't do any good.
What is your business scenario exactly?
I think that whatever it is should be manageable with standard QM/WM functionality without the need for ABAP coding...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
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.