<?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 How do I construct a single variable value in ABAP 750? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916458#M1963582</link>
    <description>&lt;P&gt;Every now and then I happen to be in need of the construction of a single variable value. The VALUE operator does it only for structures and tables, so I use a workaround with EXACT. See the example:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;r_success = exact abap_bool(
  let data_necessary = get_data_necessary( i_input ) in
  do_booking( data_necessary ) ).&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Now, syntax check says, this is a redundant conversion and I have to use a pragma to hide this. Isn't there a possibility to construct only one single variable similar to VALUE for structures without ugly workarounds?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2019 08:33:49 GMT</pubDate>
    <dc:creator>jrgkraus</dc:creator>
    <dc:date>2019-04-17T08:33:49Z</dc:date>
    <item>
      <title>How do I construct a single variable value in ABAP 750?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916458#M1963582</link>
      <description>&lt;P&gt;Every now and then I happen to be in need of the construction of a single variable value. The VALUE operator does it only for structures and tables, so I use a workaround with EXACT. See the example:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;r_success = exact abap_bool(
  let data_necessary = get_data_necessary( i_input ) in
  do_booking( data_necessary ) ).&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Now, syntax check says, this is a redundant conversion and I have to use a pragma to hide this. Isn't there a possibility to construct only one single variable similar to VALUE for structures without ugly workarounds?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 08:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916458#M1963582</guid>
      <dc:creator>jrgkraus</dc:creator>
      <dc:date>2019-04-17T08:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I construct a single variable value in ABAP 750?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916459#M1963583</link>
      <description>&lt;P&gt;Hello Jörg,&lt;/P&gt;&lt;P&gt;not sure I got your point, but in this context I would use &lt;STRONG&gt;xsdbool&lt;/STRONG&gt;( ).&lt;/P&gt;&lt;P&gt;JNN&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 09:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916459#M1963583</guid>
      <dc:creator>nomssi</dc:creator>
      <dc:date>2019-04-17T09:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I construct a single variable value in ABAP 750?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916460#M1963584</link>
      <description>&lt;P&gt;This does not work. LET is not possible within XSDBOOL( )&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 10:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916460#M1963584</guid>
      <dc:creator>jrgkraus</dc:creator>
      <dc:date>2019-04-17T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I construct a single variable value in ABAP 750?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916461#M1963585</link>
      <description>&lt;P&gt;Hello Jörg,&lt;/P&gt;&lt;P&gt;can the &lt;STRONG&gt;CONV &lt;/STRONG&gt;operater help in this question? &lt;/P&gt;&lt;P&gt;The ABAP Help says:&lt;/P&gt;&lt;UL&gt;
&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;"The conversion operator CONV closes the gap where the value operator VALUE cannot be used to construct values for elementary data objects except for the initial value."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Philipp&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 12:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916461#M1963585</guid>
      <dc:creator>brazel_pilipp</dc:creator>
      <dc:date>2019-04-17T12:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I construct a single variable value in ABAP 750?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916462#M1963586</link>
      <description>&lt;P&gt;You can use CONV instead of EXACT to get rid of the warning.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 12:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916462#M1963586</guid>
      <dc:creator>ChristianGnter</dc:creator>
      <dc:date>2019-04-17T12:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I construct a single variable value in ABAP 750?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916463#M1963587</link>
      <description>&lt;P&gt;This is the solution with conv&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    data(success) = conv abap_bool(
      let data_necessary = get_data_necessary( `input` ) in
      do_booking( data_necessary ) ).
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Apr 2019 05:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-construct-a-single-variable-value-in-abap-750/m-p/11916463#M1963587</guid>
      <dc:creator>jrgkraus</dc:creator>
      <dc:date>2019-04-18T05:16:48Z</dc:date>
    </item>
  </channel>
</rss>

