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_BUPA_ADDRESS_ADD

Former Member
0 Likes
3,248

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

3 REPLIES 3
Read only

Former Member
0 Likes
1,787

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

Read only

guillaume-hrc
Active Contributor
0 Likes
1,787

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,

Read only

0 Likes
1,787

Don't forget to close the thread if solved and reward useful answers if any.

Cheers,