<?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 Dynamic Standard text - Appending text with variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959159#M1156162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;We have a dynamic standard text. The text is being created based on sales order (I don't know how this has been created). Now I want to add text inside the standard text. That text will also contain variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: "This is a valid sales order 100010000". This is a standard text where the sales order value is fed dynamically, I don't know how? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the objective is to add another field "abcd" in the standard text with some other fixed texts. Eg. "I want to add my name sy-uname". So the entire text should be as:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This is a valid sales order &lt;STRONG&gt;100010000&lt;/STRONG&gt;. I want to add my name &lt;STRONG&gt;sy-uname&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  I am not sure how to identify the original standard text. I would like to add second line there.&lt;/P&gt;&lt;P&gt;2.  I would like to pass variable value dynamically in the standard text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help me out in solving the issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Atanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Dec 2008 10:44:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-24T10:44:22Z</dc:date>
    <item>
      <title>Dynamic Standard text - Appending text with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959159#M1156162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;We have a dynamic standard text. The text is being created based on sales order (I don't know how this has been created). Now I want to add text inside the standard text. That text will also contain variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: "This is a valid sales order 100010000". This is a standard text where the sales order value is fed dynamically, I don't know how? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the objective is to add another field "abcd" in the standard text with some other fixed texts. Eg. "I want to add my name sy-uname". So the entire text should be as:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"This is a valid sales order &lt;STRONG&gt;100010000&lt;/STRONG&gt;. I want to add my name &lt;STRONG&gt;sy-uname&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  I am not sure how to identify the original standard text. I would like to add second line there.&lt;/P&gt;&lt;P&gt;2.  I would like to pass variable value dynamically in the standard text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help me out in solving the issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Atanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 10:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959159#M1156162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-24T10:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Standard text - Appending text with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959160#M1156163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;if you want to show message like &lt;/P&gt;&lt;P&gt;"This is valid sales order 000815556.my name is sy-uname".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should write ir  as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message  I001(zmsgclass) with sales sy-uname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here zmsgclass is a  a message class..&lt;/P&gt;&lt;P&gt;here you need to write message as&lt;/P&gt;&lt;P&gt;001 " This is valid sales order &amp;amp;.my name is &amp;amp;."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 10:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959160#M1156163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-24T10:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Standard text - Appending text with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959161#M1156164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Is it in Report or a Sapscript, if Sapscript, Goto SE71 open the form RVORDER01 in display mode and Identify the widow which the standard text is displaying, and identify the Standard text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SO10 Tcode and give that Standard text and open, do the required modification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 10:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959161#M1156164</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-12-24T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Standard text - Appending text with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959162#M1156165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Atanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the std. text is being created through an Exit or BAdI which gets triggered when a sales order is created. In the code you have passed the for Sales Order Number, you have to add sy-uname to this code &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sound simple, isnt it ... Major challenge is to find the Exit or BAdI &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 11:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959162#M1156165</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-12-24T11:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Standard text - Appending text with variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959163#M1156166</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;Could you please be clear with your question so that some one can provide you with best solution quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that when your sales order is being created at the same time ,your dynamic standard text is generated .So now you want to amend this standard text just after the sales order is saved.If so then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just go to the sales order text tab in change mode and click on the text eidtor window ,it will take to you sapscript editor ,Then from menu Goto-Header .From here you get the details of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text Name       &lt;/P&gt;&lt;P&gt;Language        &lt;/P&gt;&lt;P&gt;Text ID         &lt;/P&gt;&lt;P&gt;Text Object   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Find the userexit after save and their use a read_text function module and read the standard text which is alreday created and take down in it_lines table and modify the text by appending your sy-uname line as second line or you can concetante on the same line. Now then use the save_text function module and save the standard text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the exit MV45AFZZ In that routine FORM userexit_save_document..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you to resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Joginder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2008 11:06:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-standard-text-appending-text-with-variable/m-p/4959163#M1156166</guid>
      <dc:creator>joginder_singh</dc:creator>
      <dc:date>2008-12-24T11:06:39Z</dc:date>
    </item>
  </channel>
</rss>

