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

Sap Script : QM_INSP_RESULT - TCode qga3 - Selecting characteristics without grouping them by samples

Former Member
0 Likes
1,436

Hello Experts.

I have copied the standard SAP Script QM_INSP_RESULT into a Specific sap script called ZQM_INSP_RESULT. Initially the standard program works in a way that when an inspection lot is entered in transaction qga3, the SAP Script (QM_INSP_RESULT) is generated displaying characteristics grouped by Samples. My need is to remove the classification by samples and only show the characteristics that are specific to an inspection lot number in my SAP Script ZQM_INSP_RESULT.

I have been digging to solve that issue for 2 weeks. The only thing I have found is that there are two Text Elements acting in the standard SAP Script (QM_INSP_RESULT).

The First one :      IP_HEADER_ADD                               which prints the Sample Code.

Second one :        CHARACTERISTIC_HEADER_IP        which prints the Characteristics of an inspection lot.

I commented the content of IP_HEADER_ADD  in my Specific Sap Sript so it won't print the Sample Code. But that makes the CHARACTERISTIC_HEADER_IP to be printed as much as the number of samples existing for that inspection lot which leads to the duplication of the same characteristics as it's shown below :


I would really be pleased to hear from your answers on this issue. Thank You !

Hello Experts.

I have copied the standard SAP Script QM_INSP_RESULT into a Specific sap script called ZQM_INSP_RESULT. Initially the standard program works in a way that when an inspection lot is entered in transaction qga3, the SAP Script (QM_INSP_RESULT) is generated displaying characteristics grouped by Samples. My need is to remove the classification by samples and only show the characteristics that are specific to an inspection lot number in my SAP Script ZQM_INSP_RESULT.

I have been digging to solve that issue for 2 weeks. The only thing I have found is that there are two Text Elements acting in the standard SAP Script (QM_INSP_RESULT).

The First one :      IP_HEADER_ADD                               which prints the Sample Code.

Second one :        CHARACTERISTIC_HEADER_IP        which prints the Characteristics of an inspection lot.

I commented the content of IP_HEADER_ADD  in my Specific Sap Sript so it won't print the Sample Code. But that makes the CHARACTERISTIC_HEADER_IP to be printed as much as the number of samples existing for that inspection lot which leads to the duplication of the same characteristics as it's shown below :


I would really be pleased to hear from your answers on this issue. Thank You !

1 REPLY 1
Read only

Former Member
0 Likes
1,008

How do you get the new Z* form used when called from ZA33?