cancel
Showing results for 
Search instead for 
Did you mean: 

BADI BUPA_GENERAL_UPDATE

markus_reich
Participant
0 Kudos

Hi,

I need do add some additional Data after creating a prospect via TA BP! I used the BADI BUPA_GENERAL_UPDATE:

1. Get partner from memory with FM BUP_BUPA_MEMORY_GET_ALL

2. Put partner to memory FM BUP_MEMORY_BUT000_FILL

3. Append sales data wit FM CRM_BUPA_FRG0010_ADD

First it seems to work fine, but sometimes the data created in CDB was inconsistent (SMOKNA1-BRSCH and SMOKNA1-BPISPROS were not filled!) The table SMOKNVV was filled right!

When I comment the call of FM BUP_MEMORY_BUT000_FILL, the SMOKNA1 fields were filled, but the data created by FM CRM_BUPA_FRG0010_ADD ist not in CRM and CDB!?

Is there another way to create sales data at creating a new prospect!

Thanks

Markus

Accepted Solutions (0)

Answers (3)

Answers (3)

markus_reich
Participant
0 Kudos

Now the error message 'Address not found' (AM010) is thrown everytime I try to access the new BP!

I think it's not ok, to call a COMMIT in this BADI, because data of BP is in global memory not on DB, an the commit is done later in the events!

Markus

markus_reich
Participant
0 Kudos

Sorry, I added this FM Call at the end, just with the businesspartner parameter filled!

But it has no effect, sorry!

regards

Markus

Former Member
0 Kudos

...use after the call of the bapi 'BAPI_TRANSACTION_COMMIT'.

Regards,

Ralf

Former Member
0 Kudos

Hi Markus,

try this Bapi: BAPI_BUPA_CENTRAL_CHANGE

Regards,

Ralf