cancel
Showing results for 
Search instead for 
Did you mean: 

Customer/vendor are required for approval to approve before it create in kna1

mhtan88
Discoverer
0 Kudos
101

I'm using s4hana, because customer_add_data no longer use in S4Hana, therefore, i still finding which Badi suitable to capture the new changes data. Did tried to use BUPA_ADDR_UPDATE, but data already updated in memory, if i ended the process at this method, when I open TCode BP, it already use the latest updated value, but database still using old value, seems like memory and physical database not sync. I have three question.

1. Am i doing the correct way?

2. Which badi is suitable to use so that is before it save into memory?

3. If no suitable badi, how can i rollback? i did tried to rollback work before end the method. but memory still get the updated value.

Below is the steps on what i plan to do.

1. Capture BP creation data and store in ztable intead of kna1 .

2. trigger workflow for approval.

3. once approval approved. the workflow task will create the customer from ztable to kna1.

4. same to BP 's changes. it required approval as well.

Accepted Solutions (0)

Answers (0)