Skip to Content

Error in Inspection Plan Create BAPI

Dear Members,

I am trying to create inspection plan using the BAPI BAPI_INSPECTIONPLAN_CREATE. However, when I execute it I get an error

"008 Inspection characteristic cannot be uniquely assigned to one operation". This error is coming even when there is only one MIC in operation.

I don t see any issue in data maintenance but this error is not getting resolved.

Can anyone help me on reason of this error?

Thanks and Regards,
Arun Mann

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2015 at 06:01 AM

    I think that same inspection characteristic already exists in another operation for same task list and group counter.

    Please check your data sheet again.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2015 at 10:20 AM

    Hi Arun,

    I believe the standard BAPI you are using in your inspection plan creation program is capable of assigning all types of MIC's with all values of "Copy Model/Reference Characteristic", available under MIC general information section. I couldn't think about any further clue here, may be some other expert can suggest if there is anything else you should check.

    In case if you are very sure that there is no issues with the upload file, then this is probably an issue with how the BAPI [BAPI_INSPECTIONPLAN_CREATE] is getting called inside the inspection plan creation program. May be there is a case that due to some bug, the same MIC is trying to be added to the same operation number again. That's where this unique assignment was not possible, which may have resulted in this error message.

    As Do-Wook Kim rightly suggested, the upload file may also have some minor issue. This kind of issue may not be in the initial line, but internally in some other lines and if your upload program is considering all the details of the upload file and then processing them, then that could also contribute this issue.

    Please double check and confirm.

    Thanks,

    Arijit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2015 at 02:35 PM

    Hi Arun,

    You must have got read of this problem by now. Please share the solution if possible, as I see many unaswered threads in this regard.

    We faced similar issue and got it resolved by passing group counter as 1 instead of 01 (BAPI was not accepting leading zero). Also, the import mode (Copy indicator for MIC from masters) was set as C, instead of L or N.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.