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

How to run a BADI from AFO

Former Member
0 Likes
746

Hello experts!,

I'm currently migrating BADI codes from an old system info an embedded system (BPC) (these BADIs are executed through DM packages in the old version, but as far as I can see, I cannot do the same in embedded). When I google this question, I find out that most of the people ask to use FOX. The thing is that the BADI codes that we have (Custom ones) are quite complex and it would be quite painful to transform them all into FOX.

Is there any way to call a BADI from AFO giving the parameters?.

FYI, these custom BADIs operate on our cube to create new records.

Thanks in advance and Best Regards,

Carlos

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186338
Active Contributor
0 Likes

Looks you are talking about CUSTOM LOGIC badi's used in BPC standard. Unfortunately they are not supported in BPC embedded! No way!

P.S. But please tell me - what was the business reason to migrate to embedded???

gregor_dieckmann
Product and Topic Expert
Product and Topic Expert
0 Likes

I agree, I have overlooked the word 'migration'. One should not call BPC Standard BADIs in BPC Embedded planning functions.

gregor_dieckmann
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Francisco,

for AO you can start planning functions and planning sequences. There planning functions of type exit where you have to implement the logic; there also exist a standard way to schedule planning sequences in process chains, cf.

https://help.sap.com/viewer/69ec98e0c0e54128a61c32f3255fa438/11.0.8/en-US/4cc4628de2db43f1e10000000a...

https://help.sap.com/viewer/69ec98e0c0e54128a61c32f3255fa438/11.0.8/en-US/4cbc4706141d5c4be10000000a...

Regards,

Gregor

P.S.

Planning function type get the data from the planning function run time, the algorithm works on the data and sends the data back to the planning function run time to be able to use the planning buffers and all the planning constraints; you don't have to read or save data in your algorithm, this is done by the framework.

former_member186338
Active Contributor
0 Likes

Sorry, but the question author is asking about possibility to run BPC standard badi code in embedded system... And the answer is No!