Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using BAPI_INSPOPER_RECORDRESULTS

Former Member
0 Likes
1,119

Hi Friends,

I have got a requirement to record results in QE02. I am fetching the characteristics for a particular lot using BAPI_INSPOPER_GETCHAR.

Please suggest how to use BAPI_INSPOPER_RECORDRESULTS using the characteristics derived from above FM.

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
624

Hi,

transaction QE02 is a transaction to change inspection results. These results are recorded before.

If you want to read recorded results you can use function modules QC01_Q_CHARACTERISTICS_SELECT or QEEA_FEATURES_READING.

If you want to change the results: Do you want display the already recorded data to user? This is QE02 doing.....Where do you get the input? I mean the data that has to be changed? From file? Screen?

You can use BAPI_INSPOPER_RECORDRESULTS to create and change inspection results in QM. Your requirement isn't clear at all (for me).

And the fm BAPI_INSPOPER_GETCHAR isn't suitable for this.

Rgds,

JP

Read only

0 Likes
624

Hi,

My requirement is.

I will get the data like material number, serial number, inspection lot origin and plant from the input file.

Based on this data i have to check whether inspection lot exists for that material number .

If it exists i have to go to transaction QE02 and add the serial number.

If the inspection lot does not exist i have to create ispection lot first and next i have to go to the transaction QE01 to record the results.

So i have to use both the transactions to record the results.

Hope you understand the scenario.

Pls sugest me how to proceed.

Thankx