cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BPC BAdi : Difference bw using ct_data and write back method

former_member269454
Participant
0 Kudos
804

hi folks,

In BPC Badis we use CT_DATA internal table to populate final data, and also sometimes we use write back method to write the data in the cube . Can somebody please help me to understand what is the diff between both of them?

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

Not 100% related to WRITE=OFF:

You can use write back even if WRITE=ON - just clear ct_data to avoid writing data twice 🙂

Anyway, what badi type are you talking about? custom logic or write back?

Answers (3)

Answers (3)

former_member269454
Participant
0 Kudos

This is about Custom badi . I have never used Write back badi till now but i know that Write Back badi is only for the writting the data on the parent node .My be my information is half or wrong about WB Badi .

thanks for the reply. 🙂

former_member186338
Active Contributor
0 Kudos

"but i know that Write Back badi is only for the writting the data on the parent node .My be my information is half or wrong about WB Badi" - wrong!

WB badi is used to perform calculations on data save - replacement of default.lgf (fast!)

Also can be used for complex validations.

former_member269454
Participant
0 Kudos

Thanks for the Guidance Vadim. 🙂

former_member269454
Participant
0 Kudos

Thanks for the reply Vadim .

May be i am wrong but what i think is when we use Write = oFF in script logic we write Write back mathod in the execute section of badi and when we use write = on we use ct[] = <lt_final> . Am i right ?

former_member186338
Active Contributor
0 Kudos

At the end everything is going to write back method 🙂 You can check it in debug. With ct_data in write back badi you will have a correct number of accepted/rejected records.