<?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 creation from ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500511#M17299</link>
    <description>&lt;P&gt;Hi Krishna Murthy,&lt;/P&gt;
  &lt;P&gt;Thanks you for your time.&lt;/P&gt;
  &lt;P&gt;As you mentioned in this parameter ( VARI_CONTENTS LIKE RSPARAMS ) we are passing values for the normal selection fields.&lt;/P&gt;
  &lt;P&gt;where as for dynamic selection fields we don't have field names(fields declared dynamically), so how can we pass this dynamic fields in RS_CREATE_VARIANT function module ?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Santosh.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Sep 2017 05:26:34 GMT</pubDate>
    <dc:creator>former_member520291</dc:creator>
    <dc:date>2017-09-25T05:26:34Z</dc:date>
    <item>
      <title>Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500509#M17297</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;I need to create a variant from the program . i know that we can use FM RS_CREATE_VARIANT to create a variant. but my problem is i am unable to create variant with free selections/Dynamic Selection .&lt;/P&gt;
  &lt;P&gt;Example : If I wan to pass value for dynamic fields in SAP FBL1N transaction from my program how can I do ?&lt;/P&gt;
  &lt;P&gt;I checked FM RS_REFRESH_FROM_SELECTOPTIONS but it is not returning dynamic section fields&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Santosh.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 11:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500509#M17297</guid>
      <dc:creator>former_member520291</dc:creator>
      <dc:date>2017-09-20T11:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500510#M17298</link>
      <description>&lt;P&gt;FM : RS_CREATE_VARIANT&lt;/P&gt;
  &lt;P&gt;in above fm user table parameter : VARI_CONTENTS LIKE RSPARAMS&lt;/P&gt;
  &lt;P&gt;for this pass select-option or parameter using by S / P and values.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 04:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500510#M17298</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-09-25T04:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500511#M17299</link>
      <description>&lt;P&gt;Hi Krishna Murthy,&lt;/P&gt;
  &lt;P&gt;Thanks you for your time.&lt;/P&gt;
  &lt;P&gt;As you mentioned in this parameter ( VARI_CONTENTS LIKE RSPARAMS ) we are passing values for the normal selection fields.&lt;/P&gt;
  &lt;P&gt;where as for dynamic selection fields we don't have field names(fields declared dynamically), so how can we pass this dynamic fields in RS_CREATE_VARIANT function module ?&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Santosh.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 05:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500511#M17299</guid>
      <dc:creator>former_member520291</dc:creator>
      <dc:date>2017-09-25T05:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500512#M17300</link>
      <description>&lt;P&gt;This has been answered in this thread, with an sample code: &lt;A href="https://answers.sap.com/questions/198724/changing-field-values-in-free-selections-multiple.html"&gt;https://answers.sap.com/questions/198724/changing-field-values-in-free-selections-multiple.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;(you have to update the dynamic parameters after the variant has been created, using the function module RS_VARIANT_VALUE_SAVE)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:01:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500512#M17300</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-09-25T08:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500513#M17301</link>
      <description>&lt;P&gt;Hi Rossi,&lt;/P&gt;
  &lt;P&gt;Thanks for your time..&lt;/P&gt;
  &lt;P&gt;I have checked above scn link. but I am not sure which structures we have to fill and in below function module in table parameters it is mentioned that date fields but I have to pass normal fields like "vendor country" (FBL1N report dynamic field). can you provide any sample program.&lt;/P&gt;
  &lt;P&gt;RS_VARIANT_VALUE_SAVE&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 11:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500513#M17301</guid>
      <dc:creator>former_member520291</dc:creator>
      <dc:date>2017-09-25T11:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500514#M17302</link>
      <description>&lt;P&gt;I already answered that there was a sample code in the thread mentioned above, which was for condition SPFLI-CONNID = '0003' AND SPFLI-DEPTIME = sy-uzeit, but of course you need to indicate the technical name of the vendor country field (press F1 on the screen field).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 12:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500514#M17302</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-09-25T12:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Variant creation from ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500515#M17303</link>
      <description>&lt;P&gt;Hi Rossi,&lt;/P&gt;
  &lt;P&gt;Now I am able to pass dynamic selection fields in variant which are already selected as a default. my transaction is FBL1N&lt;/P&gt;
  &lt;P&gt;Once dynamic selection fields values are copied using RS_VARIANT_VALUE_SAVE function module existing selection field values are cleared. &lt;/P&gt;
  &lt;P&gt;Can you tell me how can we change variant without disturbing existing selection fields data. &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Santosh.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variant-creation-from-abap-program/m-p/500515#M17303</guid>
      <dc:creator>former_member520291</dc:creator>
      <dc:date>2017-09-27T06:40:23Z</dc:date>
    </item>
  </channel>
</rss>

