on 2018 Sep 18 2:05 PM
Hi Experts,
I have requirement to do result recording (update results) through FM in QE51n.
I have developed a custom FM which uses "BAPI_INSPOPER_RECORDRESULTS" by passing sample_result and single_result table in the FM along with Inspeciton Point data.
The characteristics get updated correctly but the Physical Sample does not complete ( turn green ) and gives "You have not completed all characteristics" in QA11.
This turns green when I update characteristics manually and enter.
Thanks and Regards
Vivek
You might try calling BAPI_INSPOPER_GETDETAIL to fill the tables for you, modify the relevant table entries for your results, then submit the changed data back to SAP using BAPI_INSPOPER_RECORDRESULTS.
This approach lets SAP do the work of filling in all the fields of the data entry structures.
If the previous post is correct and you missed filling a data field somewhere, you can save yourself a lot of work by letting SAP take care of the details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suspect you need to include in your program the evaluation of the sample point.
In the manual process the automatic valuation of the sample point is set in the inspection plan operation header. This I believe sets a flag in the sample record that says automatic valuation allowed. Then the QE51n process checks that and valuates the sample.
But I guess that when running this in a program, you'll have to perform the step yourself in the program. There is probably a FM in the system somewhere that the QE51n program uses.
Craig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
109 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.