‎2009 Dec 07 11:13 AM
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?
‎2009 Dec 07 11:51 AM
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.
‎2023 Feb 08 8:09 AM
Hi ,
How to add two custom fields in VA21 in additional data tab B ?
Could you guide me ?
Thanks best regard !
‎2023 Feb 08 1:45 PM
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