<?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: Basic ABAP code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622813#M2012805</link>
    <description>&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;Yes i know. I just shared sample code to run and check the result. And as per requirement we can create a structure with limited fields and can declare internal table of type structure also we can use inline declaration. But as of know dont know exact requirement thats why i shared this sample code. We can do so many things for optimization when we have exact requirement.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuja Kawadiwale &lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 05:46:52 GMT</pubDate>
    <dc:creator>anujawani242683</dc:creator>
    <dc:date>2022-06-08T05:46:52Z</dc:date>
    <item>
      <title>Basic ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622808#M2012800</link>
      <description>&lt;P&gt;From the installation number(ANLAGE) go to ETRG where ABVORG equals 01 or 03 then get ADATSOLL &lt;/P&gt;
  &lt;P&gt;Please help me in writing the code in SAP ABAP. Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 14:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622808#M2012800</guid>
      <dc:creator>former_member820694</dc:creator>
      <dc:date>2022-06-07T14:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622809#M2012801</link>
      <description>Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with: &lt;A href="https://community.sap.com/resources/questions-and-answers" target="test_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, as the overview provides tips for preparing questions that draw responses from our members. Should you wish, you can revise your question by selecting Actions, then Edit. By adding a picture to your profile you encourage readers to respond: &lt;A href="https://developers.sap.com/tutorials/community-profile.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-profile.html&lt;/A&gt;</description>
      <pubDate>Tue, 07 Jun 2022 14:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622809#M2012801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2022-06-07T14:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622810#M2012802</link>
      <description>&lt;P&gt;You should learn ABAP.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ADATSOLL FROM ETRG where ANLAGE = ... AND ABVORG in ('01','03') into ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or do you have a specific question?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622810#M2012802</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-06-07T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622811#M2012803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please try below code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS:anlage type anlage.&lt;BR /&gt;data:it_etrg type table of etrg,&lt;BR /&gt;      wa_etrg type etrg.&lt;BR /&gt;SELECT&lt;BR /&gt;  adatsoll&lt;BR /&gt;  from&lt;BR /&gt;  etrg&lt;BR /&gt;  into CORRESPONDING FIELDS OF table it_etrg&lt;BR /&gt;  where abrvorgu in ('01','03')&lt;BR /&gt;  and anlage = anlage.&lt;BR /&gt;  loop at it_etrg into wa_etrg.&lt;BR /&gt;    write:/ wa_etrg-adatsoll.&lt;BR /&gt;  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuja Kawadiwale&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622811#M2012803</guid>
      <dc:creator>anujawani242683</dc:creator>
      <dc:date>2022-06-07T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622812#M2012804</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;anujawani2426&lt;/SPAN&gt; when you create an internal table type table of an ABAP dictionary table, you use a big quantity of memory, you have a lot of unused fields available in this internal table. Second point, there is new way of writing SELECT statement with  @ before variables. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS anlage type anlage.&lt;BR /&gt;SELECT adatsoll&lt;BR /&gt;       FROM etrg&lt;BR /&gt;       INTO TABLE  @DATA(it_etrg)&lt;BR /&gt;       WHERE abrvorgu IN ('01','03')   "&amp;lt;-- should be constants with human readable name&lt;BR /&gt;       AND   anlage   EQ  @anlage.&lt;BR /&gt;LOOP AT it_etrg INTO DATA(wa_etrg).&lt;BR /&gt;    WRITE: / wa_etrg-adatsoll.&lt;BR /&gt;ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jun 2022 05:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622812#M2012804</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-06-08T05:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Basic ABAP code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622813#M2012805</link>
      <description>&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;Yes i know. I just shared sample code to run and check the result. And as per requirement we can create a structure with limited fields and can declare internal table of type structure also we can use inline declaration. But as of know dont know exact requirement thats why i shared this sample code. We can do so many things for optimization when we have exact requirement.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anuja Kawadiwale &lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 05:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap-code/m-p/12622813#M2012805</guid>
      <dc:creator>anujawani242683</dc:creator>
      <dc:date>2022-06-08T05:46:52Z</dc:date>
    </item>
  </channel>
</rss>

