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

Change BADI Interface

Former Member
0 Likes
3,511

Is it possible to change the import and export parameters of a standard SAP BADI? What do I do if I have a BADI that is missing a required change/export field? I don't have a specific example, just this question.

Thanks,

Aaron

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,586

Hi Aaron,

There are 2 parts to your question

Part1

*******

We have come across posts where a BADI is having more methods in an older SAP version and the ABAPer needs additional interfaces available in the newer versions in the older ones

for this we need to check if any OSS notes are available

Part2

*******

You need an entirely new functionality(method) in an existing standard BADI

then these are the things you need to know

(a) Badi interface classes cannot be enhanced

(b) You need access keys to change an interface class wherin you can change the export/import parameters

*interface class -> in se18 -> interface tab of every badi you have an interface name which contains the methods for that class which we eventually get as badi methods in implementations

We can also create custom BADIs and call them in standard programs...but is not advisable to change standard ones(it may make a system unstable if not carefully done)

If a BADI does not contain the particular field in it's signature you need check for alternate solutions and only if it absalutely unavoidable should we modify a standard one...

Hope if was useful

Reward if helpful

Regards

Byju

3 REPLIES 3
Read only

Former Member
0 Likes
1,587

Hi Aaron,

There are 2 parts to your question

Part1

*******

We have come across posts where a BADI is having more methods in an older SAP version and the ABAPer needs additional interfaces available in the newer versions in the older ones

for this we need to check if any OSS notes are available

Part2

*******

You need an entirely new functionality(method) in an existing standard BADI

then these are the things you need to know

(a) Badi interface classes cannot be enhanced

(b) You need access keys to change an interface class wherin you can change the export/import parameters

*interface class -> in se18 -> interface tab of every badi you have an interface name which contains the methods for that class which we eventually get as badi methods in implementations

We can also create custom BADIs and call them in standard programs...but is not advisable to change standard ones(it may make a system unstable if not carefully done)

If a BADI does not contain the particular field in it's signature you need check for alternate solutions and only if it absalutely unavoidable should we modify a standard one...

Hope if was useful

Reward if helpful

Regards

Byju

Read only

Former Member
0 Likes
1,586

Hi,

Badi is standard exits from SAP and the parameters cannot be changed.

Refer

https://forums.sdn.sap.com/click.jspa?searchID=10943353&messageID=1773063

Regards

Kiran Sure

Read only

Former Member
0 Likes
1,586

Hi Aaron,

SAP Standard BAdi Interface is based on a pre-defined Interface. In order to change the interface delivered by SAP proceed as follows.

1. Execute SE24 and input the interface name in Object type input field say IF_EX_ME_PROCESS_PO_CUST

2. Press the option Change

3. System will ask you for the access key for necessary modifications to SAP delivered object.

4. Consult your BASIS team and request for necessary access key.

5. Once obtained then input the access key and then change the interface according to your requirement.

6. Once changed with newly added parameters, activate the Interafce.

Note: Be cautious not to delete the existing interface parameters as no of objects may get effected.

Hope this is helpful. Reward accordingly.

Thanks and Regards,

Maddineni Bharath.