<?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 function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122892#M985717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi surya,&lt;/P&gt;&lt;P&gt;Check below sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: i_idrange TYPE STANDARD TABLE OF bapicustomer_idrange,
      wa_idrange TYPE bapicustomer_idrange,
      i_address TYPE STANDARD TABLE OF bapicustomer_addressdata,
      maxrows TYPE bapif4a-max_rows VALUE 1000.

CLEAR wa_idrange.
wa_idrange-sign = 'I'.
wa_idrange-option = 'BT'.
wa_idrange-low = '0000000010'.
wa_idrange-high = '0000001000'.
APPEND wa_idrange TO i_idrange.

CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'
 EXPORTING
   maxrows           = maxrows
*         CPDONLY           =
*       IMPORTING
*         RETURN            =
  TABLES
    idrange           = i_idrange
   addressdata       = i_address
*         SPECIALDATA       =
          .

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that u r passing customer number with &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leading zeros&lt;/STRONG&gt; and option eq &lt;STRONG&gt;BT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 10:09:50 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-07-01T10:09:50Z</dc:date>
    <item>
      <title>regarding function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122889#M985714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here my requirement is to display customers in perticular range.i tried with&lt;STRONG&gt;select-options&lt;/STRONG&gt;but getting error like is not allowed and also tried with &lt;STRONG&gt;RANGES&lt;/STRONG&gt; option but i didn't get any output .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and please tell me what parameters to give to  bapi_customer_getlist function module.in this function module is there but i didn't get any output.here &lt;STRONG&gt;i'm given input like i cp 1 1000 and 0000000001 00000001000&lt;/STRONG&gt;  but there is no response. if input given like &lt;U&gt;i cp *&lt;/U&gt;  is displayed entire customer data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122889#M985714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122890#M985715</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 are passing data to range 'BT' for range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     RANGE Table of Customer Numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Selection area for the customer numbers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Value range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Field SIGN:     'I' (inclusive) or 'E' (exclusive)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        Field OPTOPNS:  (EQ,NE,GT,GE,LE,LT,BT,NB,CP,NP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CP means customer contains these value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122890#M985715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122891#M985716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;idrange-sign = 'I'.&lt;/P&gt;&lt;P&gt;idrange-option = 'BT'.&lt;/P&gt;&lt;P&gt;idrange-low = '1'.&lt;/P&gt;&lt;P&gt;idrange-high = '1000'.&lt;/P&gt;&lt;P&gt;append idrange.&lt;/P&gt;&lt;P&gt;idrange-low = '0000000001'.&lt;/P&gt;&lt;P&gt;idrange-high = '00000001000'.&lt;/P&gt;&lt;P&gt;append idrange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122891#M985716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122892#M985717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi surya,&lt;/P&gt;&lt;P&gt;Check below sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: i_idrange TYPE STANDARD TABLE OF bapicustomer_idrange,
      wa_idrange TYPE bapicustomer_idrange,
      i_address TYPE STANDARD TABLE OF bapicustomer_addressdata,
      maxrows TYPE bapif4a-max_rows VALUE 1000.

CLEAR wa_idrange.
wa_idrange-sign = 'I'.
wa_idrange-option = 'BT'.
wa_idrange-low = '0000000010'.
wa_idrange-high = '0000001000'.
APPEND wa_idrange TO i_idrange.

CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'
 EXPORTING
   maxrows           = maxrows
*         CPDONLY           =
*       IMPORTING
*         RETURN            =
  TABLES
    idrange           = i_idrange
   addressdata       = i_address
*         SPECIALDATA       =
          .

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that u r passing customer number with &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leading zeros&lt;/STRONG&gt; and option eq &lt;STRONG&gt;BT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 10:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module/m-p/4122892#M985717</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-01T10:09:50Z</dc:date>
    </item>
  </channel>
</rss>

