‎2005 Sep 21 2:14 PM
Hello together,
Help me. The function module BAPI_BUPA_ADDRESS_ADD -
(create address data)is saved the data not in the databank tables. Why?
CALL FUNCTION 'BAPI_BUPA_ADDRESS_ADD'
EXPORTING
businesspartner = lv_bpartner
addressdata = ls_addressdata
ACCEPT_ERROR = ' '
IMPORTING
ADDRESSGUID =
TABLES
BAPIADTEL =
BAPIADFAX =
BAPIADTTX =
BAPIADTLX =
bapiadsmtp = ls_bapiadsmtp
BAPIADRML =
BAPIADX400 =
BAPIADRFC =
BAPIADPRT =
BAPIADSSF =
BAPIADURI =
BAPIADPAG =
BAPIAD_REM =
BAPICOMREM =
ADDRESSUSAGE =
RETURN =
.
Thanks in advance,
Irene
‎2005 Sep 21 2:36 PM
Hi,
Try importing ADDRESSGUID parameter and check whether it is filled after the call. If it is not filled then there are errors during address creation.
Error messages are sent back in the table RETURN.
Sri
‎2005 Sep 21 3:17 PM
Try calling the following FM after your call :
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.It will trigger a commit on the database.
Hope it helps!
Cheers,
‎2005 Sep 21 5:48 PM
Don't forget to close the thread if solved and reward useful answers if any.
Cheers,