Add Custom Fields in Header Level
Add Custom Fields in Header Level
Add Custom Fields in Header Level
The task is to find out the appropriate BADI for it and then implementing it.
Step13. The scrren is displayed. Now hit the enter button from Keyboard.
Step14. BADI ‘LE_SHP_TAB_CUST_HEAD’ enable us to enhance the header of the delivery .
Click on F8 button.
Step15. BADI ‘LE_SHP_TAB_CUST_ITEM’ enable us to enhance the Item Details of the Delivery.
Click on F8 button.
Step16. Click on F8 button.
Step25. All the header tabs are displayed. Our badi enhancement will add up a new tab in this screen.
Step26. Go to transaction SE18.
Step27. Provide the BAdi name ‘LE_SHP_TAB_CUST_HEAD’ & click on display button.
Step28. The interfcae contains some methods for adding extra tab to the header of the delivery screen.
Step29. Go to Transaction SE11.
Step30. Procide the Header of delivery table name : LIKP and click on Display button.
Step31. Clcik on Append structure ans cretae a append structure ‘ZZOTHER_DELV_HEAD’ with two fields .
Activate the structure.
Step33. Select the Function Group and provide the name as ‘ZFG_DELIVERY_ENHC’ and create it..
Step34. In the Automatically include program : ‘LZFG_DELIVERY_ENHCTOP’ create two data objects and
activate the imclude.
Step35. Create a screen ‘5555’ in the function group and select the screen type as subscreen and click on the
layout to design it.
Step36. Create twi test fileds and two input fields with the same name as two data object are created in the
top include ‘LZFG_DELIVERY_ENHCTOP’. Activate it at last.
Step37. Activate it.
Step38. Cretae a funcction module ‘ZGET_DELIVERY_HEAD_SCREEN_VAL’ under the FG. Provide the
exporting parameter and click on source code tab.
Step39. Provide the below code and activate the function module.
Step40. Cretae another funcction module ‘ZSET_DELIVERY_HEAD_SCREEN_VAL’ under the FG. Provide the
importing parameter and click on source code tab.
Step41. Provide the below code and activate the function module.
Step42. All screen and relevant function module are ready to be used in the BAdI Implementation. Now go to
teh Tcode- SE19 .
Step43. Provide the BAdI name ‘LE_SHP_TAB_CUST_HEAD’ and clcik on Create Impl. Button.
Step44. Provide the implemenataion name ‘ZIMPL1_LE_SHP_TAB_HD’ and clcik on Continue button.
Step53. In side this method call teh function module ‘ZGET_DELIVERY_HEAD_SCREEN_VAL’ and activet it.
Double clcik on the function module name to get to know the details.
Step54. The detailed source code of teh FM ‘ZGET_DELIVERY_HEAD_SCREEN_VAL’ is as follows.
Step59. Procie the ship-to-party and planned Gi date and clcik on teh header icon as highlighted.
Step60. Click on the new appeared tab ‘Carr Details’ . The sub screen is called and the designed fileds are
displayed.
Step63. Navigate along the highlighted path to see teh details after save.
Step64. clcik on the Header Icon .
Step65. Naviagte to teh appropriate tab and teh saved details are appeared.
Step66. Go to trannsaction SE11 and go to table : LIKP and clcik on the display contents button.