<?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: Problem with structure and sql in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622295#M1280558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answers.&lt;/P&gt;&lt;P&gt; Ajay kumar, in my code I have a first sql that put tha data in t_pedidos. This sql use VBAP for get the data. &lt;/P&gt;&lt;P&gt; Hello  Ritesh Jha, sorry, but in the code, i put the L in lower case and is similar to i, but i have VBELN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2009 09:10:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-06T09:10:45Z</dc:date>
    <item>
      <title>Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622282#M1280545</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 only speak a little englis so I wait that you can understand me.&lt;/P&gt;&lt;P&gt;I have two structures. When I use the first structure in a sql I have an error: Unknown column name PEDIDO. field list. field list. field list. field list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF t_pedidos OCCURS 0,&lt;/P&gt;&lt;P&gt;    pedido TYPE VBAP-VBElN,&lt;/P&gt;&lt;P&gt;    posnr TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;    matnr TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;    pstyv TYPE VBAP-PSTYV,&lt;/P&gt;&lt;P&gt;    kwmeng TYPE VBAP-KWMENG,&lt;/P&gt;&lt;P&gt;    vrkme TYPE VBAP-VRKME,&lt;/P&gt;&lt;P&gt;    werks TYPE VBAP-WERKS,&lt;/P&gt;&lt;P&gt;    factura TYPE VBRP-VBELN,&lt;/P&gt;&lt;P&gt;    posicion TYPE VBRP-POSNR,&lt;/P&gt;&lt;P&gt;  END OF t_pedidos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF t_entregas OCCURS 0,&lt;/P&gt;&lt;P&gt;    pedido TYPE VBAP-VBElN,&lt;/P&gt;&lt;P&gt;    posnr TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;    entrega LIKE LIPS-VBELN,&lt;/P&gt;&lt;P&gt;    lfimg LIKE LIPS-LFIMG,&lt;/P&gt;&lt;P&gt;    meins LIKE LIPS-MEINS,&lt;/P&gt;&lt;P&gt;  END OF t_entregas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT&lt;/P&gt;&lt;P&gt;    pedido&lt;/P&gt;&lt;P&gt;    posnr&lt;/P&gt;&lt;P&gt;    LIPS~VBELN AS entrega&lt;/P&gt;&lt;P&gt;    LIPS~LFIMG &lt;/P&gt;&lt;P&gt;    LIPS~MEINS AS meinsEntrega&lt;/P&gt;&lt;P&gt; FROM&lt;/P&gt;&lt;P&gt;    LIPS&lt;/P&gt;&lt;P&gt; INTO TABLE t_entregas&lt;/P&gt;&lt;P&gt; FOR ALL ENTRIES IN&lt;/P&gt;&lt;P&gt;  t_pedidos&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;  LIPS~VGBEL = t_pedidos-pedido AND&lt;/P&gt;&lt;P&gt;  LIPS~VGPOS = t_pedidos-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see what's the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622282#M1280545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T07:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622283#M1280546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT
