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: 

BADI of VA01

Former Member
0 Kudos

Hello Guys

I need to add additional tab in VA01 in which i have to bring some custome field from KNA1 table that i have created.

will the BADI: BADI_SD_TAB_CUST_H help me in doing this? please guide me.

i appreciate u'r help.

thanks in advance.

Arun

4 REPLIES 4

Former Member
0 Kudos

Hi Arun,

You need to find a badi which triggers in the PBO part of t-code VA01.

if this badi is getting triggered in the PBO part then read the details of the badi to get a clear picture whether the thing you are asking is possible or not. if it si possible the you need to create a subscreen in se80 which will appea as a tab in your main screen. and attach it to the badi.

cheers,

Suvendu

former_member585060
Active Contributor
0 Kudos

Hi,

If you don't find any BADI or Customer-Exit for a Tcode, we can get some UserExits through

Tcode:-SPRO, display IMG--->

Sales and Distribution >System modifications>User Exits-->User Exits in Sales

Click on User Exits in Sales Document processing

USEREXIT_MOVE_FIELD_TO_VBAK
Use this user exit to assign values to new fields at sales document header level. It is described in the section "Transfer of the customer master fields into the sales document" .
The user exit is called up at the end of the FORM routine VBAK_FUELLEN.

USEREXIT_MOVE_FIELD_TO_VBAP
Use this user exit to assign values to new fields at sales document item level. It is described in the section "Copy customer master fields into the sales document".
The user exit is called up at the end of the FORM routine VBAP_FUELLEN.

USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of the sales document schedule lines.
The user exit is called up at the end of the FORM routine VBEP_FUELLEN.

USEREXIT_MOVE_FIELD_TO_VBKD
Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer master fields into sales document".
The user exit is called up at the end of the FORM routine VBKD_FUELLEN.

Just search above Exits in VA01 main program, implementing them may help you.

Regards

Bala Krishna

Former Member
0 Kudos

Hi Arun,

Follow the below steps to find BADI for any transaction

1.Open transaction SE24.

2.Now open the object CL_EXITHANDLER in display mode.

3.Go to the method tab and double click on the method GET_INSTANCE.

4.Put a break point on cl_exithandler=>get_class_name_by_interface.

5.Now execute the transaction you want to find BADI for, it will take you to the above method.

6.Write EXIT_HANDLER in fieldnames and hit enter, it will tell you the BADI used for your transaction.

7.Hit F8 and it will tell you all the BADIu2019s for your transaction.

Regards,

Manish

Former Member
0 Kudos

Hi,

check below link for implementation of badi

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=howtoimplement+badi&cat=sdn_all

Regards,

Madhu