Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI

Former Member
0 Likes
508

Hi all....here i have a question regarding BADI...please help me.

what is the difference between single BADI and multiple BADI(how single BADI returns values)?

4 REPLIES 4
Read only

Former Member
0 Likes
481

A single use BADI can only be implemented once and it will return values in it's export parameters (if they do exist).

A multiple use BADI can be implemented more than once meaning that if you have e.g. three different implementations ALL of them are called from the BADI subsequently.

Hope that helps,

Michael

Read only

0 Likes
481

Thanq for ur reply..but u r saying that it returns a value.. where it returns and how could we collect the returned value.

thank u in advance.

Read only

0 Likes
481

It depends how the method you are using was defined and if it actually has return parameters declared or not.

Not every BADI method has return parameters defined. In case they have a return parameter defined SAP standard is usually handling the collection and processing of those values.

Regards,

Michael

Read only

George_Lioumis
Active Participant
0 Likes
481

Hi.

A BADI that is of type "Multiple Use" (checked box) can be implemented many times under different Z implementations while a Single one cannot. For example, the MB_CHECK_LINE_BADI can be implemented as ZMB_CHECK_LINE_BADI_1 and as MB_CHECK_LINE_BADI_2 and in that case, both will be executed, one after the other.

Regards,

George