<?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 problem in select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604105#M868055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to pick dmbtr  value from bseg table in report.&lt;/P&gt;&lt;P&gt;where zuonr = invoice no.&lt;/P&gt;&lt;P&gt;Hkont = 6105410  to  6105500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use this select clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT bukrs belnr gjahr dmbtr&lt;/P&gt;&lt;P&gt;   zuonr  FROM bseg&lt;/P&gt;&lt;P&gt;    INTO  CORRESPONDING FIELDS OF TABLE i_bseg&lt;/P&gt;&lt;P&gt;     FOR ALL ENTRIES IN i_vbtab&lt;/P&gt;&lt;P&gt;   WHERE zuonr = i_vbtab-vbeln&lt;/P&gt;&lt;P&gt;   and Hkont in ( '610547' , '6105500' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but there is error that zuonr = i_vbtab-vbeln lenght does not match.&lt;/P&gt;&lt;P&gt;is where clause used  for hkont correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 09:44:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-25T09:44:09Z</dc:date>
    <item>
      <title>problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604105#M868055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to pick dmbtr  value from bseg table in report.&lt;/P&gt;&lt;P&gt;where zuonr = invoice no.&lt;/P&gt;&lt;P&gt;Hkont = 6105410  to  6105500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use this select clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT bukrs belnr gjahr dmbtr&lt;/P&gt;&lt;P&gt;   zuonr  FROM bseg&lt;/P&gt;&lt;P&gt;    INTO  CORRESPONDING FIELDS OF TABLE i_bseg&lt;/P&gt;&lt;P&gt;     FOR ALL ENTRIES IN i_vbtab&lt;/P&gt;&lt;P&gt;   WHERE zuonr = i_vbtab-vbeln&lt;/P&gt;&lt;P&gt;   and Hkont in ( '610547' , '6105500' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but there is error that zuonr = i_vbtab-vbeln lenght does not match.&lt;/P&gt;&lt;P&gt;is where clause used  for hkont correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:44:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604105#M868055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604106#M868056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;SELECT bukrs belnr gjahr dmbtr&lt;/P&gt;&lt;P&gt;zuonr FROM bseg&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE i_bseg&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_vbtab&lt;/P&gt;&lt;P&gt;WHERE zuonr = i_vbtab-vbeln&lt;/P&gt;&lt;P&gt;and &lt;STRONG&gt;Hkont in ( '0000610547' , '0006105500' ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vodka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604106#M868056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604107#M868057</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; in your code the ZUONR(Assignment number) from BSEG table is of length 18. Whereas the VBELN is of length 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats why it shows the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604107#M868057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604108#M868058</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;Try this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the Data type of Vbeln as the type of zuonr in the table i_vbtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balakumar.G&lt;/P&gt;&lt;P&gt;Reward Points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604108#M868058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604109#M868059</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;where clause(hkont) will not give u the desired result for that write the code like this.you have to use ranges if u use in it will check on only for those two values not for that range.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ranges:r_hkont for bseg-hkont.
r_hkont-sign = 'I'.
r_hkont-option = 'BT'.
r_hkont-low = '610547'.
r_hkont-high = '6105500'.
APPEND r_hkont.

