<?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: Mass Variant change program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304533#M1635948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used FM &lt;STRONG&gt;RS_CHANGE_CREATED_VARIANT&lt;/STRONG&gt; to modify variant values.&lt;/P&gt;&lt;P&gt;I found one strange issue:&lt;/P&gt;&lt;P&gt;Support one variant have two fields (field_1 and field_2)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;field_1  S                              (blank)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field_2  S  I  EQ value_low&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now suppose I want to fil onlyl field_1, then the above FM is not updating the value.&lt;/P&gt;&lt;P&gt;However when I tried modifying both field_1 and fied_2 then the values get modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain why is it happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 07:23:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-13T07:23:54Z</dc:date>
    <item>
      <title>Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304528#M1635943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one program for mass changing variant values.&lt;/P&gt;&lt;P&gt;I am using FM RS_VARIANT_CONTENTS for fetching variant details and then FM RS_CHANGE_CREATED_VARIANT for changing variant values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one issue in updating the date field values&lt;/P&gt;&lt;P&gt;If any screen have a date field then from FM  RS_VARIANT_CONTENTS,in table valutab date value is coming in MM/DD/YYYY format.When I pass this to FM  RS_CHANGE_CREATED_VARIANT then date get saved in some incorrect format(like //12//).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i have to change the date format to YYYYMMDD format before updating..but the issue is my program name is  dyanamic  and I do not know which field is of date type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to identify the data type of the field while reading variants?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 04:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304528#M1635943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T04:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304529#M1635944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use function GET_GLOBAL_SYMBOLS. You can restrict the output by program name and selection screen field name. Among other things this function returns the data type of the field in the table FIELDLIST column TYPE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 05:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304529#M1635944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T05:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304530#M1635945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check function RS_VARIANT_VALUES_TECH_DATA instead of RS_VARIANT_CONTENTS&lt;/P&gt;&lt;P&gt;If you are using RS_VARIANT_CONTENTS there is a parameter MOVE_OR_WRITE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation says&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MOVE_OR_WRITE parameter determines in which format the values are output (concerns mainly date fields).&lt;/P&gt;&lt;P&gt;Example: MOVE_OR_WRITE = 'W' =&amp;gt; Date in the form dd.mm.yyyy (depending on profile)&lt;/P&gt;&lt;P&gt;MOVE_OR_WRITE = 'M' =&amp;gt; Date in the form yyyymmdd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default its W so change it to M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 05:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304530#M1635945</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-11-30T05:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304531#M1635946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Before reading the variant values of a program use the function module '&lt;STRONG&gt;RS_REPORTSELECTIONS_INFO&lt;/STRONG&gt;', just pass the report name in REPORT paramater, the function module will return the selection screen fields info in table FIELD_INFO, you can get each field data type in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bala Krishna P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 05:47:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304531#M1635946</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2011-11-30T05:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304532#M1635947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Keshav for your solution &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 06:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304532#M1635947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-30T06:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304533#M1635948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used FM &lt;STRONG&gt;RS_CHANGE_CREATED_VARIANT&lt;/STRONG&gt; to modify variant values.&lt;/P&gt;&lt;P&gt;I found one strange issue:&lt;/P&gt;&lt;P&gt;Support one variant have two fields (field_1 and field_2)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;field_1  S                              (blank)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field_2  S  I  EQ value_low&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now suppose I want to fil onlyl field_1, then the above FM is not updating the value.&lt;/P&gt;&lt;P&gt;However when I tried modifying both field_1 and fied_2 then the values get modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain why is it happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 07:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304533#M1635948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-13T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304534#M1635949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One issue came while modifying the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 07:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304534#M1635949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-13T07:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Variant change program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304535#M1635950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used commit while modifying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 08:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mass-variant-change-program/m-p/8304535#M1635950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-27T08:26:59Z</dc:date>
    </item>
  </channel>
</rss>

