<?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: Can you loop on a deep-structure itab within Smartforms? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863373#M1886878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David, the fields that are looked up in the form normally are not part of the form's interface, so how would you pass data to the form - enhance the interface structure as well? That's exactly where adding code in the form is starting to look more appealing by the second. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 22:09:33 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2015-02-02T22:09:33Z</dc:date>
    <item>
      <title>Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863353#M1886858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that Smartforms lets you pass a table to Smartforms and that you can loop on this itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But suppose the itab has deep-structure - each row has another itab in it.&amp;nbsp; (This is common, for example, in APO.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then within the outer loop on the outer itab, can you loop on the inner itab within each row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind advice here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863353#M1886858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T14:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863354#M1886859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So long as you code the Smartform accordingly then nested tables are not an issue. Yes they can be handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Che&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863354#M1886859</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2015-02-02T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863355#M1886860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for replying so quickly, Che.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here's one thing I don't understand.&amp;nbsp; If you can do nested loops in Smartforms on itabs within itabs, then why is there so much discussion of how to do "control- breaks" in smartforms????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With deep-structure itabs (itabs within rows of itabs), you can set up the control-breaks outside smartforms and there is almost nothing left to do inside smartforms!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 14:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863355#M1886860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T14:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863356#M1886861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh boy, in my experience, there is always &lt;EM&gt;lots&lt;/EM&gt; left to do in side the smartform! I am not sure what you are trying to prove, what does it matter if the control breaks are on the outer or deeper tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Che&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863356#M1886861</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2015-02-02T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863357#M1886862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect one reason might be that many programmers seem to find nested tables (along with hashed tables, data references, inner joins...) rather scary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The smartforms I've created from scratch have one main variable - an object reference. Everything else comes from that, which means that the amount of coding in the smartform (where it is harder to find, harder to debug and version management doesn't work) is kept to a minimum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863357#M1886862</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-02-02T15:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863358#M1886863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Che - Judging from your response, it seems that you don't think you ever need to be concerned about performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you aware that there are many shops which PROHIBIT developers from putting any code inside smartforms except very trivial little bits of formatting business?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you think they enforce this prohibition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863358#M1886863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T15:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863359#M1886864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for that response, Matthew.&amp;nbsp; In my opinion, it is 100% correct - the code that does the "heavy lifting" should stay OUTSIDE smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, I agree - most programmers still handle itabs like they were handled ten or even twenty years ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how many EXPERIENCED developers aren't even aware that SAP no longer officially supports the BINARY SEARCH clause in itab READS?&amp;nbsp; (Because SAP wants you to predefine the table as SORTED either instream or in the dictionary.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as I'm sure you're aware, the only drawback to defining itabs as SORTED or HASHED instream or in the dictionary is if you have to insert rows - then you can't append initial line to the itab, because when you try to fill the row, you get the "can't modify key" error, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for itabs that only need to be read, this problem never occurs ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863359#M1886864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T15:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863360#M1886865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;David Halitsky wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Do you know how many EXPERIENCED developers aren't even aware that SAP no longer officially supports the BINARY SEARCH clause in itab READS?&amp;nbsp; &lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moderate this part of the site so I'm &lt;STRONG&gt;very&lt;/STRONG&gt; much aware of the level of ignorance among many developers - some even using really obsolete stuff, like ON CHANGE..&amp;nbsp; &lt;SPAN __jive_emoticon_name="shocked" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/shocked.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I catch it, I deal with it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863360#M1886865</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-02-02T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863361#M1886866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;I do not appreciate the tone of your response. Saying that I don't think ever think to be concerned about performance is without proof or foundation. If you want to pick a fight I suggest you start your posts "I want to pick a fight".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I clearly answered the very basic question you asked "&lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;can you loop on the inner itab within each row".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Che &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863361#M1886866</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2015-02-02T15:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863362#M1886867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you answered my first question correctly, Che, and I politely thanked you for that answer, AND gave you credit for a CORRECT answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the second part of our interchange, I apologize if I leapt to a concluson.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - why don't you help us out here by putting an upper-limit on what you yourself allow yourself to code inside a Smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you yourself code a control break sequence inside Smartforms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you do select singles out to a database table from inside Smartforms, instead of doing a for all entries up front, and passing the itab to the form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863362#M1886867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T15:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863363#M1886868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;My comment "&lt;SPAN style="color: #333333; font-size: 12px;"&gt;there is always &lt;/SPAN&gt;&lt;EM style="font-size: 12px; color: #333333; background: #ffffff;"&gt;lots&lt;/EM&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt; left to do in side the smartform" pertains to the formatting of output into a form acceptable to the user requirements. NOT filling it with mulltiitudes of code as you seem to have thought.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many instances where code in side of Smart forms is the smart thing to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Che&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863363#M1886868</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2015-02-02T15:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863364#M1886869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I say I am so glad that you are an SCN subject-matter moderator who stays up-to-date with his subject, I really mean that.&amp;nbsp; SInce joining SCN ten years ago (then SDN), I have encountered some moderators who think the way they learned things in 1998 is still the way to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's like my uncle told me - he went to Geneva in Switzerland on the US GI Bill after WWII for his MD degree, and he told me there were professors there who were still using true animal gut for stiching, because they didn't want to switch to "newfangled" synthetics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So good for you - keep fighting tne good fight! And if you ever get weary, just remember the tasks of poor Hercules - particularly the task that involved cleaning the Augean stables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863364#M1886869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T15:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863365#M1886870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Che -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #333333; font-size: 12px;"&gt;There are many instances where code in side of Smart forms is the smart thing to do."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And we would be in complete agreement if you would just change that to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;There are many TRIVIAL&amp;nbsp; instances where TRIVIAL code inside of Smart forms is the smart thing to do."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Of course, we may differ here in our definition of TRIVIAL, and even more importantly, what kind of code is even worth talking about.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;To me (and probably anyone else who has been in the business for a long time), ANY kind of formatting issue is trivial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;That's why it didn't occur to me that you might be talking about formatting when you talked about "lots to do inside smartforms".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Frankly,I don't even think about code for Smartform formatting anymore, because the companies I work for have realized a long time ago that such code should be out-sourced to people who are making a lot less than I am.&amp;nbsp; Just like simple screens for hand-helds, etc.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 16:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863365#M1886870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863366#M1886871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;David - Judging from your response, it seems that you have never developed anything more than the simplest of Smartforms.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 16:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863366#M1886871</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2015-02-02T16:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863367#M1886872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Che -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we should respectfully agree to disagree on whether any code INSIDE a smartform should ever be considered as anything other than trivial code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I say this is because I still remember something a very wise professor told me many years ago:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you tell people they are merely mistaken, they will generally forgive you.&amp;nbsp; BUT, if you tell people they are fundamentally misconceived, they will NEVER forgive you.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you think you can teach the community something here, then by all means, let's continue the discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give us an example of some NON-TRIVIAL formatting code which you yourself have put inside a SMARTFORM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 16:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863367#M1886872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T16:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863368#M1886873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;I respectfully do not have the energy to continue this discussion. Not unless you keep prodding and provoking me as you have been &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suffice to say that I have never seen a problem with code in Smartforms. At the end of the day &lt;/P&gt;&lt;P&gt;inefficient code is &lt;SPAN style="font-size: 13.3333330154419px;"&gt;inefficient code&lt;/SPAN&gt;, whether it be in a smartform, sap script include, report, module pool, function module, class method or any other carrier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no custom smartforms on the system here otherwise I would maybe have dragged up some code for you. Mmwahahahaha!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Che&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 16:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863368#M1886873</guid>
      <dc:creator>che_eky</dc:creator>
      <dc:date>2015-02-02T16:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863369#M1886874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Come on now, Che - I clearly wasn't asking for an actual code sample - just what IBM might call an HLD of the "non-trivial" problem to be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if nothing comes readily to your mind that you can simply explain in a few words, then please be assured I am the last person who would ask you to exert yourself in this regard ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, it's true what you say that inefficient code can be outside smartforms as well as inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But surely - you understand that in general, it's probably easier to obtain efficiency OUTSIDE smartforms anytime the problem is sufficiently non-trivial that the question of efficiency even arises in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't feel like responding, I completely understand ... go in peace, be good to yourself, and may the road rise to meet you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 17:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863369#M1886874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T17:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863370#M1886875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this really &lt;STRONG&gt;The&lt;/STRONG&gt; David Halitsky or did someone hack into your account? &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's easier if you're also writing your own program to call the form. If you're working with standard output (95% of the time for me) and have to customize the form anyway then why the heck would I customize the output program too? If we keep at least standard output program then (1) we get at least some support from SAP; (2) one less thing to worry about during upgrade. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone writes their own program to call the form &lt;SPAN style="text-decoration: underline;"&gt;and&lt;/SPAN&gt; puts SELECT in the form then yeah, it's just stupid. But when you step into the standard territory it's not that black and white, unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 20:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863370#M1886875</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2015-02-02T20:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863371#M1886876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena - yes, it's me.&amp;nbsp; Who else would it be (as my Polish grandfather might say?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the point you're making about the trade-off between bastardizing an SAP standard output program versus stuffing a Smartform with code like a goose for pate de foie gras.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT - from my experience with customizing all kinds of standard output programs, I know that there is a "separation of layers" approach to this problem which will let you add the customization you need, but still stay out of the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the approach - in my experience, it can generally be made to work and work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) find the place where the standard program calls the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) find the last possible moment before that where you can stick an enhancement - this has to be a place AFTER SAP has constructed everything it's going to pass to the form; also, you must choose this enhancement point so you can do your own call to your own form function module, and then exit before the standard SAP call to the form function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) see what else the form needs that the standard SAP output&amp;nbsp; program has not collected at that point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) gather it in the enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5)&amp;nbsp; call your form function module with what SAP has collected and what you have collected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 20:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863371#M1886876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-02T20:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can you loop on a deep-structure itab within Smartforms?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863372#M1886877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Jelena Perfiljeva wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If someone writes their own program to call the form &lt;SPAN style="text-decoration: underline;"&gt;and&lt;/SPAN&gt; puts SELECT in the form then yeah, it's just stupid. But when you step into the standard territory it's not that black and white, unfortunately.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Looking at the smartform I last wrote (four or five years ago), I see that this is exactly how someone has enhanced my smartform...&amp;nbsp; &lt;SPAN __jive_emoticon_name="cry" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/cry.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 20:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-loop-on-a-deep-structure-itab-within-smartforms/m-p/10863372#M1886877</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-02-02T20:37:21Z</dc:date>
    </item>
  </channel>
</rss>

