<?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 Re: PROGRAM TEXTS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586011#M1661230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a message in SE91 using the place holder.&lt;/P&gt;&lt;P&gt;Now in your code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA lwa_bapireturn TYPE bapiret2.
MESSAGE ID     pfd_msgid     "Message Class
        TYPE   pfd_msgtyp    "Simpley pass as 'I'
        NUMBER pfd_msgno     "Message No
        WITH   pfd_msgv1     "Place holder value T01
               pfd_msgv2     "Place holder value
               pfd_msgv3     "Place holder value
               pfd_msgv4     "Place holder value
        INTO   lwa_bapireturn-message.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use lwa_bapireturn-message in your popup function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 09:45:40 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2012-02-09T09:45:40Z</dc:date>
    <item>
      <title>PROGRAM TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586009#M1661228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a program text lets say, &lt;STRONG&gt;T01&lt;/STRONG&gt; which has a value &lt;EM&gt;The &amp;amp;1 cannot be changed&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I need to use this program text as a question in the FM - POPUP_TO_CONFIRM.&lt;/P&gt;&lt;P&gt;How to fill the placeholder value before sending the program text to the FM - POPUP_TO_CONFIRM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vignesh S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586009#M1661228</guid>
      <dc:creator>former_member412793</dc:creator>
      <dc:date>2012-02-09T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROGRAM TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586010#M1661229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vignesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess we can't use place holders for program texts, they can be used in messages.&lt;/P&gt;&lt;P&gt;But if you have used a place holder as you said &amp;amp;1, then there is a way to fill it any time with your own string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why you can't use place holder is that the text length will get fixed and you cannot increase the length of T01 by replacing place holder, instead when you want to display message, copy your T01 text into another string and the use replace &amp;amp;1 in your copied string to your data that you want to replace the place holder and then pass that string to FM to show as a popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586010#M1661229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-09T09:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROGRAM TEXTS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586011#M1661230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a message in SE91 using the place holder.&lt;/P&gt;&lt;P&gt;Now in your code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA lwa_bapireturn TYPE bapiret2.
MESSAGE ID     pfd_msgid     "Message Class
        TYPE   pfd_msgtyp    "Simpley pass as 'I'
        NUMBER pfd_msgno     "Message No
        WITH   pfd_msgv1     "Place holder value T01
               pfd_msgv2     "Place holder value
               pfd_msgv3     "Place holder value
               pfd_msgv4     "Place holder value
        INTO   lwa_bapireturn-message.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use lwa_bapireturn-message in your popup function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 09:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-texts/m-p/8586011#M1661230</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-02-09T09:45:40Z</dc:date>
    </item>
  </channel>
</rss>

