<?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: regarding data declaration in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-declaration-in-smartforms/m-p/4094664#M979121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     To pass the declared ITAB from the print program to the Smartform, you should declare a structure in the Data Dictionary(SE11) and use it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And another way is to use the SUBMIT SUBROUTINE(PrintProgram_Name) TABLES ITAB. this internal table should be declared at global level in the smartform (by declaring the TYPES of having same structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or even you can use the EXPORT and IMPORT to the memory to pass the internal table to the smartform from the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ravi Kumar on Jul 10, 2008 2:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 12:09:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T12:09:33Z</dc:date>
    <item>
      <title>regarding data declaration in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-declaration-in-smartforms/m-p/4094663#M979120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this declaration in my print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF withtab OCCURS  0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE with_item.&lt;/P&gt;&lt;P&gt;DATA:    budat       LIKE bkpf-budat,&lt;/P&gt;&lt;P&gt;         bupla       LIKE bseg-bupla,&lt;/P&gt;&lt;P&gt;         secco       LIKE bseg-secco,                      &lt;/P&gt;&lt;P&gt;         j_1iextchln LIKE j_1iewtchln-j_1iextchln,&lt;/P&gt;&lt;P&gt;         j_1iextchdt LIKE j_1iewtchln-j_1iextchdt,&lt;/P&gt;&lt;P&gt;         bankl       LIKE j_1iewtchln-bankl,&lt;/P&gt;&lt;P&gt;         flag        TYPE c,&lt;/P&gt;&lt;P&gt;         no_print    TYPE c,&lt;/P&gt;&lt;P&gt;         method      TYPE c,             &lt;/P&gt;&lt;P&gt;         print_order LIKE sy-tabix,&lt;/P&gt;&lt;P&gt;        lifnr       LIKE bseg-lifnr,     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        END OF withtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF invtab OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE withtab.&lt;/P&gt;&lt;P&gt;DATA: base_mod TYPE c.&lt;/P&gt;&lt;P&gt;DATA : seq LIKE t059p-wt_tpnr.                             &lt;/P&gt;&lt;P&gt;DATA: END OF invtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF printtab OCCURS 0 .&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE invtab.&lt;/P&gt;&lt;P&gt;DATA :  sno LIKE sy-tabix,                  "Note 891923&lt;/P&gt;&lt;P&gt;        tds_amount LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;        surc_amount LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;        ecess_amount LIKE bseg-wrbtr,&lt;/P&gt;&lt;P&gt;        cheque_no LIKE inrdp-fromnumber,&lt;/P&gt;&lt;P&gt;        banka LIKE bnka-banka,&lt;/P&gt;&lt;P&gt;        ort01 LIKE bnka-ort01,&lt;/P&gt;&lt;P&gt;        brnch LIKE bnka-brnch,&lt;/P&gt;&lt;P&gt;        j_1itdbank LIKE j_1icertif-j_1itdbank,  " Note 912767&lt;/P&gt;&lt;P&gt;        word LIKE spell-word,&lt;/P&gt;&lt;P&gt;        paise LIKE spell-decword,&lt;/P&gt;&lt;P&gt;        t_amtpaid LIKE bseg-wrbtr, " 13/11/07-madhu&lt;/P&gt;&lt;P&gt;       END OF printtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to  get data from the printtab table into smartform how to declare it please help me its urgent requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 12:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-declaration-in-smartforms/m-p/4094663#M979120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: regarding data declaration in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-declaration-in-smartforms/m-p/4094664#M979121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     To pass the declared ITAB from the print program to the Smartform, you should declare a structure in the Data Dictionary(SE11) and use it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And another way is to use the SUBMIT SUBROUTINE(PrintProgram_Name) TABLES ITAB. this internal table should be declared at global level in the smartform (by declaring the TYPES of having same structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or even you can use the EXPORT and IMPORT to the memory to pass the internal table to the smartform from the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ravi Kumar on Jul 10, 2008 2:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 12:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-declaration-in-smartforms/m-p/4094664#M979121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T12:09:33Z</dc:date>
    </item>
  </channel>
</rss>

