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

Implementing a BaDI

former_member186741
Active Contributor
0 Likes
1,648

Guys,

I have found a BaDI in include LV60AA95 and want to know if I can put my own abap code within an associated method (l_sd_billing_item_exit->vbrk_vbrp_data_transfer).

If so, how do I actually put the code there? What steps do I have to follow.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,259

Hi,

If you have to implement a BADI you will have to create a implementation using SE18 / SE19. Once you create a implementation you just double click on the method and it will take you to a editor, where you can write the code.

In the BADI (SE18), when you double click on the method, it will show the parameters of the method which you can deal with in the method.

In SE19, Go to the Overview (Menu)--> Implementation then navigate to the method to write the code.

Regards,

Ravi

7 REPLIES 7
Read only

Former Member
0 Likes
1,260

Hi,

If you have to implement a BADI you will have to create a implementation using SE18 / SE19. Once you create a implementation you just double click on the method and it will take you to a editor, where you can write the code.

In the BADI (SE18), when you double click on the method, it will show the parameters of the method which you can deal with in the method.

In SE19, Go to the Overview (Menu)--> Implementation then navigate to the method to write the code.

Regards,

Ravi

Read only

0 Likes
1,259

in SE19, I entered an implementation name ZNRW_SD_BILLING_ITEM.

On the popup I then entered the definiton name BADI_SD_BILLING_ITEM.

I then get the error:

BaDI definition BADI_SD_BILLING_ITEM is only provided for SAP internal use.

Read only

0 Likes
1,259

Well, it sounds like the BADI is not release for customers yet.

Regards,

Ravi

Read only

0 Likes
1,259

Neil,

Then it is for SAP use only.. eventhough its a BAdI it cannot be used by the customers. Open a OSS message & request SAP if they have an alternative.

~Suresh

Read only

Former Member
0 Likes
1,259

Hi Neil,

BADI's related to SD are currently for internal use that means you can never create your implementation nor change the existing one, you can always make use of good old USER EXITS (MV45AFZ*) for your enhancemnts.

Read only

0 Likes
1,259

thanks to Ravi, Suresh and Sharath, I checked in OSS and note 864944 explicitly says that BADI_SD_BILLING_ITEM is intended only for internal SAP use.

For some reason I can't award points yet but they will be as soon as I'm able.

Read only

Former Member
0 Likes
1,259

Hi Neil,

Please check this site.

http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm

SAP help on BADI enhancement with sample badi

http://help.sap.com/saphelp_nw04/helpdata/en/3e/0e1089c24611d1ad09080009b0fb56/frameset.htm

Reward points if helpful,

Rgds,

Sumana