SELECT bukrs belnr gjahr dmbtr
zuonr FROM bseg
INTO CORRESPONDING FIELDS OF TABLE i_bseg
FOR ALL ENTRIES IN i_vbtab
WHERE Hkont in r_hkont and zuonr = i_vbtab-vbeln.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for the first error while decalring internal table i_vbtab declare the field vbeln is of length 18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604109#M868059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604110#M868060</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;Check the length for zuonr and i_vbtab-vbeln?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the hkont values you are passing, that should be prefixed by 0000 leading zeros, otherwise your select statement will fail to retrieve the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chnage the code as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT bukrs belnr gjahr dmbtr
zuonr FROM bseg
INTO CORRESPONDING FIELDS OF TABLE i_bseg
FOR ALL ENTRIES IN i_vbtab
WHERE zuonr = i_vbtab-vbeln "Check the length
and Hkont in ( '0000610547' , '00006105500' ). "Changed the code here.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604110#M868060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604111#M868061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether u check u Declare data r not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : zuonr like bseg-zuonr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Me Points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By&lt;/P&gt;&lt;P&gt;Pari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604111#M868061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604112#M868062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: zuonr like bseg-zuonr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;              exporting&lt;/P&gt;&lt;P&gt;                input  = i_vbtab-vbeln&lt;/P&gt;&lt;P&gt;              importing&lt;/P&gt;&lt;P&gt;                output = zuonr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs belnr gjahr dmbtr&lt;/P&gt;&lt;P&gt;zuonr FROM bseg&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE i_bseg&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_vbtab&lt;/P&gt;&lt;P&gt;WHERE zuonr = zuonr&lt;/P&gt;&lt;P&gt;and Hkont in ( '610547' , '6105500' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help u..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sugumar G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604112#M868062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604113#M868063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;declair as below&lt;/P&gt;&lt;P&gt;VBELN  LIKE   table_name- ZUONR&lt;/P&gt;&lt;P&gt;your problem will be solve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 09:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604113#M868063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T09:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604114#M868064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;sriram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in vbtab i had  already define vbeln as bkpf-AWKEY.&lt;/P&gt;&lt;P&gt;here i had requirement where AWKEY = I_VBTAB-VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now how to define it again as bseg-zuonr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 11:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604114#M868064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T11:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604115#M868065</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;&lt;/P&gt;&lt;P&gt;in vbtab i had already define vbeln as bkpf-AWKEY.&lt;/P&gt;&lt;P&gt;here i had requirement where AWKEY = I_VBTAB-VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now how to define it again as bseg-zuonr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 11:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604115#M868065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T11:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604116#M868066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try  Like this,&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;wrk_zuonr type bseg-zuonr.&lt;/P&gt;&lt;P&gt;move i_vbtab-vbeln to wrk_zuonr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs belnr gjahr dmbtr&lt;/P&gt;&lt;P&gt;zuonr FROM bseg &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE i_bseg&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_vbtab&lt;/P&gt;&lt;P&gt;WHERE zuonr = wrk_zuonr&lt;/P&gt;&lt;P&gt;and Hkont in ( '610547' , '6105500' ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 11:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604116#M868066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T11:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604117#M868067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is still a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:zuonr type bseg-zuonr.&lt;/P&gt;&lt;P&gt; call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;             exporting&lt;/P&gt;&lt;P&gt;               input  = i_vbtab-vbeln&lt;/P&gt;&lt;P&gt;             importing&lt;/P&gt;&lt;P&gt;               output = zuonr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs belnr gjahr dmbtr&lt;/P&gt;&lt;P&gt;zuonr FROM bseg&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE i_bseg&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_vbtab&lt;/P&gt;&lt;P&gt;WHERE zuonr = zuonr&lt;/P&gt;&lt;P&gt;and Hkont in ( '610547' , '6105500' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i had given all commas where required&lt;/P&gt;&lt;P&gt; but it says comma with out precending colon after select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 03:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604117#M868067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T03:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604118#M868068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ZUONR is of length 18 and VBELN is of length 10.&lt;/P&gt;&lt;P&gt;And the first 10 characters of ZUONR are the VBELN. So change the program accordingly and select the data from BSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 03:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604118#M868068</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2008-03-26T03:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem in select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604119#M868069</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;Just copy this query and replace it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT bukrs belnr gjahr dmbtr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;zuonr FROM bseg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INTO CORRESPONDING FIELDS OF TABLE i_bseg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR ALL ENTRIES IN i_vbtab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE zuonr = zuonr&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and Hkont in ('0000610547','0006105500' ).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vodka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 03:28:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-select/m-p/3604119#M868069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T03:28:19Z</dc:date>
    </item>
  </channel>
</rss>

