Skip to Content

Question on QM12 addition of new fields

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



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 28, 2017 at 12:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 28, 2017 at 12:39 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 28, 2017 at 12:55 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded