Skip to Content
0

QA13 Inspection Report

May 15, 2017 at 01:10 PM

192

avatar image
Former Member

How can I get the values in QA13 table? I am trying to fetch the inspection lot results data for multiple Inspection lots one such that when a user just enters all the inspection lot I can display the below output in ALV through custom ABAP report.

Someone could please tell me the availability of some function module for all the below data?

Excepted ABAP ALV output I am trying to achieve

Thank you very much.

sap1.png (50.1 kB)
sap2.png (23.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Craig S May 15, 2017 at 01:21 PM
0

Have you searched for threads using the following key words?

SAP results stored tables

You should get numerous threads with those keywords, at least from Google. I did.

Please do your research first.

Craig

Show 6 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi

I did some research over the below links before I posted the question.

https://archive.sap.com/discussions/thread/3555293

https://archive.sap.com/discussions/thread/262214

Things became little complicated when I was trying to pull the text for Ql MIC and I was wary about the user updating the task list and managing the version of TL, say I revise the description of the parameter after I close the inspection lot and with the arrival of inspection lot. Would the old inspection lot will retain the old and unaltered parameter or would it get updated when I update the MIC?

Please correct if I get them wrong.

Thanks Craig, you were always helpful.

0

Thanks. i wish you have mentioned the links first and really explaine what you needed to start with. The comment you made should have been your question to start with.

Becaue the system copies the task list data in to the QAMV table, (for most testing, for some testing other tables could be involved), once the inspection lot is created, the descriptions for the test and releated paramters should not change for an already created inspection lot.

Craig

0
Former Member
Craig S

Could you please help me in sorting out Ql MIC

We use selected set in the Task List and so the Inspectuion lot will be using them, how can I retrieve results. I can have more than one Accepted case in selected set and I know if I could use MIC I can figure out the table link from the previous thread I posted.

And how to capture Operation description? Opn No I can take from QAMR/QAMV but unable to get the operation description of the relevant Inspection lot. I don't want to refer the MIC/Task List in either of the case as we would be updating them very often and so they're subjected to change. If I use them they might affect the contents of the report.

Thanks

0

For a qualitative MIC you cannot have more than one result. You can have multiple, acceptable choices to pick from, but only one result. The one result should be found in QAMR under most designs. If you are trying to obtain all the available choices, you have to look up the selected set which can be quite involved. You have to first get the MIC's selected set from QAMV. Then go to QPAM for the selected set header, and then QPAC for the codes and their valuations.

The operation description is worse. You have to use the information in QALS to get the group and group ctr. Then get the node from QAMR. Then use group and group ctr info to get info from the task list tables PLKO, PLPO to get the descriptions.

Craig

0
Former Member
Craig S

Hi

Thanks for your response. It is the exact procedure I would adopt if I a using the MIC in tasklist but I'm assigning the selected set to the TL directly, I've browsed the tables and I belive SAP only stores as accepted or rejected rejected I use selected set, not the accepted parameter.

And also could you please address on the second question about operation description.

Thanks

0

I did address the second question about operation description.

If you assign the selected set directly in the task list, the selected set value is stored directly in PLMK. You still need to got to QPAM and QPAC to get the valuations.

Craig

0
Evgeny Gubenko May 24, 2017 at 12:31 PM
0

Hi!

You can try BAPI_INSPOPER_GETDETAIL to get this data and may be the table qpmk for mapping of the characters

Hope it's helpful.

Evgeny

Show 4 Share
10 |10000 characters needed characters left characters exceeded

I think to use this BAPI is good suggestion.

Hi William - Once the task is list is assigned to inspection lot, the MICs present in the TL at that time get assigned to the lot. Even if you change the TL (Task List or inspection plan) later, it does not affect already created inspection lot. That is the reason I recommend to use BAPI Evgeny suggested. It fetches the results from the inspection lot and not from TL. And from Task list you should never fetch the results as these are subject to change always.

PS - This BAPI may have performance issues as at a time you can pass in only one inspection lot.

Regards,

Anand

0
Former Member
Anand Rao

Yeah, hence so I'm not taking anything from Master.

To address the performance issue, I'm planning to pass them in a do,.... While.... Loop.

0
Former Member

Thank you very much. I'll check back and post here.

Can it also fetch the operation description, I missed that requirement in main post.

0

Yes, It fetches the operation description also. Check with ABAPer at the export parameters. You will get there detailed view for operation.

Anand

0