I hope you can help me.
I have done the customizing for a new plant in our SAP ERP System.
For this plant we have two inspection types as we have in our main plant.
So the problem is that the first inspection type in the new plant doesn't work.
In the main plant the inspection type works and also the secound inspection type in the new plant works fine.
For a better analysis I start to debug the QE51N. I found a difference between them:
CHECK qmkst-pumfkz EQ '=' OR qmkst-pumfkz EQ '<'.
In the program SAPLQEEM there is a PERFORM ABSCHLIESEN_AUTO which makes an automatic decision for the step after giving in the erroneous quantity.
Correct plant: pumfkz is '=' and in the new one it's initialized.
The source of this field is the table QAMV.
I ask myself which customizing or which masterdata controls this field. Did i forget any customizing?
My next try to get the reason for it: greating the inspection lot manually with QA01 and see where the field comes form.
For this I debugged the QA01 in detail.
I found out that the function QEEV_CREATE_ONE_CHARACTERISTIC gets the content from the abap steps before and then creates the entry.
Therefore the structures and tables with *plmk* or *plmkb* are the sources. The field is called steuerkz.
Progarms are: SAPLQEEV, SAPLQPAP, SAPLCPEX
Functions are: QPAP_PLAN_READ, CP_EX_PLAN_READ, QEEV_CREATE_ONE_CHARACTERISTIC
Forms are: plan_data_provide_with_matspec, fill_tables_by_plan_tab_new, chv_provide_valid, plmkb_tab_fuellen
For more information please be so kind and ask me.
I will stay debugging the program but maybe someone can accelerate the process.
Any message could be helpful for me. Thank you in advance!
But without success yet...