2006 Oct 09 8:27 AM
is thr any function module thru which we can get the customer address.
Input-Cutomer Code
Ouput- Customer addreds(city,State etc)
is thr any function module thru which we can get the customer address.
Input-Cutomer Code
Ouput- Customer addreds(city,State etc)
2006 Oct 09 9:01 AM
Hello Dheeraj
Since I do not know what you mean by "customer code" I have to make a few guesses.
If you have a business partner number, the you can use:
- BAPI_BUPA_ADDRESS_GET_NUMBERS
- BAPI_BUPA_ADDRESS_GETDETAIL
If you are looking for debitor, you can use:
- BAPI_CUSTOMER_GETDETAIL2
Regards
Uwe
2006 Oct 09 9:06 AM
hi,
chk this sample.
report zxyz_0003.
data: xusr_ad type addr3_val.
call function 'SUSR_USER_ADDRESS_READ'
exporting
user_name = sy-uname
READ_DB_DIRECTLY = ' '
importing
user_address = xusr_ad
USER_USR03 =
exceptions
user_address_not_found = 1
others = 2.
write:/ xusr_ad-NAME_FIRST, xusr_ad-NAME_last.
If you still want to get form USER_03 structure, you can like this.
report zxyz_0003.
data: xusr_ad type addr3_val.
data: xusr_03 type usr03.
call function 'SUSR_USER_ADDRESS_READ'
exporting
user_name = sy-uname
READ_DB_DIRECTLY = ' '
importing
user_address = xusr_ad
USER_USR03 = xusr_03
exceptions
user_address_not_found = 1
others = 2.
write:/ xusr_ad-NAME_FIRST, xusr_ad-NAME_last.
write:/ xusr_03-name1, xusr_03-name2.
Regards,
anver
2006 Oct 09 9:13 AM
Hi,
You can use,
1) READ_KNA1
2) if you know the communication type you can use
C1CE_ADDRESS_READ_FROM_KNA1.
Regards,
Raghavendra
2006 Oct 09 9:42 AM
Hi
VHUMISC_GET_CUSTOMER_DATA, FI_CUSTOMER_DATA, RE_FI_CUSTOMER_DATA, BAPI_CUSTOMER_GETDETAIL1 & BAPI_CUSTOMER_GETDETAIL2, can suit your requirement.
Kind Regards
Eswar
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |