<?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: Abap command meaning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544072#M2006360</link>
    <description>&lt;P&gt;I use this, for example, when you have a Class with several Interfaces. The instance is created using Interface_1, but at a moment you need to manage the instance through interface_2.  You use this =?  &lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 14:41:43 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2022-01-20T14:41:43Z</dc:date>
    <item>
      <title>Abap command meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544069#M2006357</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;
  &lt;P&gt;I'm working with the following code:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;DATA:&lt;BR /&gt;    lo_cmrfw TYPE REF TO /bobf/cm_frw,&lt;BR /&gt;    lo_message TYPE REF TO /bobf/cl_frw_message,&lt;BR /&gt;    lo_applog TYPE REF TO /scmtms/cm_applog_msg,&lt;BR /&gt;    lo_tmrequest TYPE REF TO /scmtms/cl_tm_request.&lt;BR /&gt;&lt;BR /&gt;  DATA:&lt;BR /&gt;    lt_message TYPE /bobf/t_frw_message_k.&lt;BR /&gt;&lt;BR /&gt;  DATA:&lt;BR /&gt;    lv_incomp TYPE boolean VALUE abap_true.&lt;BR /&gt;&lt;BR /&gt;  lo_tmrequest ?= lo_request.&lt;BR /&gt;  lo_message ?= lo_tmrequest-&amp;gt;mo_message.&lt;BR /&gt;  lo_message-&amp;gt;/bobf/if_frw_message~get_messages( IMPORTING&lt;BR /&gt;                                                   et_message = lt_message ).&lt;BR /&gt;&lt;BR /&gt;  TRY.&lt;BR /&gt;      DATA(ls_message) = lt_message[ severity = 'W' ].&lt;BR /&gt;      lo_cmrfw ?= ls_message-message.&lt;BR /&gt;      DATA(lv_msgid) = lo_cmrfw-&amp;gt;if_t100_message~t100key-msgid.&lt;BR /&gt;      DATA(lv_msgno) = lo_cmrfw-&amp;gt;if_t100_message~t100key-msgno.&lt;BR /&gt;&lt;BR /&gt;      IF '/SCMTMS/INCOMP' NS lv_msgid.&lt;BR /&gt;        SET PARAMETER ID 'MESSA' FIELD lv_incomp.          " Export del indicador de imcompatibilidad.&lt;BR /&gt;      ENDIF.&lt;BR /&gt;&lt;BR /&gt;    CATCH cx_sy_itab_line_not_found.&lt;BR /&gt;  ENDTRY.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;What is the meaning of '?=' in the code: lo_tmrequest ?= lo_request.&lt;/P&gt;
  &lt;P&gt;Do you have a sap help link that talks about this? I looked for it but didn't know how to look for it.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:16:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544069#M2006357</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2022-01-20T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Abap command meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544070#M2006358</link>
      <description>&lt;P&gt;It is known as the Casting in ABAP Object : &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapmove_cast.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapmove_cast.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544070#M2006358</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-01-20T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Abap command meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544071#M2006359</link>
      <description>&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;Try putting your cursor on the '?=' and pressing F1 for documenation.&lt;BR /&gt;?= is the &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapmove_cast.htm" target="_blank"&gt;down casting operator&lt;/A&gt; in ABAP.&lt;BR /&gt;&lt;BR /&gt;In your example, the reference in lo_request is being down cast to a reference to one of its subclasses, class '/scmtms/cl_tm_request', contained in variable lo_tmrequest.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544071#M2006359</guid>
      <dc:creator>LaurensDeprost</dc:creator>
      <dc:date>2022-01-20T14:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Abap command meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544072#M2006360</link>
      <description>&lt;P&gt;I use this, for example, when you have a Class with several Interfaces. The instance is created using Interface_1, but at a moment you need to manage the instance through interface_2.  You use this =?  &lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544072#M2006360</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-01-20T14:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Abap command meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544073#M2006361</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;ronaldo.aparecido&lt;/SPAN&gt;&lt;/P&gt;this is casting operator, in practice often You will see in downcast, also can be used for upCast. See docu:https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abapmove_cast.htm&lt;BR /&gt;Best regards,</description>
      <pubDate>Thu, 20 Jan 2022 14:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544073#M2006361</guid>
      <dc:creator>Matija_Liber</dc:creator>
      <dc:date>2022-01-20T14:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Abap command meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544074#M2006362</link>
      <description>&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;1. ?= is the casting operator which is used in both Widening cast as well as Narrowing cast. It's used for assignments between reference variables, whose assignability is checked as early as the runtime starts.&lt;/P&gt;&lt;P&gt;2. Widening cast can be used when we need to access the Specific functionality of the subclass from the Superclass.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aditya Mane&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 10:49:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-command-meaning/m-p/12544074#M2006362</guid>
      <dc:creator>former_member4082</dc:creator>
      <dc:date>2022-01-21T10:49:00Z</dc:date>
    </item>
  </channel>
</rss>

