<?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 varient for background processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413786#M819882</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 am using ALV OOPs. In my requirement the program need to run in background using varient that is created by user. My question is, does the program takes varient default or we need to pass any function module in our program to consider varient. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Naseer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2008 11:39:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-11T11:39:34Z</dc:date>
    <item>
      <title>varient for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413786#M819882</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 am using ALV OOPs. In my requirement the program need to run in background using varient that is created by user. My question is, does the program takes varient default or we need to pass any function module in our program to consider varient. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Naseer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 11:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413786#M819882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T11:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: varient for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413787#M819883</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;Just pass value to IS_VARIANT in grid_display fn.module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 11:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413787#M819883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: varient for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413788#M819884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are creating the background job by calling FMs like JOB_OPEN, JOB_SUBMIT, JOB_CLOSE then you can pass the variant name in the inport VARIANT  of FM JOB_SUBMIT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 11:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413788#M819884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T11:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: varient for background processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413789#M819885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ji naseer,&lt;/P&gt;&lt;P&gt;to pass the default variant,  you need to pass this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'REUSE_ALV_VARIANT_DEFAULT_GET'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Structure to display variants for improt and export&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : IT_VARIANT LIKE DISVARIANT,&lt;/P&gt;&lt;P&gt;       IT_VARIANT1 LIKE DISVARIANT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Constants: C_SAVE TYPE C VALUE 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VARIANT1-REPORT = SY-REPID.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Search default variant for the report&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_SAVE        = C_SAVE          "all user/default&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      CS_VARIANT    = IT_VARIANT1&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      WRONG_INPUT   = 1&lt;/P&gt;&lt;P&gt;      NOT_FOUND     = 2&lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR = 3&lt;/P&gt;&lt;P&gt;      OTHERS        = 4.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.       "if succesful set as default.&lt;/P&gt;&lt;P&gt;    P_VAR = IT_VARIANT1-VARIANT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;P&gt;Rohan Malik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 11:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/varient-for-background-processing/m-p/3413789#M819885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T11:49:51Z</dc:date>
    </item>
  </channel>
</rss>

