Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_CUSTOMER_GETLIST

Former Member
0 Likes
2,090

Hi

Could anyone tell me how to use " BAPI_CUSTOMER_GETLIST"??

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,109

Hi,

Refer to the Links. This Might Help You.

Regards

Sumit Agarwal

4 REPLIES 4
Read only

Former Member
0 Likes
1,110

Hi,

Refer to the Links. This Might Help You.

Regards

Sumit Agarwal

Read only

0 Likes
1,109

Thanks All.

Problem solved.

Read only

bpawanchand
Active Contributor
0 Likes
1,109

Hi

http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_GETLIST

Check this snippet

DATA :
   w_idrange TYPE
    STANDARD TABLE
          OF bapicustomer_idrange,

   wa_range LIKE LINE OF w_idrange,

   w_addressdata TYPE
        STANDARD TABLE
              OF bapicustomer_addressdata,

   w_specialdata TYPE
        STANDARD TABLE
              OF bapicustomer_specialdata,

   w_return TYPE bapireturn1,
   w_maxrows TYPE bapif4a-max_rows VALUE '10'.


CLEAR wa_range.
wa_range-sign = 'I'.
wa_range-option = 'BT'.
wa_range-low   = '0000000001'.
wa_range-high = '0000002000'.
APPEND wa_range TO w_idrange.

CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'
 EXPORTING
   maxrows           = w_maxrows
*   CPDONLY           = CPDONLY
 IMPORTING
   return            = w_return
  TABLES
    idrange           = w_idrange
   ADDRESSDATA       = w_ADDRESSDATA
   SPECIALDATA       = w_SPECIALDATA.

Regards

pavan

Read only

Former Member
0 Likes
1,109

Hi Nikhil,

Check this link:

Regards,

Chandra Sekhar