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

Adding custom fields in screen

Former Member
0 Likes
1,657

I have added two custom fields in QUOTATION(VA21) in additional data tab B...when i create quotation for a particular sales order i am getting the fields in VBAK table and the issue is while creating sales order for the same i have to get these field values automatically in the screen but i m not getting this ......how to do this?

Can anyone help me in this?

3 REPLIES 3
Read only

Former Member
0 Likes
1,150

Hi,

It seems that you have added in BADI/EXIT where it is specific to Quotation. Hence these fields are not visible in the sales order. Or there might be some restriction only to the transaction VA21.

Please search and check the correct BADI for the sales order.

May be you need to add the same code once again in another BADI.

Read only

former_member756493
Discoverer
0 Likes
1,150

Hi ,

How to add two custom fields in VA21 in additional data tab B ?

Could you guide me ?

Thanks best regard !

Read only

deepak_pandey
Product and Topic Expert
Product and Topic Expert
0 Likes
1,150

linhxeom

Adding Custom fields to Additional Data B tab perhaps requires Access Key to that particular screen which can further be used to modify the layout with the new field and add its logic in the screen event.

Alternatively, better approach would be to add a new Custom Tab to the VA21/22/23 T-Code and add your Custom field in this tab. To achieve this, you can utilize following BADIs (for Header and/or Item) which are part of Enhancement Spot BADI_SD_SALES_BASIC:

BADI_SLS_HEAD_SCR_CUS -> Additional Detail Screens on Header Level

BADI_SLS_ITEM_SCR_CUS -> Additional Detail Screens on Item Level