VBELN "you need to use like this...use the refefecnec filed  of table not the internal table
posnr
LIPS~VBELN AS entrega
LIPS~LFIMG 
LIPS~MEINS AS meinsEntrega
FROM
LIPS
INTO TABLE t_entregas
FOR ALL ENTRIES IN
t_pedidos
WHERE
LIPS~VGBEL = t_pedidos-pedido AND
LIPS~VGPOS = t_pedidos-posnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prasanth Maddela on May 6, 2009 1:10 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prasanth Maddela on May 6, 2009 1:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:38:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622283#M1280546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T07:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622284#M1280547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;vgbel as pedido&lt;/P&gt;&lt;P&gt;posnr&lt;/P&gt;&lt;P&gt;VBELN AS entrega&lt;/P&gt;&lt;P&gt;LFIMG &lt;/P&gt;&lt;P&gt;MEINS&lt;/P&gt;&lt;P&gt;FROM LIPS&lt;/P&gt;&lt;P&gt;INTO TABLE t_entregas&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN t_pedidos&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;VGBEL = t_pedidos-pedido AND&lt;/P&gt;&lt;P&gt;VGPOS = t_pedidos-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: I039643 on May 6, 2009 1:09 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: I039643 on May 6, 2009 1:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622284#M1280547</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-06T07:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622285#M1280548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As there's no field with PEDIDO in the table LIPS , so is the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622285#M1280548</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-05-06T07:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622286#M1280549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer Prasanth Maddela.&lt;/P&gt;&lt;P&gt;The fields pedido and posnr belong to t_pedidos table and I need use this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622286#M1280549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T07:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622287#M1280550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try your code I039643 but I receibe the same error.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622287#M1280550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T07:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622288#M1280551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahesh Reddy, I want use fields of my internal table t_pedidos. Pedido and posnr belong to this table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622288#M1280551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T07:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622289#M1280552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try again with this:&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;vgbel as pedido&lt;/P&gt;&lt;P&gt;posnr&lt;/P&gt;&lt;P&gt;VBELN AS entrega&lt;/P&gt;&lt;P&gt;LFIMG &lt;/P&gt;&lt;P&gt;MEINS&lt;/P&gt;&lt;P&gt;FROM LIPS&lt;/P&gt;&lt;P&gt;INTO TABLE t_entregas&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN t_pedidos&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;VGBEL = t_pedidos-pedido AND&lt;/P&gt;&lt;P&gt;VGPOS = t_pedidos-posnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622289#M1280552</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-06T07:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622290#M1280553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While fetching data from the Data base level you need to use the referecnce fileds of the data base table not the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after fetching you t_pedidos-pedidos  fills automatically as it is the referece field of VGBEL in the LIPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope these info helps you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 07:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622290#M1280553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T07:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622291#M1280554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand it, but, if I want to use a field of t_pedidos that is owner of t_pedidos and itsn't in the tables of data base how LIPS, ¿how can I use it?.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622291#M1280554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622292#M1280555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;pedido&lt;/P&gt;&lt;P&gt;posnr&lt;/P&gt;&lt;P&gt;LIPS~VBELN AS entrega&lt;/P&gt;&lt;P&gt;LIPS~LFIMG &lt;/P&gt;&lt;P&gt;LIPS~MEINS AS meinsEntrega&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;LIPS&lt;/P&gt;&lt;P&gt;INTO TABLE t_entregas&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN&lt;/P&gt;&lt;P&gt;t_pedidos&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;LIPS~VGBEL = t_pedidos-pedido AND&lt;/P&gt;&lt;P&gt;LIPS~VGPOS = t_pedidos-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above query PEDIDO should be given with table reference    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:    VBAP~PEDIDO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622292#M1280555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622293#M1280556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;similar thing for POSNR also   Ex:   VBAP~POSNR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622293#M1280556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622294#M1280557</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;&amp;gt;   DATA: BEGIN OF t_pedidos OCCURS 0,&lt;/P&gt;&lt;P&gt;&amp;gt;     pedido TYPE VBAP-VBElN,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;   DATA: BEGIN OF t_entregas OCCURS 0,&lt;/P&gt;&lt;P&gt;&amp;gt;     pedido TYPE VBAP-VBElN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF t_pedidos OCCURS 0,&lt;/P&gt;&lt;P&gt;     pedido TYPE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: BEGIN OF t_entregas OCCURS 0,&lt;/P&gt;&lt;P&gt;    pedido TYPE VBAP-VBELN,&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;Ritesh Jha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 08:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622294#M1280557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T08:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622295#M1280558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answers.&lt;/P&gt;&lt;P&gt; Ajay kumar, in my code I have a first sql that put tha data in t_pedidos. This sql use VBAP for get the data. &lt;/P&gt;&lt;P&gt; Hello  Ritesh Jha, sorry, but in the code, i put the L in lower case and is similar to i, but i have VBELN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622295#M1280558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622296#M1280559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible for u to change the PEDIDOS field to  VBELN in your table t_entregas definition.&lt;/P&gt;&lt;P&gt;And also in the SELECT statement replace PEDIDOS with VBELN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622296#M1280559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622297#M1280560</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;Your Code is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;pedido&lt;/P&gt;&lt;P&gt;posnr&lt;/P&gt;&lt;P&gt;LIPS~VBELN AS entrega&lt;/P&gt;&lt;P&gt;LIPS~LFIMG &lt;/P&gt;&lt;P&gt;LIPS~MEINS AS meinsEntrega&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;LIPS&lt;/P&gt;&lt;P&gt;INTO TABLE t_entregas&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN&lt;/P&gt;&lt;P&gt;t_pedidos&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;LIPS~VGBEL = t_pedidos-pedido AND&lt;/P&gt;&lt;P&gt;LIPS~VGPOS = t_pedidos-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this you use below code.&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;LIPS~VGBEL as pedido&lt;/P&gt;&lt;P&gt;LIPS~VGPOS as posnr&lt;/P&gt;&lt;P&gt;LIPS~VBELN AS entrega&lt;/P&gt;&lt;P&gt;LIPS~LFIMG &lt;/P&gt;&lt;P&gt;LIPS~MEINS AS meinsEntrega&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;LIPS&lt;/P&gt;&lt;P&gt;INTO TABLE t_entregas&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN&lt;/P&gt;&lt;P&gt;t_pedidos&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;LIPS~VGBEL = t_pedidos-pedido AND&lt;/P&gt;&lt;P&gt;LIPS~VGPOS = t_pedidos-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of pedido use VGBEL and instead of posnr use VGPOS in select query as in LIPS table no such fields exsist(pedido or posnr).And as you are passing pedido and posnr in where clause the values will be same with this query. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;Vidhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622297#M1280560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with structure and sql</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622298#M1280561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps, I can't use the fields of a internal table like fields of a sql. I can use this fields to filter the registers but I can't put in the select of sql.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 10:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-structure-and-sql/m-p/5622298#M1280561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T10:48:00Z</dc:date>
    </item>
  </channel>
</rss>

