<?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: Variant at VA02 initial screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895044#M1961845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tanmay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your response. I have searched for an enhancement point and it seems that no one exists.&lt;/P&gt;&lt;P&gt;But with your help I'm now able to fill the "Order" field with a SO number in the parameter of the user account. It's a good thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course if someone knows an enhancement point that permits me to not save the new SO number when the user opens another SO, it could be really great...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 08:46:36 GMT</pubDate>
    <dc:creator>former_member183984</dc:creator>
    <dc:date>2016-09-22T08:46:36Z</dc:date>
    <item>
      <title>Variant at VA02 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895040#M1961841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if there is way to create a variant on the &lt;SPAN style="text-decoration: underline;"&gt;initial screen&lt;/SPAN&gt; of VA02 transaction.&lt;/P&gt;&lt;P&gt;When I open this transaction, I would like the field "Order" to be opened with a Sales order number already filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to go further, if I can link a SAP account with a variant.&lt;/P&gt;&lt;P&gt;For exemple I connect with account named "account1", if I open VA02, the sales order number field we be automatically filled with 1000&lt;/P&gt;&lt;P&gt;If I connect with "account2", and I open VA02, the sales order number field will be filled with 1001 automatically.&lt;/P&gt;&lt;P&gt;Maybe I can use a parameter in the account parameter in SU01 to link an account with a SO number ?&lt;/P&gt;&lt;P&gt;The field must stay modifiable to enter another order number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 13:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895040#M1961841</guid>
      <dc:creator>former_member183984</dc:creator>
      <dc:date>2016-09-21T13:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variant at VA02 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895041#M1961842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of parameter in SU01 to default the value, also the value would be in editable mode and it can be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter Id 'AUN' would have to be used and maintained in User Settings -&amp;gt; Own Data -&amp;gt; Parameters with the default value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However , please note doing this&amp;nbsp; would make this default value appear at all the places where Order field is used and parameter Id 'AUN'. For instance the same order would be defaulted in VA03 as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 15:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895041#M1961842</guid>
      <dc:creator>TanmayVerma</dc:creator>
      <dc:date>2016-09-21T15:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Variant at VA02 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895042#M1961843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tanmay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have created the parameter AUN in SU01 with a sales order number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I open another Sales order, this sales order number is saved and "Order" is filled with this last one. Even when I close the transaction.&lt;/P&gt;&lt;P&gt;The sales order number I have enter in the parameter AUN in SU01 is never put into the field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I'm doing something wrong...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 15:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895042#M1961843</guid>
      <dc:creator>former_member183984</dc:creator>
      <dc:date>2016-09-21T15:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variant at VA02 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895043#M1961844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because as soon as we enter a new sales order number ,this number gets saved in the SAP Roll area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As given in SAP Documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial; font-size: 12.8px; background-color: #f2f4f7;"&gt;The statements &lt;/SPAN&gt;&lt;SPAN class="qtext" style="font-family: 'Courier New'; font-weight: bold; color: #000000; font-size: 12.8px; background-color: #f2f4f7;"&gt;SET PARAMETER&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial; font-size: 12.8px; background-color: #f2f4f7;"&gt; and &lt;/SPAN&gt;&lt;SPAN class="qtext" style="font-family: 'Courier New'; font-weight: bold; color: #000000; font-size: 12.8px; background-color: #f2f4f7;"&gt;GET PARAMETER&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial; font-size: 12.8px; background-color: #f2f4f7;"&gt; do not work directly with the SPA/GPA parameters of the SAP Memory, which means that they are only suitable for passing data within a single main session and not for passing data between two main sessions in parallel &lt;/SPAN&gt;&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you log off from the system and login again , you would be able to see the value saved in SU01. Once it gets updated the new value is read from Roll area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be verified by putting a break point in &lt;STRONG&gt;FORM VBAK-VBELN_GET_PARAMETER (Include FV45KF0V_VBAK-VBELN_GET_PARAME) &lt;/STRONG&gt;which gets called when VA02 starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround you would have to look for an enhancement point to default the value from USR05 table for Parameter AUN everytime VA02 is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 16:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895043#M1961844</guid>
      <dc:creator>TanmayVerma</dc:creator>
      <dc:date>2016-09-21T16:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variant at VA02 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895044#M1961845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tanmay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your response. I have searched for an enhancement point and it seems that no one exists.&lt;/P&gt;&lt;P&gt;But with your help I'm now able to fill the "Order" field with a SO number in the parameter of the user account. It's a good thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course if someone knows an enhancement point that permits me to not save the new SO number when the user opens another SO, it could be really great...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 08:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895044#M1961845</guid>
      <dc:creator>former_member183984</dc:creator>
      <dc:date>2016-09-22T08:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variant at VA02 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895045#M1961846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a BAdI executed at start of transaction, look at method TRANSACTION_INIT of BADI_SD_SALES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hint: There you could read and force the memory id AUN from default parameters values saved in table USR05, or better change value of VBELN in changing parameter VBAK of the method. But I suggest you also perform some check like 'don't do it in batch-input' as many program call VA02/VA03 with memory id to display a SO, and some undesirable behavior could occur.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-at-va02-initial-screen/m-p/11895045#M1961846</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-09-22T09:55:35Z</dc:date>
    </item>
  </channel>
</rss>

