cancel
Showing results for 
Search instead for 
Did you mean: 

Force ( Skip ) MIC Close by BAPI - BAPI_INSPOPER_RECORDRESULTS

former_member308137
Participant
0 Kudos

Hi Team,

I am using BAPI - BAPI_INSPOPER_RECORDRESULTS to record the results from MII system and its working fine.

I need your help to handle the below situation.

Example:-

1) In one Operation we have 10 MIC and apart from 10 MIC, user want to update results only for @ 4/5 MIC ( inspite optional or require control indicator tick mark is there).

2) For rest 6/4 MIC user just want to go for valuation Accept and dont want to fill the results for that MIC.

I have fill up the data in all 3 Table in BAPI i.e. CHAR_Results , Sample_Results, Single_Results and in case of Single_Results, we are not passing values as its not available but passing Valuation (A), however, its asking to put values and not moving further.

Please help to know the correct data element so that I can pass some MIC from BAPI which dont have values but valuation is there.

Regards,

Satish

Accepted Solutions (0)

Answers (3)

Answers (3)

sourabh_maheshwari2
Active Participant
0 Kudos

Hi Satish,

In that case, pass only the results that have been recorded

When you do UD, first Force Close the inspection characteristics and then perform the UD. The sample will get valiated without any problem.

Std. BAPI will not work. It works as expected. You will need to create a copy and send a force closure indicator. Please check with your developer how the std. pgm behaves when you force close, and you can update your custom bapi accordingly

Abhishek_Parab
Active Participant
0 Kudos

Hi Satish,

May I know the reason why the user wants to close the Characteristics. As a solution you can mark the Characteristics as optional via the control indicators and update the results only in the required characteristics . For the rest keep them as open only don't update any Results into it and proceed ahead with the usage decision. While performing the usage decision the system wont consider the characteristics are Open for STIC and ICCO.

Regarding the Behaviors of the bapi, its behaving correctly the Standard SAP wont allow to valuate if there is not results, or at least single result present for the inspection Characteristics. Try the same in the Foreground via manual lot .

Thanks and Regards,

Abhishek Parab.

former_member308137
Participant
0 Kudos

Hi Abhishek,

Thanks for the support on this. In GUI Box, its working fine, there is no issue.

However I am using Std BAPI ( as mention above BAPI)and want to skip by Standard BAPI but dont know which parameter need to pass ( i have set up optional and require indicator as well)

User should have functionality to select any MIC and force accept without entering value ( as per std GUI works). Please help me if we have any other BAPI which can be use to force MIC with valuation.

I am passing below values in BAPI. As I dont have value for MIC so I m not passing values SINGLE_RESULTS. ( I have tried SINGLE_RESULTS without values but getting error - (QE-456) The inspected sample size does not correspond to the planned sample size)

CHAR_RESULTS:- Below Values Pass.

INSPLOT --- XX0000000XXX

INSPOPER --- 0010

INSPCHAR --- 0060

CLOSED --- X

EVALUATED ---- X

EVALUATION --- A

**************************************************************

SAMPLE_RESULTS

INSPLOT --- XX0000000XXX

INSPOPER --- 0010

INSPCHAR --- 0060

INSPSAMPLE --- 000001 ( As I am using inspection point, its change as per no of inspection point)

CLOSED --- X

EVALUATED ---- X

EVALUATION --- A

Getting error - (QE-456) The inspected sample size does not correspond to the planned sample size)

Note :- I tried above set up EVALUATED with blank but getting same above message and not able to see this MIC in closed status (5) in QE13.

Appreciate your help on this.

Regards,
Satish

Abhishek_Parab
Active Participant
0 Kudos

Hi Satish,

Thanks for providing the Data, Please set the Inspection Scope as "Scope not Fixed" in the control indicator for the inspection Characteristics. This will solve your issue.

May I know the reason why are you closing the Characteristics if you are not entering the Data forcibly. You can mark the characteristics as optional. Marking it as optional wont create a issue during the issue during the usage decision if there are not results for it.

Thanks and Regards,

Abhishek Parab

former_member308137
Participant
0 Kudos

Hi Abhishek,

Thanks for the quick update I have changed to Scope Not Fixed at MIC level, its tooks sample size as lot quantity and I run with same set. Its close MIC ( status 5) at inspection point level as well.

However in my case my master data cant be change at this point of time, is there any way (any other BAPI) to fix my issue.

May I know the reason why are you closing the Characteristics if you are not entering the Data forcibly :- I need to close the inspection point valuation automatically as well, if all MIC is status 5 then only Inspection point will be valuated. At this stage I cant change the master data at MIC level, business want sampling procedure as well.

Regards,
Satish.

sourabh_maheshwari2
Active Participant
0 Kudos

why do you have those mic's in the inspection plan if you do not record results for it?

if results are recorded in a particular frequency, then set DMR on those. Valuation for these are not needed if they are skipped.

former_member308137
Participant
0 Kudos

Hi Sourabh,

Greetings!!!

Thanks for time to read and understand on this. In my case, MIC is not specific to be skip. User can select any MIC and need to go for foce closure, so cant go for DMR.

Business is expecting should work like same in S4 Box ( result recording screen) , i.e. select on MIC and then click on FORCE Closure button without MIC value entry in MIC and its getting valuated.

As I need to do above activity in other system i.e. MII box and using BAPI to send results, system i asking me to pass value for ( skip) MIC but we dont have values.

Please suggest what parameter ,field we need to pass for force closure or I need to use any other BAPI for this.

Appreciate your help on this.

Regards,

Satish