cancel
Showing results for 
Search instead for 
Did you mean: 

QM ispection in Embedded EWM for GR

former_member600242
Participant

Hi,

first of all we're using QM with S/4 HANA Embedded EWM so the congiguration and customizing is much more simple than the one that nedds to be done in other external EWM (many customizing branches are nonexistant here, as well as no QIE).

Based on many blogs and Q&As from this site we've managed to get functioning the right way the creation of inspection lots when we do GR, at least in the IM environment (for example, in transfers between IM managed storage locations).

We assume (although I don't know if this is correct) that this begins with the movement type. Every movement type + some indicators (Special stock - SOBKZ, movement indicator - KZBEW, receipt indicator - KZZUG and consumption - KZVBR) has its own inspection lot origin. These inspection lot origin are mantained in QM, and each one of them has its inspection types (sorted by variant 01, 02 and so on). Then these inspection types are added to the MM of a material and activated in order to be used. So when a movement occurs, the system must check this data in order to create the corresponding inspection lot based on that inspection type.

But when the GR happens in a EWM storage location the system always searchs for the 17 inspection type (if this 17 inspection type it's not mantained in the material the inspection lot creation fails).

Does anyone know why if the movement is the same (Movement 101),no matter if the destination storage location is IM or EWM (or at least that's what the material document that gets created says) the inspection type changes?

I know that the description of the 17 inspection type says that it's for an external system, but is there anywhere in the code (method or function) where we can see and confirm what is being used to determine the inspection type?

As a side note, if we have a transfer between 2 EWM storage locations the movement is still the same (101) but the receipt indicator comes with an X (which indicates Stock Transport Order) how can we change the inspection type depending on the movement if it will be the 17 type again?

Best regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member42743
Active Contributor

QPL10001 - EXIT_SAPLQPL1_002 Is not being triggered? I would be shocked to find that.

In that exit you can use export parameter E_ACTIVE to suppress the creation of the inspection lot.

That would kind of shock me that this isn't available, even with EWM.

Craig

former_member600242
Participant
0 Kudos

Hi,

EXIT_SAPLQPL1_002 is getting triggered, along with many other Exits listed in my last comment. As far as I understand, Changing E_ACTIVE field just indicates that the user exit has been used, so it maps the changes on the qals original structure.

Changing KZSKIPLOT field in this QALS structure stops the inspection lot from being created but is not enough for our requirements because the stock is still set to Q4 quality stock type. We could maybe just do a posting change in order to get the stock to unrestricted stock type, but is there any way to get the stock to unrestricted in the first place?

As I said in the OP, doing this with stock transfers between IM storage locations is easy, deactivating QM inspection for the movements in the SPRO path: QM -> Quality inspection -> Inspection lot creation -> Inspection for Goods Movements -> Deactivate Quality Inspection for a Movement Type. But deactivating the movement types doesn't seem to affect EWM to EWM stock transfers, so stock gets to Q4 after everyone of this movements.

Best regards.

former_member42743
Active Contributor
0 Kudos

Are you sure about the stock still going to quality on the posting if E_Active is not set? I've used that before and have not seen that to be the case. That would be a huge issue and violation of standard SAP since if you have quality activated, there would be no way to get the material out of quality stock.

But I wasn't using EWM then though so it might be related to using EWM.

Craig

former_member42743
Active Contributor

Have you looked at the user exit

QPL10001 QM: Inspection lot creation – editing work area on creation

If you implement this you might be able to have your ABAP person track inspection type and possibly change the inspection type.

Craig

former_member600242
Participant
0 Kudos

Hi Craig,

we've spent this morning trying to find a way to search how this process work and what changes can be made using this User Exit. This one let us modify some fields of qals structure, but that has no result in the lot creation because it will be created no matter what we change.

We have found many other user exits:

QAAT0001 Inspection type determination different from variant

QAAT0002 Control of acceptance lots/goods receipt

QLCO0002 QM: Recording of appraisal costs: Presetting of con

QPL10001 QM: Inspection lot creation - editing work area on

QPL10003 Sample calculation for inspection lot without plan

QPL10004 User subscreen for displaying additional data in in

QPL10007 QM: Inspection lot creation - change QM order type

The first one (QAAT0001) is the only one able to help us, but still it only lets us change the inspection type. What we want is to make no inspections for some movements between EWM storage location.

Thanks for the help anyway 🙂

Best regards.