<?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: User exit while saving or using a variant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749347#M1950189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Custom T-code, enhancement/exit is not possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant will work only for the screen elements which is visible, it won't work like interactive events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For button click process, usually we try BDC option. for this case to have BDC, we need to create one program for that, which is not recommendable for custom program . &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Sriram Ramesh wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If comment needs to be more than single line, then user clicks on pushbutton and another screen opens where we have textbox.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If multiple line is required for comment box, instead of using button clicking process, why don't you try multiple line text box using container option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="35821" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="USE CUSTOM CONTAINER FOR MULTIPLE LINE DISPLAY AND SAVE" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajkumar Narasimman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2016 07:07:26 GMT</pubDate>
    <dc:creator>rajkumarnarasimman</dc:creator>
    <dc:date>2016-05-27T07:07:26Z</dc:date>
    <item>
      <title>User exit while saving or using a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749346#M1950188</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 custom tcode where there is a comment box and a pushbutton near it.&lt;/P&gt;&lt;P&gt;when executed, the comment just appears in the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If comment needs to be more than single line, then user clicks on pushbutton and another screen opens where we have textbox.&lt;/P&gt;&lt;P&gt;Everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when we save a variant, the comments which is given using pushbutton-&amp;gt;screen textbox cannot be stored in the variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any workaround for this kind of issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is it possible to use any userexit while saving and using the variant so I can store the comment in so10 text object and use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 06:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749346#M1950188</guid>
      <dc:creator>sriram_ramesh</dc:creator>
      <dc:date>2016-05-27T06:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: User exit while saving or using a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749347#M1950189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Custom T-code, enhancement/exit is not possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant will work only for the screen elements which is visible, it won't work like interactive events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For button click process, usually we try BDC option. for this case to have BDC, we need to create one program for that, which is not recommendable for custom program . &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Sriram Ramesh wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If comment needs to be more than single line, then user clicks on pushbutton and another screen opens where we have textbox.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If multiple line is required for comment box, instead of using button clicking process, why don't you try multiple line text box using container option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="35821" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="USE CUSTOM CONTAINER FOR MULTIPLE LINE DISPLAY AND SAVE" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajkumar Narasimman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 07:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749347#M1950189</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2016-05-27T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: User exit while saving or using a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749348#M1950190</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 handled this by creating text object -&amp;gt; read_text while clicking variant, save_text while saving variant. wrote code in at selection screen output. there is a system variable which will store variant name. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 07:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749348#M1950190</guid>
      <dc:creator>sriram_ramesh</dc:creator>
      <dc:date>2016-06-09T07:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: User exit while saving or using a variant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749349#M1950191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know. Could you please close the thread?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 10:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-while-saving-or-using-a-variant/m-p/11749349#M1950191</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-06-09T10:25:05Z</dc:date>
    </item>
  </channel>
</rss>

