Application Development 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: 

Question on QM12 addition of new fields

Former Member
0 Kudos

Hello Experts,

I am adding custom fields to QM12 transaction and I had enhanced structure RQMQMSM

as said in note 370191, now I want to define the field catalog for the newly added custom fields and fill those newly added custom fields. Could you please suggest the best possible way to check the method for filling those newly added fields.

I had already searched SCN and found below link

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

Thanks,

rg

4 REPLIES 4

former_member196331
Active Contributor
0 Kudos

As per my knowledge. You need to add columns in table RQMQMSM in this table. Here append Structure also given.
Simply create what fields you need.

In this include :: MIOLXF14

The field catalog is creating from the below exact points. But i did not remember first point or second point.
but put break point on both functions then open new Debugger then call the Tcode and execute it.Ok
If you observe carefully. Tablename is taking as RQMQMSM Ok. No need to add manullay

rgore
Advisor
Advisor
0 Kudos

As suggested by Charan, the fieldcatlog is built based on the structure RQMQMSM. To fill those fields the note suggests to copy the standard report to custom one.

One alternate would be using the customer exit EXIT_SAPLIREP1_001, which gets triggered for PM/QM/CS reports. In this exit you can access the OBJECT_TAB[] from the memory and modify it once the added fields are filled.

Thanks & Regards,

Rakshith Gore

Former Member
0 Kudos

To populate the custom fields in RQMQMSM for QM12, I created an Implicit Enhancement at the end of Subroutine TEXT_NACHLESEN_L in Program RQMELL20. The OBJECT_TAB table is the table displayed in the ALV. OBJECT_TAB is typed as an internal table with a header line that includes structure RQMQMSM. I looped through this table in the enhancement and assigned values to my custom fields like object_tab-zzcoord. I didn't have to do anything for the field catalog.

0 Kudos

I have done the same, but encountering dump when I try to add the fields to the alv output layout. please see my thread:
https://answers.sap.com/questions/12895925/qm12-additional-fields-issue.html