cancel
Showing results for 
Search instead for 
Did you mean: 

uploading MIC's in qp01.

Former Member
0 Kudos

hello,

I have to creat a LSMW or BDC program to upload master inspection charactoristics .

i have done recording for seven MIC's . So system is taking all 7 mic's data while uploading.

There are some mandatory fields in each mic's . So it will go for all 7 mic's demanding data values from data file.

So when a material has 7 mic's . it is uploading data availble there in datafile for these 7 mic's. But when a material has only 4 mic's or 2 mic's or 6 mic's it is asking for data for remaining mic's for that material, because recording was for 7 mic's

But requirement is like this . When one material have 5 mic's it should be uploaded . Next material has 3 mic's so only 3 mic's should be taken from data. And it should go for next material without demanding remaining mic's data.

o.k.

If anybody has done it previously , please give me suggestions how to achive this.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Mr. Santhosh,

For uploading MIC you will have to create a seperate LSMW recording -> but for uploading the quality plan with created MIC you may use the program RCPTRA01. In this programme you will have to make system understand the header values , operation values and the mic values with identifier 10,20 and 30 similarly your upload sheet should also have the identifier seperated with necessary values -> for example.

Plant->>>operation->>>control key->>>Operation desc->>>Material->>>operation number for MIC->>>MIc number->>>Sampling procedure->>>method->>>>Version->>>revision level.

Hope this helps you.

Regards,

M.M

Answers (3)

Answers (3)

former_member225637
Active Participant
0 Kudos

Dear Santhosh ,

Bapi is the best way for uploading mic and inspection plan , if you contact your abaper , he will do it in a few hours for you

dont waste time in lsmw

Regards

Raj

Former Member
0 Kudos

Hi Santosh,

Alternately, you may use BAPI_INSPECTIONPLAN_CREATE to create inspection plans and all its subordinate objects.

Thanks,

RAVI.

Former Member
0 Kudos

Hi Santosh,

If in case you want to use LSMW to upload IP with varying number of MIC in an operation you will have to create and execute 2 recordings.

Let us for example consider:

Mat-A --> OP-10 --> 0010-MIC-1

Mat-B --> OP-10 --> 0010-MIC-2,0020-MIC-3

Mat-C --> OP-10 --> 0010-MIC-1,0020-MIC-4,0030-MIC5

Mat-D --> OP-10 --> 0010-MIC-6,0020-MIC-4,0030-MIC7,0040-MIC-8

RECORDING 1

This recording should create IP for all Materail with 1 MIC assigned to the operations.

At the end of the BDC execution, we have -

QP01:Mat-A --> OP-10 --> 0010-MIC-1

QP01:Mat-B --> OP-10 --> 0010-MIC-2

QP01:Mat-C --> OP-10 --> 0010-MIC-1

QP01:Mat-D --> OP-10 --> 0010-MIC-6

As there is Single Item for all Materials,there will have no problem.

RECORDING 2

This recording should call IP already created in change mode and add 1 MIC to the operation and save.

QP02:Mat-B --> OP-10 --> 0020-MIC-2 & save

QP02:Mat-C --> OP-10 --> 0020-MIC-4 & save

QP02:Mat-C --> OP-10 --> 0030-MIC-5 & save

QP02:Mat-D --> OP-10 --> 0020-MIC-4 & save

QP02:Mat-D --> OP-10 --> 0030-MIC-7 & save

QP02:Mat-D --> OP-10 --> 0040-MIC-8 & save

In the Material where there are multiple MIC, in the txt file it should be included twice with changed Characteristic No. (0010,0020 etc).

With these 2 recordings such single header multiple items records can be updated using LSMW. Please get back if this is not clear !

Thanks,

RAVI.