Tuesday, August 23, 2016

BADI _ Business Add-Ins Scenario - Custom Tab in VL01N Header

- Adding a custom tab in VL01N
1) Append structure in LIKP
2) Create a function group and create 2 FMs transferring data to screen and other from screen
3) Create Screen in the function group with required fields mapped to fields created in Append structure to LIKP
4) In Se18 provide the BADI name as LE_SHP_TAB_CUST_HEAD , it has 3 methods
- For activating the custom TAB
- For transfering data from screen
- For transfering data to Screen


 
  ef_caption = text-000. “ Screen Caption
  ef_program = 
'SAPLZSD537_HEAD'.“SAPL Followed by the Function group created ZSD537_HEAD
  ef_position = 
4. “ Tab Position
  ef_dynpro  = 
'9000'. “ Screen Number
  cs_v50agl_cust = 
'X'.


Go to method Transfer Data to Sub screen
Call the SET Function Module Go to method Transfer Data From Sub screen
Call the Function Module, Get data from screen
Activate BADI Implementation.
 Go to Header Details
 Go to the tab Additional Data.

No comments:

Post a Comment