Skip to Content
author's profile photo Former Member
Former Member

Adding Standard text to an existing Sap Query

Hello Experts

I have an existing query that produces Dunning information. The query uses tables BSID,T001 and KNA1.

I have been asked to add a standard text that gives our users further information on the print line.

Is there something already built in to query to help me do this or do I add a custom field and use a bit of ABAP to

populate the field?

Some of the key information to read into 'READ_TEXT' is obtainable from BSID but can I assume the correct record of BSID

will be available when the abap code is executed or do I just fetch the information from scratch and ignore what the query is doing?



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 01, 2012 at 07:28 AM

    Hi Mike,

    by QUERY, I am assuming you are refering to SAP Query SQ01,02,03. AFAIK, here you can use only fields available in the Table or Table Joins in the output. You can do minor variations like some calculations or so.. But not sure if you can put a custom field and populate that using a FM like Read_text..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2012 at 09:17 AM

    Hi Mike,

    There is no built in mechanism to read the standard text. But you can add the additional field in the your infoset ( SQ02 ). In the additional field you can add your custom code with READ_TEXT, here you will get the data of node bsid which can be utilized to read the standard text.

    With regards,

    Jayraj Joshi

    sq02.jpg (200.7 kB)
    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.