Skip to Content
0

Question on QM12 addition of new fields

Mar 28, 2017 at 10:53 AM

207

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member
Mar 28, 2017 at 12:42 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Kali Charan Mar 28, 2017 at 12:39 PM
0

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


qm12.jpg (245.5 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Mar 28, 2017 at 12:55 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded