cancel
Showing results for 
Search instead for 
Did you mean: 

ERP/EWM QM Integration – Inspection document for each delivery item

ralf_b
Explorer

Hi experts,

I have a question regarding the creation of a inspection document in EWM.

Based on the inspection rule in EWM the system should create an inspection document for each item. In general the control indicator for the inspection document creation is set to blank (the other options are 1, 2 and X).

Our customer has the following situation (example):

For an order about 2000 PC of product A we have two shipments in two container (1000 Pc each). In addition we have one delivery with two items but with the same product A (Each item about 1000 PC). This is a result of SAP/TM which splitt the delivery into two items.

  1. Delivery item 10: Product A - 1000 PC - ContainerNo1
  2. Delivery item 20: Product A - 1000 PC - ContainerNo2

Beside: Each item is assigend to a separate TU.

EWM system creates currently one inspection document with quantity 2000 PC. The document will be sent to the ERP QM-Modul for an external usage decision. Business requirement is to create two different inspection documents (for each container ==> each item). In general the EWM documentation says that an inspection document will be created for each item (if the control indicator is set to blank) but it will summarize the items into one inspection document.

Currently the creation of the inspection document is triggered with the creation of the delivery. We also have tried to set the creation time with the goods receipt posting. That means we want to create the inspection document if we post the goods receipt for the first item (e. g. item 10). Due to the fact that we used the collective HU feature in EWM (using HUs with unknown content) we get an error during the creation of the inspection document. Obviously the system wants to unpack and repack the HUs (I don´t know why) during some checks and had some trouble with the collective (logical) HUs.

Does anyone has suggestion to create an inspection document for each item?

Thanks in advance.

Ralf

Accepted Solutions (0)

Answers (2)

Answers (2)

ralf_b
Explorer
0 Kudos

Hello Ajit,

thanks for your reply. We have also considered the BADI /SCWM/EX_QM_INSP_SUMMARY. But as the name suggest, with the BAdI you are able to summarize different items into one inspection document by your own rules not seperating into several inspection documents (from my point of view).

Or am I wrong here?

Regards

Ralf

Ajit_Routray
Active Contributor
0 Kudos

Hello Ralf,

"But as the name suggest, with the BAdI you are able to summarize different items into one inspection document by your own rules" - This is right, you need to delete the parameter( field ) from the range. However,I assume it will separate inspection documents if we add parameter (item field) in the range.

for example:

ct_prp_range_out = it_prp_range_in

property = "Item/refitem ".-> Field Name

sign = I

option = EQ

low = Field Value

Append ct_prp_range_out.

Please check and share your thoughts on this.

Kind Regards,

Ajit

ralf_b
Explorer
0 Kudos

Hello Ajit,

thanks for your reply.

I will check it.

Regards

Ralf

pawelkujawa
Discoverer
0 Kudos

Hello Ajit,

If solution suggested by Ralf worked or did You found another solution to create an inspection document for each item?

Regards

Pawel

Ajit_Routray
Active Contributor
0 Kudos

Hi Ralf,

My assumption: It is checking the reference document and not its item when the control indicator for the inspection document creation is space.

I guess you have to add item with the implement BADI /SCWM/EX_QM_INSP_SUMMARY and set the control indicator for the inspection document creation is X.

Class: /SCWM/CL_QDOC METHOD: GET_INSPDOC_4_SUMMARY

Kind Regards,

Ajit