<?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 SMARTFORMS - Passing a database structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306193#M504533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to pass a structure (VBLKP) into my SmartForm.  Right now I have VBLKP as an import in the Form Interface.  This is not working because I get a syntax error telling me that VBLKP-MATNR is not defined.  Do I need to define each element in VBLKP individually in the Form Interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 13:54:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-14T13:54:42Z</dc:date>
    <item>
      <title>SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306193#M504533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to pass a structure (VBLKP) into my SmartForm.  Right now I have VBLKP as an import in the Form Interface.  This is not working because I get a syntax error telling me that VBLKP-MATNR is not defined.  Do I need to define each element in VBLKP individually in the Form Interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 13:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306193#M504533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T13:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306194#M504534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't have to define each elements. Are you sure you didn't mistye anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check any SAP delivered SMARTFORMS to get some hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306194#M504534</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2007-05-14T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306195#M504535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any SAP delivered SmartForms.  We can't figure out how to get them imported into the system.  We don't have Best Practices installed and it looks like that is needed to import the preconfigured SmartForms.  I have checked the spelling many times and can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306195#M504535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306196#M504536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davis,&lt;/P&gt;&lt;P&gt;IF you are obtaining VBLKP from the driver program then declare it in the form interface .&lt;/P&gt;&lt;P&gt;IF not , then declare the structure in the Global Definitions.&lt;/P&gt;&lt;P&gt;No need to declare the fields of the structure separately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:07:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306196#M504536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306197#M504537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have to declare that field..Otherwise u got the errors..I too got the same error..but i solved as i mentioned in the above method..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306197#M504537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306198#M504538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do one of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Define a structure in your SMARTFORM interface of type VBLKP. Populate the values you need in the SMARTFORM calling program and pass the structure to the SMARTFORM via the SMARTFORM interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Populate the structure in the SMARTFORM calling program and pass it to the SAP buffer using SET PARAMETER ID pid FIELD &amp;lt;structure name&amp;gt;. In the SMARTFORM define a structure of type VBLKP in the global data or locally in the code segment (if needed only by one code segment) and use the GET PARAMETER ID pid FIELD &amp;lt;structure name&amp;gt; to get the data from SAP memory to your structure in the SMARTFORM.&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;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306198#M504538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306199#M504539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be something that I am doing in the following statement (this is where the error is)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;perform convert_to_pallets
  using vblkp-matnr
        vblkp-lfimg
        vblkp-vrkme
  changing w_nbrpal
           w_nbrpce
           w_nbrft2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Interface I have the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;VBLKP type VBLKP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306199#M504539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS - Passing a database structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306200#M504540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define the formal parameters as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM convert_to_pallets USING    wp_matnr TYPE vblkp-matnr
                                 wp_lfimg TYPE vblkp-lfimg
                                 wp_vrkme TYPE vblkp-vrkme
                        CHANGING nbrpal LIKE w_nbrpal
                                 nbrpce LIKE w_nbrpce
                                 nbrft2 LIKE w_nbrft2.

ENDFORM.                    "convert_to_pallets&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 14:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-passing-a-database-structure/m-p/2306200#M504540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T14:24:23Z</dc:date>
    </item>
  </channel>
</rss>

