<?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: SmartForm Question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219991#M135993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smart forms can definitely take TABLES  as parameters.&lt;/P&gt;&lt;P&gt;Can you some show us how you have declared the paramter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Apr 2006 16:29:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-17T16:29:34Z</dc:date>
    <item>
      <title>SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219990#M135992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;   I have a smartform question, I am bringing fields in from a print program to a smartform. One of the tables I am bringing in is based on a structure "SFC_ITAB" I am trying to loop at at this table. In the loop node I use the name of the table and I am told it is not a table nor is it defined as an internal table. Is it not considered a table when it is brought into the form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defined an internal table in the global definitions as&lt;/P&gt;&lt;P&gt;itab1 type TABLE OF SFC_ITAB this compiles fine. I just cannot seem to get the smartform to recognize the variable as a table in the Form Interface. Any suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 16:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219990#M135992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219991#M135993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smart forms can definitely take TABLES  as parameters.&lt;/P&gt;&lt;P&gt;Can you some show us how you have declared the paramter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 16:29:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219991#M135993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T16:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219992#M135994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could not uderstand ur problem. Try to specify parameter in Form interface -&amp;gt;Tables&lt;/P&gt;&lt;P&gt;if u r using that table to export from function module of smart form.&lt;/P&gt;&lt;P&gt;In program declare that table with header line.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 16:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219992#M135994</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-04-17T16:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219993#M135995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the print program it is defined as &lt;/P&gt;&lt;P&gt;DATA: ITAB_TDR LIKE SFC_ITAB OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;In the smart form in the FORM INTERFACE node on theIMPORT tab it is defined as ITAB_TDR TYPE SFC_ITAB. This all compiles fine it is when I try to loop at this in the loop node I am given a message that "ITAB_TDR" is neither specified under "TABLES" nor defined as an internal table. Any other Info you need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 16:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219993#M135995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T16:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219994#M135996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to declare in the TABLES parameter. By declaring it in the IMPORT parameters you are only declaring a WORK AREA and that will have only one row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why the PRINT program is not giving a error is because of the way its been declared with HEADER line in the program. So, you are passing only the HEADER line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After chaning to TABLES pass the body like this ITAB_HDR[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 16:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219994#M135996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T16:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219995#M135997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for the replies&lt;/P&gt;&lt;P&gt;  I tried to define it in the tables tab as&lt;/P&gt;&lt;P&gt;ITAB_TDR TYPE  SFC_ITAB and was given the message&lt;/P&gt;&lt;P&gt;SFC_ITAB Only table types may be used as the reference type for a table parameter. It does not seem to like the fact the reference is to a structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 16:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219995#M135997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T16:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219996#M135998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SE11, look at the WHERE USED LIST of the structure SFC_ITAB in the TABLE TYPES. IF you are able to find use that to refer in the Form, else you will have create a TABLE TYPE referring to SFC_ITAB in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I am guessing SFC_ITAB is a strcuture in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219996#M135998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219997#M135999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am making some progress here&lt;/P&gt;&lt;P&gt;  In the tables tab I have defined the table as &lt;/P&gt;&lt;P&gt;ITAB_TDR LIKE SFC_ITAB&lt;/P&gt;&lt;P&gt;  In the global def  global data I have defined the work area as&lt;/P&gt;&lt;P&gt;ITAB1 LIKE SFC_ITAB This all compiles well now, I am now getting a dump because of the way the table is being passed from the print program I have tried 2 ways. The first&lt;/P&gt;&lt;P&gt;  CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    itab_tdr[]                 = itab_tdr[]&lt;/P&gt;&lt;P&gt;and the second&lt;/P&gt;&lt;P&gt; CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    itab_tdr[]                   = itab_tdr[]&lt;/P&gt;&lt;P&gt;    caufvd                     = caufvd&lt;/P&gt;&lt;P&gt;    afvgd                      = afvgd&lt;/P&gt;&lt;P&gt;    dafft                      = dafft&lt;/P&gt;&lt;P&gt;    daffv                      = daffv&lt;/P&gt;&lt;P&gt;    l_charg                    = l_charg&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     gs_itab_tdr              = itab_tdr[]&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219997#M135999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219998#M136000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure, but try this&lt;/P&gt;&lt;P&gt;In the print program also refer the ITAB_TDR to SFC_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB_TDR TYPE SFC_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then you can pass ITAB_TDR for the form without [].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please close the thread if this solves the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219998#M136000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219999#M136001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to be a pain but I am in a time crunch on this and I am not that famillar with smartforms, Ok the problem is not the passing of the table it is stil the defining of it. I take it that it should ONLY be defined in the TABLES tab and not in the IMPORT tab correct. As soon as I took out the table definition the dump stopped. Again I had it defined in the tables as ITAB_TDR LIKE SFC_ITAB. Now I looked and since it is a structure there is NO table type for SFC_ITAB. If I try to create one I am told it already exists choose another name. I am quite stumped here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1219999#M136001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220000#M136002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as you are marking the helpful answers, its absolutely no pain at all ... Just kidding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a TABLE TYPE exists for SFC_ITAB, go to SE11, enter SFC_ITAB in the DATA TYPE field and hit on the WHERE USED LIST and SELECT only the TABLE TYPE when the POP UP comes. This will give you the TABLE TYPE which is referring to SFC_ITAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use that in both the SMART Forms as well as the PRINT PRogram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220000#M136002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220001#M136003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  Yes I am assigning points (-;, ok That is what I did initially, I entered SFC_ITAB and chose Table Types in the POP UP, It comes back that there is none. So then I hit create to try and create a Table Type for this structure but am told the name already exists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220001#M136003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220002#M136004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be just a coincedence that a table type exists with  that name that refers to a different structure. did you look at what strcuture it is referring to. '&lt;/P&gt;&lt;P&gt;If it is referring to the same one go ahead and use that in the form and program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220002#M136004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T17:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220003#M136005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help, I have it compiling now and it seems to be passing the table. I won't know for sure until I do some formatting etc. But at least I am not getting any dumps. Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 18:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220003#M136005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T18:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220004#M136006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am happy it executes now.&lt;/P&gt;&lt;P&gt;Once it works fine, don't forget to close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any issues with the LOOPING of the TABLE object as that is where the question started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 18:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220004#M136006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220005#M136007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have 1 additional looping question before I know if it is looping correctly, Here is the code I am trying to duplicate from the print program at this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itab_tdr WHERE object = obj-alt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   Save Indextable of header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    itab_ord = itab_tdr.&lt;/P&gt;&lt;P&gt;    LOOP AT caufvd_tab WHERE aufnr = itab_tdr-aufnr.&lt;/P&gt;&lt;P&gt;      caufvd = caufvd_tab.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Charge ermitteln&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SELECT SINGLE * FROM afpo WHERE aufnr = caufvd-aufnr&lt;/P&gt;&lt;P&gt;                                AND   posnr = 0001.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Materialbezeichnung&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SELECT SINGLE * FROM makt WHERE matnr = caufvd-plnbez&lt;/P&gt;&lt;P&gt;                                AND   spras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is 2 fold where can I add code for  &lt;/P&gt;&lt;P&gt;caufvd = caufvd_tab. And where can I do the selects in the smartform to coincide with the right node?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2006 19:14:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220005#M136007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-17T19:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220006#M136008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't just writing so much of logic inside your SMART Form. Do all the processing the PRINT program, have a structure that accomodates all the fields that you want to print and send data using the table of that structure type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write SELECTS inside the PROGRAM lines object of the SMART Form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 03:41:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220006#M136008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T03:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220007#M136009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To define an internal table you may use the technique as below. Under TYPES tab define a type like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: Begin of T_SFC_ITAB occurs 0,&lt;/P&gt;&lt;P&gt;       fld1 of SFC_ITAB &lt;/P&gt;&lt;P&gt;       fld2 of SFC_ITAB &lt;/P&gt;&lt;P&gt;       etc...&lt;/P&gt;&lt;P&gt;       ......&lt;/P&gt;&lt;P&gt;       End   of T_SFC_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now define an internal table I_SFC_ITAB type T_SFC_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 04:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220007#M136009</guid>
      <dc:creator>bala_arunachalam3</dc:creator>
      <dc:date>2006-04-18T04:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForm Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220008#M136010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help the looping is working fine now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 18:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-question/m-p/1220008#M136010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T18:24:03Z</dc:date>
    </item>
  </channel>
</rss>

