<?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: Getting dump in the select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066977#M1354853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello. your internal table itab doesnot hold data types similar to the fetched fields. check the declaration of itab.&lt;/P&gt;&lt;P&gt;avoid using into corresponding fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 22:54:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-24T22:54:55Z</dc:date>
    <item>
      <title>Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066975#M1354851</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;Iam getting dump when iam executing the following select statement...Please let me know What's wrong in this and how to get it resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT it_bkpf[] IS INITIAL.&lt;/P&gt;&lt;P&gt;      SELECT    bukrs&lt;/P&gt;&lt;P&gt;                gjahr&lt;/P&gt;&lt;P&gt;                belnr&lt;/P&gt;&lt;P&gt;                buzei&lt;/P&gt;&lt;P&gt;                sgtxt&lt;/P&gt;&lt;P&gt;                hkont&lt;/P&gt;&lt;P&gt;                lifnr&lt;/P&gt;&lt;P&gt;                wrbtr&lt;/P&gt;&lt;P&gt;                pswsl&lt;/P&gt;&lt;P&gt;                menge&lt;/P&gt;&lt;P&gt;                meins&lt;/P&gt;&lt;P&gt;          FROM bseg&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE itab&lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN it_bkpf&lt;/P&gt;&lt;P&gt;                WHERE  belnr  EQ it_bkpf-belnr AND&lt;/P&gt;&lt;P&gt;                       sgtxt  IN s_sgtxt AND&lt;/P&gt;&lt;P&gt;                       lifnr  IN s_lifnr.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When iam running the above statement iam getting the dump.&lt;/P&gt;&lt;P&gt;Iam getting the error like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         DBIF_RSQL_INVALID_RSQL&lt;/P&gt;&lt;P&gt;Exception              CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught&lt;/P&gt;&lt;P&gt;     in&lt;/P&gt;&lt;P&gt;    procedure "GET_DATA" "(FORM)", nor was it propagated by a RAISING clause.&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;    exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&lt;/P&gt;&lt;P&gt;    In a SELECT access, the read file could not be placed in the target&lt;/P&gt;&lt;P&gt;    field provided.&lt;/P&gt;&lt;P&gt;    Either the conversion is not supported for the type of the target field,&lt;/P&gt;&lt;P&gt;    the target field is too small to include the value, or the data does not&lt;/P&gt;&lt;P&gt;    have the format required for the target field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 21:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066975#M1354851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T21:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066976#M1354852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your ITAB check the types of each field bukrs, gjahr, belnr, buzei, sgtxt, hkont, lifnr, wrbtr, pswsl, menge and meins.&lt;/P&gt;&lt;P&gt;Some of teh fields are having a wrong type or the field is having lesser length.&lt;/P&gt;&lt;P&gt;This is causing the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 21:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066976#M1354852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T21:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066977#M1354853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello. your internal table itab doesnot hold data types similar to the fetched fields. check the declaration of itab.&lt;/P&gt;&lt;P&gt;avoid using into corresponding fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 22:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066977#M1354853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T22:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066978#M1354854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Govi,
