<?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 SAP script display text dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091864#M1902576</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;I have a requirement where I need to display some text in the SAp script form based on custom logic. I have to do a select on a custom table and based on the result I have to display some text. How do I do that? where should i write the select statement and how to dsiplay/not-display the text in SAP script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 15:37:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-17T15:37:59Z</dc:date>
    <item>
      <title>SAP script display text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091864#M1902576</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;I have a requirement where I need to display some text in the SAp script form based on custom logic. I have to do a select on a custom table and based on the result I have to display some text. How do I do that? where should i write the select statement and how to dsiplay/not-display the text in SAP script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091864#M1902576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-17T15:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script display text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091865#M1902577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're driver program is standard and are you are not changing it, You can write your logic in the Subroutine in the different program and call it in the SAPScript window using the PERFORM statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw74/helpdata/en/4e/34f87463de02c2e10000000a15822b/content.htm" title="http://help.sap.com/saphelp_nw74/helpdata/en/4e/34f87463de02c2e10000000a15822b/content.htm"&gt;Calling ABAP Subroutines: PERFORM - BC Style and Form Maintenance - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have custom program and custom SAPScript, you can simply do the select before calling the text element of that window, assign the value in the global variable and use that in the SAPScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 16:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091865#M1902577</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2015-06-17T16:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script display text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091866#M1902578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi Sankara,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Is it Standard script or custom ?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;If it is standard then you have to write the SELECT statement in the FORM routines .For this you have to open the window in which you want to add the custom field &amp;amp; add call the subroutines using &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;PERFORM GET_DATA IN PROGRAM ZPROGRAM_NAME USING &amp;amp;LV_VAR1&amp;amp; CHANGING &amp;amp;LV_VAR2&amp;amp;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;ENDPERFORM.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Now create the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;ZPROGRAM_NAME in se38 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;using the form : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="keyword abap" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; font-weight: bold !important; color: #006699 !important; background: none !important;"&gt;&lt;STRONG&gt;FORM&lt;/STRONG&gt;&lt;/CODE&gt;&lt;STRONG&gt; &lt;CODE class="abap plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; color: black !important; background: none !important;"&gt;get_data &lt;/CODE&gt;&lt;CODE class="keyword abap" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; font-weight: bold !important; color: #006699 !important; background: none !important;"&gt;TABLES&lt;/CODE&gt; &lt;CODE class="abap plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; color: black !important; background: none !important;"&gt;intable &lt;/CODE&gt;&lt;CODE class="keyword abap" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; font-weight: bold !important; color: #006699 !important; background: none !important;"&gt;STRUCTURE&lt;/CODE&gt; &lt;CODE class="abap plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; color: black !important; background: none !important;"&gt;itcsy&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="number21 alt2 index20 line" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; margin: 0 !important; padding: 0 1em 0 0 !important; background: none white !important;"&gt;&lt;STRONG&gt;&lt;CODE class="abap plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; color: black !important; background: none !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outtable &lt;/CODE&gt;&lt;CODE class="keyword abap" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; font-weight: bold !important; color: #006699 !important; background: none !important;"&gt;STRUCTURE&lt;/CODE&gt; &lt;CODE class="abap plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0 !important; padding: 0 !important; color: black !important; background: none !important;"&gt;itcsy.&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="number21 alt2 index20 line" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; margin: 0 !important; padding: 0 1em 0 0 !important; background: none white !important;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="number21 alt2 index20 line" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; margin: 0 !important; padding: 0 1em 0 0 !important; background: none white !important;"&gt;&lt;STRONG&gt;Write your logic to fetch data from the custom table in this form routine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="number21 alt2 index20 line" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; margin: 0 !important; padding: 0 1em 0 0 !important; background: none white !important;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="number21 alt2 index20 line" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; margin: 0 !important; padding: 0 1em 0 0 !important; background: none white !important;"&gt;&lt;STRONG&gt;Regards-&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="number21 alt2 index20 line" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; color: #333333; margin: 0 !important; padding: 0 1em 0 0 !important; background: none white !important;"&gt;&lt;STRONG&gt;Vishal&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 16:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091866#M1902578</guid>
      <dc:creator>Hvshal4u</dc:creator>
      <dc:date>2015-06-17T16:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script display text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091867#M1902579</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;I am coying standard form MEDRUCK into a Z one. I have also copied the driver program YFM06PE02 into a Z one. it has form entry_neu, where SAP calls 'ME_PRINT_PO' which does all the work. I can not change this FM. What should I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 17:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-display-text-dynamically/m-p/11091867#M1902579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-17T17:20:10Z</dc:date>
    </item>
  </channel>
</rss>

