on 09-30-2014 2:01 PM
Hi All,
I have read lot of forum related to this. but still this problem exist.
I want to update the telephone no and email id of Contact person.
I am usingBAPI_BUPR_CONTP_ADDR_CHANGE
but it never allows to update or delete.
it gives message "Telephone number XXXXX / does not exist. Change/deletion not possible.
Please help.
Why it is not allowing change deletion.
1.logic to change any existing number
ls_telx-telephone = 'X'.
ls_telx-std_no = 'X'.
ls_telx-updateflag = 'D'.
append ls_telx to lt_telx.
ls_teL1-telephone = LS_TEL-TELEPHONE .
ls_teL1-CONSNUMBER = ls_tel-CONSNUMBER.
ls_tel1-std_no = 'X'.
APPEND LS_TEL1 TO LT_TEL1.
Then i am calling BAP
2. CALL FUNCTION 'BAPI_BUPR_CONTP_ADDR_CHANGE'
EXPORTING
businesspartner = 'BP no'
contactperson = 'CP no'
TABLES
bapiadtel = lt_tel1
bapiadtel_x = lt_telx
return = lt_bapiret2.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
I
Hi,
try to set:
ls_telx-consnumber = 'X'.
p.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
Please try passing the consnumber value as a value between 001 and 999.
Thanks,
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,ARUN.
THE SAME ERROR OCCURRED IN MY FM. NOW ,DO YOU KNOW THE SOLUTION TO THIS QUESTION? I NEED YOUR HELP VERY MUCH.
THANK YOU !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.