cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

calling BADi via default logic

Former Member
0 Likes
179

Hi all,

I have a requirement where I have to call a BADi via default logic and pass only records which are changed via input form. I dont have option of writing write back BADi as it already has lot of other code and want to keep it clean.

Any ideas?

Thanks for your time,

Accepted Solutions (1)

Accepted Solutions (1)

damovand
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

You can call a BADI from your default logic by using START_BADI and passing the parameters to it.  Please see the discussion in this link https://scn.sap.com/thread/3386140

Best Regards,

Leila

Former Member
0 Likes

Hey Leila,

Thanks for your reply. Passing parameters will read from database and not what users have entered. I want to populate internal table with changed records via input form.

Thanks,

former_member186338
Active Contributor
0 Likes

"Passing parameters will read from database and not what users have entered. I want to populate internal table with changed records via input form." - not 100% correct.

Please read about default.lgf scope:

And if you want to process figures before storing in database - write back badi is the only option!

Vadim

P.S. Custom logic badi call is also described in my document about default.lgf...

Answers (0)