on 02-04-2016 8:16 PM
Hi experts,
I am trying to use BAPI_INSPOPER_RECORDRESULTS to confirm measured values. This BAPI works fine, but I also would like to close the MIC after the last value.
I have defined user settings in QE01 t-code, but it is not taken into account when using BAPI.
Is there any way to close the MIC automatically in this scenario?
Could anyone please help me?
Thanks and regards,
Marcos
Hi Marcos,
Please try using BAPI_INSPOPER_RECORDRESULTS and BAPI_TRANSACTION_COMMIT in sequence, to commit the results uploaded form BAPI.
Path: SM37 => Function Module => Execute => Test Sequences => 1) BAPI_INSPOPER_RECORDRESULTS, 2) BAPI_TRANSACTION_COMMIT
For 'Closing' the results uploaded, you can try developing the business logic by using the below fields from the structure -
CHAR_RESULTS or SAMPLE_RESULTS =>
i) CLOSED = "X" .... only for MIC status to be "5" and 'BLANK" for MIC status "2/3".
ii) EVALUATED = "E" ........only for those MIC's where the system status has to be "3" or "5".
NOTE: If Evaluated field is Blank, then Closed field can't be X.
iii) EVALUATION = "A" or "R" for the input result valuation.
NOTE: This field will only be filled in only if Evaluated field is filled-in. You can set this value programmatically by calculating the ranges and deriving it.
I believe there will surely be many threads on this topic. Please can you Google it a bit more.
Thanks,
Arijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
How to force close using the same bapi any idea please ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.