<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Question on ABAP code in a query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971599#M1491364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use this part of a coding in a Query to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF SY-SUBRC = 0.
    CLEAR Z_GTEXT_ZAEHLER.
    LOOP AT IT_GTEXT_LINES.
      Z_GTEXT_ZAEHLER = Z_GTEXT_ZAEHLER + 1.
      IF Z_GTEXT_ZAEHLER LE 1.
        IF SY-TABIX = 1.
          GRUNDDATENTEXT = IT_GTEXT_LINES-TDLINE.
          CONTINUE.
        ENDIF.
      ENDIF.
      CONCATENATE GRUNDDATENTEXT IT_GTEXT_LINES-TDLINE
                            INTO GRUNDDATENTEXT
                            SEPARATED BY SPACE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works fine. What i want is that the system don't display at the query the fieldname ZSYST1. i would that it display a discription like "STATUS" for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 10:26:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-01T10:26:02Z</dc:date>
    <item>
      <title>Question on ABAP code in a query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971599#M1491364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use this part of a coding in a Query to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF SY-SUBRC = 0.
    CLEAR Z_GTEXT_ZAEHLER.
    LOOP AT IT_GTEXT_LINES.
      Z_GTEXT_ZAEHLER = Z_GTEXT_ZAEHLER + 1.
      IF Z_GTEXT_ZAEHLER LE 1.
        IF SY-TABIX = 1.
          GRUNDDATENTEXT = IT_GTEXT_LINES-TDLINE.
          CONTINUE.
        ENDIF.
      ENDIF.
      CONCATENATE GRUNDDATENTEXT IT_GTEXT_LINES-TDLINE
                            INTO GRUNDDATENTEXT
                            SEPARATED BY SPACE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works fine. What i want is that the system don't display at the query the fieldname ZSYST1. i would that it display a discription like "STATUS" for this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971599#M1491364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question on ABAP code in a query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971600#M1491365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your code here is too short to be able to understand what you´re doing but it seems like the programme is ready field´s title from data dictionary, so you have to check in SE11 what the information for the field is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971600#M1491365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T10:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question on ABAP code in a query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971601#M1491366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my query i want that the user put in some information before he execute the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i put in my Infoset in the DATA tab some code.&lt;/P&gt;&lt;P&gt;In this code he should input the status for a production order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This input is made in field zsyst1. Later in some additional fields in the infoset i take this field up and go on with this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the selection screen from the query itself i want that the system show me instead of the field name ZSYST1 a other discription like STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 10:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-abap-code-in-a-query/m-p/6971601#M1491366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T10:42:06Z</dc:date>
    </item>
  </channel>
</rss>