Your internal table structure should be like below for the fields mentioned in the select query.
&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF ITAB OCCURS 0,
        BUKRS TYPE BSEG-BUKRS,
        GJAHR TYPE BSEG-GJAHR,
        BELNR TYPE BSEG-BELNR,  
        BUZEI TYPE BSEG-BUZEI,
        SGTXT TYPE BSEG-SGTXT, 
        HKONT TYPE BSEG-HKONT,
        LIFNR TYPE BSEG-LIFNR,   
        WRBTR TYPE BSEG-WRBTR,
        PSWSL TYPE BSEG-PSWSL,
        MENGE TYPE BSEG-MENGE,
        MEINS TYPE BSEG-MEINS,
      END OF ITAB.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 01:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066978#M1354854</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-08-25T01:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066979#M1354855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you check  'it_bkpf-belnr ' data type or Internal table 'IT_BKPF'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 01:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066979#M1354855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T01:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066980#M1354856</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 dump happens because there is a conflict in the internal table declaration and the operation you are trying to do using select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your internal table declaration - itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could have possibly used the wrong data types.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 04:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066980#M1354856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T04:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066981#M1354857</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;This dump is coming because of the mismatch in the data types of the fields in your internal table and database table.Please declare them in a similar manner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 05:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066981#M1354857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T05:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066982#M1354858</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;this is only beacuse of data type mismatch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so declare the sequence of the field in the internal table as per the BSEG table u can even click on the pattern button select the structured data object radio button give the table name  bseg n click the ok button n then select the fields u wanna use in ur internal table then click on ok again give the name for ur internal table it wl create an internal; table for u and then use select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;shivraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ShivrajSinha on Aug 25, 2009 2:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 12:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066982#M1354858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T12:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066983#M1354859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It helps..the problem solved...but i have one more problem selecting from BKPF&lt;/P&gt;&lt;P&gt;The following statement is not fetching any data if i put all the fields in selection...&lt;/P&gt;&lt;P&gt;bukrs, gjahr, blart are parameters and belnr is select options...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT    bukrs&lt;/P&gt;&lt;P&gt;            gjahr&lt;/P&gt;&lt;P&gt;            blart&lt;/P&gt;&lt;P&gt;            belnr&lt;/P&gt;&lt;P&gt;  FROM bkpf&lt;/P&gt;&lt;P&gt;  INTO TABLE it_bkpf&lt;/P&gt;&lt;P&gt;  WHERE bukrs EQ p_bukrs AND&lt;/P&gt;&lt;P&gt;        belnr IN s_belnr AND&lt;/P&gt;&lt;P&gt;        gjahr EQ p_gjahr AND&lt;/P&gt;&lt;P&gt;        blart EQ p_blart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know why...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Govi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 17:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066983#M1354859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T17:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066984#M1354860</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;If you have declared the internal table properly and still the select is not fetching data there must be 2 possible reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Check in SE16 for BKPF if the data is available for the parameters you have passed in the selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) For belnr, you may have to append the leading zero's using the FM  conversion_exit_alpha_input and then pass it to the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 17:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066984#M1354860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066985#M1354861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: a®s on Aug 25, 2009 1:49 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 17:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066985#M1354861</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-25T17:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066986#M1354862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The select query&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;SELECT bukrs&lt;/P&gt;&lt;P&gt;gjahr&lt;/P&gt;&lt;P&gt;blart&lt;/P&gt;&lt;P&gt;belnr&lt;/P&gt;&lt;P&gt;FROM bkpf&lt;/P&gt;&lt;P&gt;INTO TABLE it_bkpf&lt;/P&gt;&lt;P&gt;WHERE bukrs EQ p_bukrs AND&lt;/P&gt;&lt;P&gt;belnr IN s_belnr AND&lt;/P&gt;&lt;P&gt;gjahr EQ p_gjahr AND&lt;/P&gt;&lt;P&gt;blart EQ p_blart.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will fetch records only if u pass value in P_BUKRS, P_GJAHR and P_BLART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because if you do not pass any value in a parameter it matches with "space"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 17:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066986#M1354862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T17:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066987#M1354863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the values from the table if i give only company code and accounting doc number(belnr)&lt;/P&gt;&lt;P&gt;I dont know why iam not able to get if i pass only 2 of the 4 inputs or 1 of the 4 inputs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is getting populated only if i pass all the 4 inputs&lt;/P&gt;&lt;P&gt;WHERE bukrs EQ p_bukrs AND&lt;/P&gt;&lt;P&gt;        belnr IN s_belnr AND&lt;/P&gt;&lt;P&gt;        gjahr EQ p_gjahr AND&lt;/P&gt;&lt;P&gt;        blart EQ p_blart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanted to check whether its populating with only company code or company code and belnr, and bukrs,belnr,fiscal year &lt;/P&gt;&lt;P&gt;combinations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats getting wrong here...do i need to mention all select-options here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 18:03:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066987#M1354863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T18:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066988#M1354864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the detailed Explaination...so that you can understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam GETTING  the data into IT_BKPF for the following Combinations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company code(parameter)&lt;/P&gt;&lt;P&gt;fiscal year(parameter)&lt;/P&gt;&lt;P&gt;document type(parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company code(parameter)&lt;/P&gt;&lt;P&gt;fiscal year(parameter)&lt;/P&gt;&lt;P&gt;document type(parameter)&lt;/P&gt;&lt;P&gt;Acc document(Select options)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;Iam NOT getting the data for the following Combinations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.company code(parameter)  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.fiscal year(parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Document type(parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Acc document(Select options)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.company code(parameter)&lt;/P&gt;&lt;P&gt;   fiscal year(parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. company code(parameter)&lt;/P&gt;&lt;P&gt;   document type(parameter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7.company code(parameter)&lt;/P&gt;&lt;P&gt;  Acc document(Select options)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8.company code(parameter)&lt;/P&gt;&lt;P&gt;  document type(parameter)&lt;/P&gt;&lt;P&gt;  Acc document(Select options)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 18:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066988#M1354864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-25T18:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting dump in the select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066989#M1354865</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;PRE&gt;&lt;CODE&gt;WHERE bukrs EQ p_bukrs AND
belnr IN s_belnr AND
gjahr EQ p_gjahr AND
blart EQ p_blart.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because you pass empty parameters  in where clause and uses AND Condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg. if you only give value in company code as 'CMP1''. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your query the data will be fetched  as BUKRS EQ  'CMP1' AND belnr in S_BELNR AND GJAHR EQ '0000' AND BLART EQ '  '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because if you do not pass any values in parameter then empty/default values are used to fetch data. There will not be any data in table satisfying the where clause. Either use select options for all the parameters or pass some default values in parameter which are not filled up by the user or make dynamic queries depending upon what parameters or select options are passed in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2009 18:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-dump-in-the-select-statement/m-p/6066989#M1354865</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-08-25T18:44:13Z</dc:date>
    </item>
  </channel>
</rss>

