<?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: variants in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529658#M573483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for example i have a variable in my query with ready to input option...so when ever i run the query it will be asking me to give inputs so instead of that i can fill a value and save it as a variant. so no need of giving the value for variable when the query runs next time.&lt;/P&gt;&lt;P&gt;Use SE75 to create your own custom text ID for SAVE_TEXT object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding a user exit when you only have the function module name: Use table MODSAP with member=function module. This will give you the enhancement name that you can enter in SMOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To execute on OS command in SAP: Use program RSBDCOS0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction Variants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.&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 as of 4.6x.&lt;/P&gt;&lt;P&gt;&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 = ZVA02).&lt;/P&gt;&lt;P&gt;Next allocate the transaction variant to this variant transaction.&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;tables: tbtco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: jobcnt(1) type n,&lt;/P&gt;&lt;P&gt;t_sdluname like tbtco-sdluname,&lt;/P&gt;&lt;P&gt;t_strtdate like tbtco-strtdate,&lt;/P&gt;&lt;P&gt;t_strttime like tbtco-strttime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ZXXX is the job name to check for&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from tbtco where jobname = 'ZXXX'&lt;/P&gt;&lt;P&gt;and strtdate = sy-datum&lt;/P&gt;&lt;P&gt;and status = 'R'.&lt;/P&gt;&lt;P&gt;add 1 to jobcnt = jobcnt.&lt;/P&gt;&lt;P&gt;if jobcnt = 1.&lt;/P&gt;&lt;P&gt;t_sdluname = tbtco-sdluname.&lt;/P&gt;&lt;P&gt;t_strtdate = tbtco-strtdate.&lt;/P&gt;&lt;P&gt;t_strttime = tbtco-strttime.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;if jobcnt &amp;gt;= 1.&lt;/P&gt;&lt;P&gt;message i999(b1) with t_sdluname ' has released job on '&lt;/P&gt;&lt;P&gt;t_strtdate t_strttime.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.&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 as of 4.6x.&lt;/P&gt;&lt;P&gt;&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 = ZVA02).&lt;/P&gt;&lt;P&gt;Next allocate the transaction variant to this variant transaction.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Transaction variants&lt;/P&gt;&lt;P&gt;Change SAP standard screens by hiding fields, screens, tabstrips, changing field properties, ... read on&lt;/P&gt;&lt;P&gt;Show all users per Application server&lt;/P&gt;&lt;P&gt;Transaction AL08&lt;/P&gt;&lt;P&gt;To log a user off via an ABAP&lt;/P&gt;&lt;P&gt;CALL 'SYST_LOGOFF'.&lt;/P&gt;&lt;P&gt;Advanced SM04 program&lt;/P&gt;&lt;P&gt;The following program displays the Ip address , workstation name , Nt user name etc. Plus you can send instant messages to users just by clicking on the user name. It will show a red band for users who exceeds session limit. ( That you can adjust ). Created this for R/3 4.6C and above. (Submitted by Joy Ramachandran) - Click here to download zuser.txt&lt;/P&gt;&lt;P&gt;Changing the SAP Logo on the top right of the SAPGui&lt;/P&gt;&lt;P&gt;Change file sapalogo.bmp in directory C:\Program Files\SAP\FrontEnd\SAPgui\themes\default (SAP 4.6C)&lt;/P&gt;&lt;P&gt;Changing the Logo on the Right Hand Side ( Courtesy of: &lt;A href="http://sapr3.tripod.com/" target="test_blank"&gt;http://sapr3.tripod.com/&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;Transaction code - SMW0&lt;/P&gt;&lt;P&gt;X - Binary data for WebRFC application&lt;/P&gt;&lt;P&gt;Hit Enter&lt;/P&gt;&lt;P&gt;Click Execute&lt;/P&gt;&lt;P&gt;Click Settings -&amp;gt; Maintain MIME types&lt;/P&gt;&lt;P&gt;Click the Create button&lt;/P&gt;&lt;P&gt;Fill in :- TYPE : image/gif EXTENSION : .GIF&lt;/P&gt;&lt;P&gt;Click Save&lt;/P&gt;&lt;P&gt;Click Back to the Binary data for WebRFC&lt;/P&gt;&lt;P&gt;Click Create&lt;/P&gt;&lt;P&gt;Fill in :- Obj. name : ZXXXX.GIF Description : Company Logo&lt;/P&gt;&lt;P&gt;Click Import and specify the filename where your GIF file is located.File type is BIN. Finish press the Transfer button.&lt;/P&gt;&lt;P&gt;If successful, your logo will be shown in the Binary data for WebRFC.&lt;/P&gt;&lt;P&gt;Transaction codeSM30 - Table/View - SSM_CUST&lt;/P&gt;&lt;P&gt;Click Maintain&lt;/P&gt;&lt;P&gt;Click New Entries&lt;/P&gt;&lt;P&gt;Name Value to be set&lt;/P&gt;&lt;P&gt;START_IMAGE ZXXXX.GIF&lt;/P&gt;&lt;P&gt;RESIZE_IMAGE NO&lt;/P&gt;&lt;P&gt;Logoff and Login again&lt;/P&gt;&lt;P&gt;Automated transports&lt;/P&gt;&lt;P&gt;...so no need of giving the value for variable when the query runs next time,&lt;/P&gt;&lt;P&gt;BUT YOU HAVE TO CHOOSE THE VARIANT SAVED BEFORE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, if your intention is doing nothing, you have to look at personalization function:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/01/42c73c13b0ce5be10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/01/42c73c13b0ce5be10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jul 2007 02:30:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-08T02:30:55Z</dc:date>
    <item>
      <title>variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529657#M573482</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;&lt;/P&gt;&lt;P&gt;wt is variant how it will use in ALV, give me a simple program(ALV) using&lt;/P&gt;&lt;P&gt;VARIANT to understand function of variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 02:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529657#M573482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T02:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529658#M573483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for example i have a variable in my query with ready to input option...so when ever i run the query it will be asking me to give inputs so instead of that i can fill a value and save it as a variant. so no need of giving the value for variable when the query runs next time.&lt;/P&gt;&lt;P&gt;Use SE75 to create your own custom text ID for SAVE_TEXT object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding a user exit when you only have the function module name: Use table MODSAP with member=function module. This will give you the enhancement name that you can enter in SMOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To execute on OS command in SAP: Use program RSBDCOS0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction Variants&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.&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 as of 4.6x.&lt;/P&gt;&lt;P&gt;&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 = ZVA02).&lt;/P&gt;&lt;P&gt;Next allocate the transaction variant to this variant transaction.&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;tables: tbtco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: jobcnt(1) type n,&lt;/P&gt;&lt;P&gt;t_sdluname like tbtco-sdluname,&lt;/P&gt;&lt;P&gt;t_strtdate like tbtco-strtdate,&lt;/P&gt;&lt;P&gt;t_strttime like tbtco-strttime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ZXXX is the job name to check for&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from tbtco where jobname = 'ZXXX'&lt;/P&gt;&lt;P&gt;and strtdate = sy-datum&lt;/P&gt;&lt;P&gt;and status = 'R'.&lt;/P&gt;&lt;P&gt;add 1 to jobcnt = jobcnt.&lt;/P&gt;&lt;P&gt;if jobcnt = 1.&lt;/P&gt;&lt;P&gt;t_sdluname = tbtco-sdluname.&lt;/P&gt;&lt;P&gt;t_strtdate = tbtco-strtdate.&lt;/P&gt;&lt;P&gt;t_strttime = tbtco-strttime.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;if jobcnt &amp;gt;= 1.&lt;/P&gt;&lt;P&gt;message i999(b1) with t_sdluname ' has released job on '&lt;/P&gt;&lt;P&gt;t_strtdate t_strttime.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Transaction Variants to make fields Mandatory, Hidden or Display. Also applicable to screens and tabstrips.&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 as of 4.6x.&lt;/P&gt;&lt;P&gt;&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 = ZVA02).&lt;/P&gt;&lt;P&gt;Next allocate the transaction variant to this variant transaction.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Transaction variants&lt;/P&gt;&lt;P&gt;Change SAP standard screens by hiding fields, screens, tabstrips, changing field properties, ... read on&lt;/P&gt;&lt;P&gt;Show all users per Application server&lt;/P&gt;&lt;P&gt;Transaction AL08&lt;/P&gt;&lt;P&gt;To log a user off via an ABAP&lt;/P&gt;&lt;P&gt;CALL 'SYST_LOGOFF'.&lt;/P&gt;&lt;P&gt;Advanced SM04 program&lt;/P&gt;&lt;P&gt;The following program displays the Ip address , workstation name , Nt user name etc. Plus you can send instant messages to users just by clicking on the user name. It will show a red band for users who exceeds session limit. ( That you can adjust ). Created this for R/3 4.6C and above. (Submitted by Joy Ramachandran) - Click here to download zuser.txt&lt;/P&gt;&lt;P&gt;Changing the SAP Logo on the top right of the SAPGui&lt;/P&gt;&lt;P&gt;Change file sapalogo.bmp in directory C:\Program Files\SAP\FrontEnd\SAPgui\themes\default (SAP 4.6C)&lt;/P&gt;&lt;P&gt;Changing the Logo on the Right Hand Side ( Courtesy of: &lt;A href="http://sapr3.tripod.com/" target="test_blank"&gt;http://sapr3.tripod.com/&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;Transaction code - SMW0&lt;/P&gt;&lt;P&gt;X - Binary data for WebRFC application&lt;/P&gt;&lt;P&gt;Hit Enter&lt;/P&gt;&lt;P&gt;Click Execute&lt;/P&gt;&lt;P&gt;Click Settings -&amp;gt; Maintain MIME types&lt;/P&gt;&lt;P&gt;Click the Create button&lt;/P&gt;&lt;P&gt;Fill in :- TYPE : image/gif EXTENSION : .GIF&lt;/P&gt;&lt;P&gt;Click Save&lt;/P&gt;&lt;P&gt;Click Back to the Binary data for WebRFC&lt;/P&gt;&lt;P&gt;Click Create&lt;/P&gt;&lt;P&gt;Fill in :- Obj. name : ZXXXX.GIF Description : Company Logo&lt;/P&gt;&lt;P&gt;Click Import and specify the filename where your GIF file is located.File type is BIN. Finish press the Transfer button.&lt;/P&gt;&lt;P&gt;If successful, your logo will be shown in the Binary data for WebRFC.&lt;/P&gt;&lt;P&gt;Transaction codeSM30 - Table/View - SSM_CUST&lt;/P&gt;&lt;P&gt;Click Maintain&lt;/P&gt;&lt;P&gt;Click New Entries&lt;/P&gt;&lt;P&gt;Name Value to be set&lt;/P&gt;&lt;P&gt;START_IMAGE ZXXXX.GIF&lt;/P&gt;&lt;P&gt;RESIZE_IMAGE NO&lt;/P&gt;&lt;P&gt;Logoff and Login again&lt;/P&gt;&lt;P&gt;Automated transports&lt;/P&gt;&lt;P&gt;...so no need of giving the value for variable when the query runs next time,&lt;/P&gt;&lt;P&gt;BUT YOU HAVE TO CHOOSE THE VARIANT SAVED BEFORE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, if your intention is doing nothing, you have to look at personalization function:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/01/42c73c13b0ce5be10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/01/42c73c13b0ce5be10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 02:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529658#M573483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T02:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529659#M573484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant is nothing but the data on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In actual business there may be chance that we require some report to be run daily based on the ceratin selection criteria. So to avoid daily entering the same value on the selection screen, we store these values as variant so that next time when we want to run that report we can call this variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To just understood the concept, goto any report's selection screen and enter values AND press SSAVE button. It will create a variant for you.&lt;/P&gt;&lt;P&gt;Hope it is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 02:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variants/m-p/2529659#M573484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T02:33:30Z</dc:date>
    </item>
  </channel>
</rss>

