<?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: Parameter and Variant Transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421754#M202381</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;&amp;lt;b&amp;gt;Variant Transaction&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;How to use Transaction Variants to make your fields Mandatory, Hidden or Display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such, as making the variant, as default on the standard SAP transaction code is only available on 4.6x. &lt;/P&gt;&lt;P&gt;Steps :- &lt;/P&gt;&lt;P&gt;Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens. &lt;/P&gt;&lt;P&gt;Transaction SE93 - Create a variant transaction (e.g. for VA02 you can name it as ZA02). Next allocate the transaction variant to this variant transaction. &lt;/P&gt;&lt;P&gt;Create and change the Zxxx area menu with the new transaction variant. In this way, the user does have to remember any extra transaction codes. &lt;/P&gt;&lt;P&gt;In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -&amp;gt; Activate/Deactivate as standard variant) &lt;/P&gt;&lt;P&gt;An example for using transaction variant (restricting the field display for CO11N - Goods movement) :- &lt;/P&gt;&lt;P&gt;If you want to restrict changes to the fields in Goods movement for one group of users. &lt;/P&gt;&lt;P&gt;1. Create a transaction variant for CO11N &lt;/P&gt;&lt;P&gt;2. Create a new transaction code for the transaction variant and assign an authorization object to it &lt;/P&gt;&lt;P&gt;3. Divide the users into this two-transaction code. Those who can change the field using CO11N. For those that have limited field change, give them the authorization for ZCO11 (this is a new transaction code you have to create). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Parameter transaction&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Create Parameter transaction for SM30 &lt;/P&gt;&lt;P&gt;Assuming that you want the user to maintain a table or view using SM30 but you do not want them to see the initial screen of SM30. For e.g. V023 - Material Group. &lt;/P&gt;&lt;P&gt;Steps tested in 4.6x :- &lt;/P&gt;&lt;P&gt;SE93 - Type in a transaction name e.g. ZV023 &lt;/P&gt;&lt;P&gt;Click create - choose parameter transaction &lt;/P&gt;&lt;P&gt;In the Create Parameter transaction screen, fill in the following fields :- &lt;/P&gt;&lt;P&gt;Transaction SM30 &lt;/P&gt;&lt;P&gt;Tick Skip initial screen &lt;/P&gt;&lt;P&gt;Tick Inherit GUI attributes &lt;/P&gt;&lt;P&gt;Name of screen field Value &lt;/P&gt;&lt;P&gt;VIEWNAME V023 &lt;/P&gt;&lt;P&gt;UPDATE X &lt;/P&gt;&lt;P&gt;Press F8 or click the Test button for testing. &lt;/P&gt;&lt;P&gt;Save it and with the required authorization, the user will be able to use transaction code ZV023 to maintain the material group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these thread also&lt;/P&gt;&lt;P&gt;Transaction Variant&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1854078"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1414127"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter transaction &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1932548"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2006 06:15:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-19T06:15:00Z</dc:date>
    <item>
      <title>Parameter and Variant Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421751#M202378</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;Please explain what is Parameter and Variant Transaction. Please give an example for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Partha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 06:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421751#M202378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T06:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter and Variant Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421752#M202379</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;check this sap help..&lt;/P&gt;&lt;P&gt;for varaint transactions..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/43/132f9803d76f40e10000000a422035/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for parameter transactions..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/0f955bc2086ff3e10000000a422035/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/43/0f955bc2086ff3e10000000a422035/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 06:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421752#M202379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T06:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter and Variant Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421753#M202380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter Transaction:&lt;/P&gt;&lt;P&gt;If you want to call any transaction and you want to pass the values for the screen fields of the transation. Like you had created one table maintainace and you want to create the transaction for that, then you have to use the this type of transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant Transaction.&lt;/P&gt;&lt;P&gt;IF you want to start any particular transaction with the variant then you have to create this type of transaction.&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;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 06:07:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421753#M202380</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-07-19T06:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter and Variant Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421754#M202381</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;&amp;lt;b&amp;gt;Variant Transaction&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;How to use Transaction Variants to make your fields Mandatory, Hidden or Display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such, as making the variant, as default on the standard SAP transaction code is only available on 4.6x. &lt;/P&gt;&lt;P&gt;Steps :- &lt;/P&gt;&lt;P&gt;Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens. &lt;/P&gt;&lt;P&gt;Transaction SE93 - Create a variant transaction (e.g. for VA02 you can name it as ZA02). Next allocate the transaction variant to this variant transaction. &lt;/P&gt;&lt;P&gt;Create and change the Zxxx area menu with the new transaction variant. In this way, the user does have to remember any extra transaction codes. &lt;/P&gt;&lt;P&gt;In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -&amp;gt; Activate/Deactivate as standard variant) &lt;/P&gt;&lt;P&gt;An example for using transaction variant (restricting the field display for CO11N - Goods movement) :- &lt;/P&gt;&lt;P&gt;If you want to restrict changes to the fields in Goods movement for one group of users. &lt;/P&gt;&lt;P&gt;1. Create a transaction variant for CO11N &lt;/P&gt;&lt;P&gt;2. Create a new transaction code for the transaction variant and assign an authorization object to it &lt;/P&gt;&lt;P&gt;3. Divide the users into this two-transaction code. Those who can change the field using CO11N. For those that have limited field change, give them the authorization for ZCO11 (this is a new transaction code you have to create). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Parameter transaction&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Create Parameter transaction for SM30 &lt;/P&gt;&lt;P&gt;Assuming that you want the user to maintain a table or view using SM30 but you do not want them to see the initial screen of SM30. For e.g. V023 - Material Group. &lt;/P&gt;&lt;P&gt;Steps tested in 4.6x :- &lt;/P&gt;&lt;P&gt;SE93 - Type in a transaction name e.g. ZV023 &lt;/P&gt;&lt;P&gt;Click create - choose parameter transaction &lt;/P&gt;&lt;P&gt;In the Create Parameter transaction screen, fill in the following fields :- &lt;/P&gt;&lt;P&gt;Transaction SM30 &lt;/P&gt;&lt;P&gt;Tick Skip initial screen &lt;/P&gt;&lt;P&gt;Tick Inherit GUI attributes &lt;/P&gt;&lt;P&gt;Name of screen field Value &lt;/P&gt;&lt;P&gt;VIEWNAME V023 &lt;/P&gt;&lt;P&gt;UPDATE X &lt;/P&gt;&lt;P&gt;Press F8 or click the Test button for testing. &lt;/P&gt;&lt;P&gt;Save it and with the required authorization, the user will be able to use transaction code ZV023 to maintain the material group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these thread also&lt;/P&gt;&lt;P&gt;Transaction Variant&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1854078"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1414127"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter transaction &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1932548"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 06:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421754#M202381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T06:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter and Variant Transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421755#M202382</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;&amp;lt;b&amp;gt;PARAMETERS:&amp;lt;/b&amp;gt; You use the PARAMETERS statement to declare variables, similarly to the DATA statement Variables declared with the PARAMETERS statement are called parameters. For each parameter declared, an input field appears on the corresponding selection screen. On the left hand side of the input field, the name of the parameter is displayed as text. You can modify this text as selection text. Values entered into the input field by the user are assigned to the corresponding variable while the system processes the selection screen. The position of the statement in the declaration part of the program determines the selection screen to which the input field belongs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic form of the PARAMETERS statement is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS &amp;lt;p&amp;gt;[(&amp;lt;length&amp;gt;)] [TYPE &amp;lt;type&amp;gt;|LIKE &amp;lt;obj&amp;gt;] [DECIMALS &amp;lt;d&amp;gt;]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;VARIANT TRANSACTION:&amp;lt;/b&amp;gt;  How to use Transaction Variants to make your fields Mandatory, Hidden or Display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can hide unwanted screens and fields in any of the standard SAP programs without changing any of the standard programs. Additional features such, as making the variant, as default on the standard SAP transaction code is only available on 4.6x. &lt;/P&gt;&lt;P&gt;Steps :- &lt;/P&gt;&lt;P&gt;Transaction SHD0 - Create a variant for the required transaction by changing the layout through hiding fields and screens. &lt;/P&gt;&lt;P&gt;Transaction SE93 - Create a variant transaction (e.g. for VA02 you can name it as ZA02). Next allocate the transaction variant to this variant transaction. &lt;/P&gt;&lt;P&gt;Create and change the Zxxx area menu with the new transaction variant. In this way, the user does have to remember any extra transaction codes. &lt;/P&gt;&lt;P&gt;In 4.6c, you can default your transaction variant as the standard variant. (SHD0 - Edit -&amp;gt; Activate/Deactivate as standard variant) &lt;/P&gt;&lt;P&gt;An example for using transaction variant (restricting the field display for CO11N - Goods movement) :- &lt;/P&gt;&lt;P&gt;If you want to restrict changes to the fields in Goods movement for one group of users. &lt;/P&gt;&lt;P&gt;1. Create a transaction variant for CO11N &lt;/P&gt;&lt;P&gt;2. Create a new transaction code for the transaction variant and assign an authorization object to it &lt;/P&gt;&lt;P&gt;3. Divide the users into this two-transaction code. Those who can change the field using CO11N. For those that have limited field change, give them the authorization for ZCO11 (this is a new transaction code you have to create).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 06:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-and-variant-transaction/m-p/1421755#M202382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T06:26:44Z</dc:date>
    </item>
  </channel>
</rss>

