cancel
Showing results for 
Search instead for 
Did you mean: 

Change Inspection Plan - QM Module

Former Member
0 Kudos

Hello All,

I have a requirement for my client in inspection plan / task list (Q).

I want to assign modification rule in inspection plan for an inspection characteristic. At header level, the Dynamic modification rule is set as

"DMR at characteristic level".

To a particular operation, I have 5 inspection characteristics, in which I have to assign the modification rule to character 0010.

For eg:-

Group - XXXX

Group Counter - 1, 2, 3, 4, 5.

Operation - 0010, 0020, 0030

Inspection characteristic - 0010, 0020, 0030, 0040, 0050.

          0010 - MIC00001 (Length)

The red highlighted item is to be assigned with a modification rule "ABC"

With the above input, the system has to pick the right inspection character and assign the modification rule, meaning,

In group XXXX, under which group counter 1, in that operation 0020, in that 0010 inspection character,

with all these input, the character Length in the inspection plan should be assigned with the modification rule "ABC"


In my case I have more than 50K entries to be changed. Its a mass change requirement. How to proceed?

Please help me out. Its a high priority requirement.

Thanks in advance,

Anitha Pauline

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member42743
Active Contributor
0 Kudos

You could do this using an LSMW.

First you need to use CWBQM to make sure that the MIC you are updating is ALWAYS char 0010 as you indicated in your posting.  You can also check this by using SE16 to look directly at the inspection plan table PLMK.

If the characteristic is at any other position then 0010, you'll need an LSMW recording for each position it occurs in. Then run your LSMW for each group of plans, i.e. run for all plans where it is at 0010, then run for all plans where it's at 0020, etc...

I'm would imagine a good LSMW person could do this as one run.  Me.. I'd keep it simple and fast.  Especially if the majority of plans have the MIC at position 0010.  You might just update position 0010 using the LSMW and do all the others manually using CWBQM.

Craig

Former Member
0 Kudos

Hello Craig,

Its not always the same for all. Each is in different position and also some group will have even at operation 0030 or 0010 and some group might have at group counter 2 or 3 etc. But I have all the data, as in which group counter in that which operation in that which character needs the DMR to be assigned.

Do we not have any other solution for this? Because if I have to do a LSMW recording for each of those combinations then I will end up in creating a minimum of 100 recordings at least. Hope you can understand my issue.

I can understand its a complex requirement. But I need a fair method to satisfy the need.

Thanks,

Anitha Pauline.

former_member42743
Active Contributor
0 Kudos

SAP provides a standard program for loading plans. 

You could basically export your plans and create a new load file with the changes.

See this thread: http://scn.sap.com/thread/1143965

I have used this to basically duplicate production plans used for 04 inspections, to another usage for manual lots, 89.

You could do the same, just edit the file and make the replacement before loading.

Craig

anand_rao3
Active Contributor
0 Kudos

I think you can achieve this through CWBQM transaction.

Use working area as Q_TSK_000000000010, and explore at inspection characteristic level.

Regards, Anand

nitin_jinagal
Active Contributor
0 Kudos

HI Anitha,

Pl clear my doubt. You want to re assign the modified MIC (Length) in multiple inspection plans. Is that all ?

If this is what you are looking for, then do the following for mass change.

Go to CWBQM

1. In the tab 'Operation' enter the plant and group number.

2. In the tab 'inspection characteristic' enter the MIC (length)

3. Now 'Load task lists'

4. In the next screen, go to 'task list' and click on 'Inspection characteristics'

5. In the table below, you would see a column for MIC. Use filter to pick 'Length'

6. Then using ctrl+y, delete the version (1) and press enter. Your new MIC would be updated.


Regards,

ntn

Message was edited by: ntn J

Former Member
0 Kudos

The field "Modification rule" is empty in inspection plan at inspection characteristic level. I have to assign a new MIC.

former_member42743
Active Contributor
0 Kudos

Why?

You should be able to add a DMR to an existing MIC at anytime.  What error do you get when trying to add a DMR to the MIC?

Craig

Former Member
0 Kudos

Hi Craig,

I am not getting any error, I can manually assign the DMR in the field Modification rule using QP02 and change, but I want to do for a mass of entries, around 50000 line items.

Thanks,

Anitha Pauline.

anand_rao3
Active Contributor
0 Kudos

Well, I think you have the required set of information with you, that for which group and its counter and for which operation which MIC needs to be modified (addition of DMR). Just keep this information in excel sheet for time being.

The alternatives you may have are,

  1. Run CWBQM several times (covering maximum possibility counts from above excel sheet) as CWBQM is simplest and accurate way to edit inspection plans in mass. For example, first of run CWBQM for all MICs at number 10 and only for group counter 1. Later filter the remained from excel sheet and rerun CWBQM for remaining data.
  2. If these combinations are really too complex and larger in numbers to run through CWBQM, then you can think of BDC development through ABAP. With this customized program just upload above excel file. No matter in which combinations the data is present in sheet. It (the program) takes care to update respective MIC against that operation / group only, as per the excel sheet. Condition is, you should rigorously test this BDC first and proper programming logic is built.
  3. Lastly, LSMW! But I worry a little here, as (as per my understanding) there is no standard program for this in LSMW. So you are left with  LSMW by recording method option. While recording LSMW, the screens may vary operation to operation. So the LSWM recorded for say operation 10 and MIC 30 in operation 10, may not necessarily work for the MIC 50 of operation 70. Try that if works.

Regards, Anand

Former Member
0 Kudos

Hello Mr. Rao,

I have a doubt in this, If I have to do the recording, should I use T code QP02 or CWBQM.

Also that my Abaper was telling that those screens are called as Table control and it cannot be edited or recorded using LSMW. Is it so? Ultimately I need to finish the task, so I decided to segregate the data according to the combinations. So do let me know in detail the steps please.

Thanks,

Anitha Pauline

anand_rao3
Active Contributor
0 Kudos
  1. For recording BDC you need to record it for QP02
  2. Even for LSMW by recording method also, you should consider QP02 transaction only.

As per my understanding LSMW by recording method for QP02 faces few problems if the recording sequence is not adhered. This happens because at the time of recording you choose say operation 10 and MIC 10. But while uploading the data for operation 120 (where you have reach by scrolling down in QP02) the screens are different which (scrolling down activity) was recorded earlier. Here LSMW has few limitations.

That's why my preferences would be as follows

  1. CWBQM or
  2. BDC for QP02

You have chosen the right way to carry out these through CWBQM by running it several time for different different combination.