Application Development 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: 

Which is best to use... Exits or BADI

Former Member
0 Kudos

Hello Gurus,

My object is an Enhancement for MIGO transaction... I hv to populate some fields which is entered by the user in migo tran,also somemore fields from 2ztables and i hv to post it through IDOCs... For this im having BADI(MB_DOCUMENT_UPDATE) And Userexits(MB_CF001).My question is , which is the better thing to use and plz give me the reason...

Thanks in advance....

Regards,

S M SASI...

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

BAdIs are the most up-to-date version of user-exits. Other forms include dynamically called function modules (BTE, transaction FIBF) or CALL CUSTOMER FUNCTION...

All user-exits (including BAdIs) are predefined by SAP. When you implement BAdIs you will develop in the customer namespace so we do not modify anything.

If no user-exit is available and you want to modify the standard coding you will always have additional work as soon as new releases or support packages of SAP arrive because they may override your modification. SAP helps you to get back your modified objects (transaction SPAU and SPDD).

Regards

2 REPLIES 2

Former Member
0 Kudos

Hi,

BAdIs are the most up-to-date version of user-exits. Other forms include dynamically called function modules (BTE, transaction FIBF) or CALL CUSTOMER FUNCTION...

All user-exits (including BAdIs) are predefined by SAP. When you implement BAdIs you will develop in the customer namespace so we do not modify anything.

If no user-exit is available and you want to modify the standard coding you will always have additional work as soon as new releases or support packages of SAP arrive because they may override your modification. SAP helps you to get back your modified objects (transaction SPAU and SPDD).

Regards

Former Member
0 Kudos

Hi,

To find the suitable BADI for your requirement,

Go to transaction SE24 enter the object type as class cl_exithandler and click on the display button

double click on method GET_INSTANCE, put the break point on case statement.

execute and start the required transaction in new session

look for variable exit_name as and when you need the badi at your required point.. It would show the available badi's.

Hope it helps.

Reward if it is useful.

Thanks,

Srinivas