<?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: Create simple program for starter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129072#M987359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, &lt;/P&gt;&lt;P&gt;u can start writing code in se38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fieldA from table 1 into table itab&lt;/P&gt;&lt;P&gt; where &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field b, c from table 2 into table jtab&lt;/P&gt;&lt;P&gt; for all entries in itab&lt;/P&gt;&lt;P&gt;where fieldA = itab-fieldA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop on jtab.&lt;/P&gt;&lt;P&gt; read itab..&lt;/P&gt;&lt;P&gt; append final table.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;  or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;fieldA b&lt;/SUB&gt;fieldB b~fieldC from ( table 1 as a inner join table 2 as b &lt;/P&gt;&lt;P&gt;                                                            on a&lt;SUB&gt;filedA = b&lt;/SUB&gt;fieldB )&lt;/P&gt;&lt;P&gt;          into table itab&lt;/P&gt;&lt;P&gt;           where &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop on itab.&lt;/P&gt;&lt;P&gt; write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; your fields.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is rough program, u can start working like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2008 19:15:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-09T19:15:07Z</dc:date>
    <item>
      <title>Create simple program for starter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129071#M987358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a functional consultant and I want to create a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the deal: I know basic code functions (select, where, if's...), break and debbug But nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My client doesn´t want to install LSMW on the server, and the deal is pretty simple so I guess with your help it will be easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: field A links table 1 and 2. Field B is from table 1. Field C is from table 2 and can be loaded with field B (field C is blank so far).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program needs to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field A in table 2 has an entry in table B, field C (for that line) should take the value of field B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help up on this? I know it's pretty simple... Do I start in SE38?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129071#M987358</guid>
      <dc:creator>Garcia</dc:creator>
      <dc:date>2008-07-09T19:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create simple program for starter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129072#M987359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, &lt;/P&gt;&lt;P&gt;u can start writing code in se38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fieldA from table 1 into table itab&lt;/P&gt;&lt;P&gt; where &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field b, c from table 2 into table jtab&lt;/P&gt;&lt;P&gt; for all entries in itab&lt;/P&gt;&lt;P&gt;where fieldA = itab-fieldA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop on jtab.&lt;/P&gt;&lt;P&gt; read itab..&lt;/P&gt;&lt;P&gt; append final table.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;  or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;fieldA b&lt;/SUB&gt;fieldB b~fieldC from ( table 1 as a inner join table 2 as b &lt;/P&gt;&lt;P&gt;                                                            on a&lt;SUB&gt;filedA = b&lt;/SUB&gt;fieldB )&lt;/P&gt;&lt;P&gt;          into table itab&lt;/P&gt;&lt;P&gt;           where &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop on itab.&lt;/P&gt;&lt;P&gt; write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; your fields.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is rough program, u can start working like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129072#M987359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T19:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create simple program for starter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129073#M987360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;There are lot of demo programs provided by SAP.&lt;/P&gt;&lt;P&gt;You can start with the 'Hello World' program DEMO_HELLO_WORLD in se38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Sushil Joshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129073#M987360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T19:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create simple program for starter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129074#M987361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gonçalo Garcia ,&lt;/P&gt;&lt;P&gt;                                 This can be achieved using select statement with innerjoin as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  single TABLE-1~FIELD-B &lt;/P&gt;&lt;P&gt;into FIELD-C &lt;/P&gt;&lt;P&gt;from TABLE1 as TABLE-1&lt;/P&gt;&lt;P&gt;INNER JOIN TABLE1-FIELD-B = TABLE2-FIELD_ON-TABLEB&lt;/P&gt;&lt;P&gt;where .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above select is an example for your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129074#M987361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-09T19:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create simple program for starter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129075#M987362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2008 14:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-simple-program-for-starter/m-p/4129075#M987362</guid>
      <dc:creator>Garcia</dc:creator>
      <dc:date>2008-07-12T14:54:08Z</dc:date>
    </item>
  </channel>
</rss>

