2007 Apr 13 8:48 AM
Hi abap Gurus,
I have an requirement where I have to fetch the address details of customer's using this BAPI 'BAPI_CUSTOMER_GETLIST' by passing IT_VBPA internal table to it and store the address in another Internal Table....
Can any one suggest me the code for this .
Its an urgent requirement ..
Byee
Argz
2007 Apr 13 8:52 AM
CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'
destination receiver-rfc_dest
EXPORTING
MAXROWS = 0
CPDONLY = 'X'
IMPORTING
RETURN =
TABLES
idrange = idrange "#EC ENHOK
ADDRESSDATA = companydata "#EC ENHOK
SPECIALDATA =
Hope this will solve your probelm.
Assign reward points if it helps.
-Gaurang
Hi abap Gurus,
I have an requirement where I have to fetch the address details of customer's using this BAPI 'BAPI_CUSTOMER_GETLIST' by passing IT_VBPA internal table to it and store the address in another Internal Table....
Can any one suggest me the code for this .
Its an urgent requirement ..
Byee
Argz
2007 Apr 13 8:52 AM
CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'
destination receiver-rfc_dest
EXPORTING
MAXROWS = 0
CPDONLY = 'X'
IMPORTING
RETURN =
TABLES
idrange = idrange "#EC ENHOK
ADDRESSDATA = companydata "#EC ENHOK
SPECIALDATA =
Hope this will solve your probelm.
Assign reward points if it helps.
-Gaurang
2007 Apr 13 8:59 AM
First you need to get the address number from VBFA table and get the address number ADRNR for the customer.
Then use the FM ADDR_GET_COMPLETE to get the complete address of the Customer.
Regards,
Ravi