<?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 Regarding Display button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228865#M770189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the screen which includes the mat no,date of creation,created by,mat type,mat grp,now the isue is when i give the mat no and click on the display button the other fields are not displaying thedat do any body know how to code this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgrds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2008 10:49:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-15T10:49:47Z</dc:date>
    <item>
      <title>Regarding Display button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228865#M770189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the screen which includes the mat no,date of creation,created by,mat type,mat grp,now the isue is when i give the mat no and click on the display button the other fields are not displaying thedat do any body know how to code this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgrds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 10:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228865#M770189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T10:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Display button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228866#M770190</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;Do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the screen fields are taken from the structure MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the PAI of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SHOW_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="CODE"&gt;MODULE SHOW_VALUES.
IF NOT MARA-MATNR IS INITIAL.
SELECT * FROM MARA WHERE MATNR = MARA-MATNR.
ENDIF.
ENDMODULE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 10:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228866#M770190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Display button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228867#M770191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chidambar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Try this code if you are retrieving the values from ZTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TABLES : ZTRAINEE22_EKKO   "ZTRAINEE22_EKKO is the ZTABLE Name&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;   WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE * FROM ZTRAINEE22_EKKO  WHERE EBELN&lt;/P&gt;&lt;P&gt;                          = ZTRAINEE22_EKKO-EBELN.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the select querry is retrieving the values from the ZTRAINEE22_EKKO table into the work area ZTRAINEE22_EKKO for the particular EBELN in the WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field names in the screen should also have the same names as the field names in the ZTABLE &lt;/P&gt;&lt;P&gt;i.e.,&lt;/P&gt;&lt;P&gt;ZTRAINEE22_EKKO-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If an internal table is used for the scren names,then use this select querry:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DATA : ITAB LIKE ZTRAINEE22_EKKO OCCURS 0.&lt;/P&gt;&lt;P&gt;TABLES : ZTRAINEE22_EKKO&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;   WHEN 'DISPLAY'.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE *  INTO CORRESPONDING FIELDS OF ITAB FROM ZTRAINEE22_EKKO              WHERE EBELN = ZTRAINEE22_EKKO-EBELN.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This select querry will retrieve data into the internal table ITAB and thus they will be displayed on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert for any other querries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 11:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-display-button/m-p/3228867#M770191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T11:06:21Z</dc:date>
    </item>
  </channel>
</rss>

