cancel
Showing results for 
Search instead for 
Did you mean: 

How to send BP data and update/change BP fields before/after update/create

Former Member
0 Kudos

My Requirement is when i change/create BP i want to call a FM with all the data ( header data, address data, phone data, email data etc). The function module will return me external address number for each address number and externalphoe number for each phone number.

Then i have to update the external address number and external sequence number ( in consnumber field).

My questions are:

1) t is the best place to do this. I am not able to find any badi which triggers after save.

2) can we change Consnumber fields which will be autogenrated by system when we add a phone number.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I guess we are not having any Badi's over there....

For Business Partners enhancemnets we will use AREA-MENU :: BUPT (Business Data Tool Set) for business partner

In this we will have so many events, we will create one function module and we will attach to the appropriate event so that our custom function module will be trigger.

you can call these FM in your custom FM :- to get the exact data you want to update in the table

BUP_BUPA_MEMORY_GET

BUA_BUPA_MEMORY_ADDRESSES_GET

BUA_BUPA_MEMORY_ADDRESS_GET

BUA_BUPA_MEMORY_GET

BUP_MEMORY_BUT000_GET

BUP_MEMORY_BUT020_GET

BUP_MEMORY_BUT021_GET

BUP_MEMORY_BUT0BK_GET

BUP_MEMORY_BUT0CC_GET

BUP_MEMORY_BUT0ID_GET

BUP_MEMORY_BUT0IS_GET

Please Allot Points if it helps

Regards,

Shiv

msalah707
Newcomer
0 Kudos

Most of them are working , but no one return the telephone number
and ADR2 tables are empty , or return with error that Person doesn't exist 

After  testing all these BP memory BABI ,
this this the only one that return the telephone number 
BUPA_ADDR_CALLBACK  : get the address number 
BUP_BUPA_MEMORY_GET : get the general data
BUA_BUPA_ADDRESS_MEM_GET  : get the address data, and the telephone in ( E_ADDRVAL-AD_TLNMBR).