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

Query-How to print the input fields in the output page?

I build a query with SQ02 and SQ01.

when I print the output table, I want that the input fields that the user inserted (the name of the field and the value), will be printing too (Not in additional column, but in the top of the page).

How do I do this?

And can I choose which fields will be printed.<b></b>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2004 at 06:34 AM

    Hi, I usually use the following code to retrieve and display selection parameters during TOP-OF-PAGE event:

    data: lt_seltab type standard table of rsparams

    with header line.

    data: lv_report like sy-repid.

    lv_report = sy-repid. "do not pass sy-repid directly

    call function 'RS_REFRESH_FROM_SELECTOPTIONS'

    exporting

    curr_report = lv_report

    tables

    selection_table = lt_seltab.

    • you can remove some parameters with

    • 'DELETE LT_SELTAB WHERE...' statement,

    • before display, if necessary

    call function 'RS_LIST_SELECTION_TABLE'

    exporting

    report = lv_report

    seltext = 'X'

    • dyn_range =

    newpage = ' '

    • screennr = 1000

    tables

    sel_tab = lt_seltab

    exceptions

    sel_tab_empty = 1.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Serdar Simsekler

      Hi,

      I understand that the field_name is the name of the <b>screen field</b> and not the table field.

      it is working right.

      Now I have the 2 problams:

      1. In the output, before the input fields, it prints "Objects for selection screen 1000".

      I don't want it to be printed.

      How can I prevent it or change it?

      2. the field <b>date</b> is printed in the format YYYYMMDD without points between the year month and day. I need to print it in format DD.MM.YYYY

      help!!! 😊

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.