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

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

Thanks,

rg

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on 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


    qm12.jpg (245.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.