SAP-Additional Tab For Vendors In BP (Business Partner) Transaction - Part I.
...Next (Part II.)
Step 1: Add new custom fields to standard structure āINCL_EEW_LFA1ā. This structure is already included in LFA1. Hence the new custom fields will automatically reflect in LFA1 Table.
Step 2: Now add the same fields to structure āINCL_EEW_LFA1ā. Ensure the data element should be a character type with length 1. Here we have used standard data element BAPIUPDATE.
Step 3: Now Create a Custom Function Group and mention the below code in the Top Include of the Function group.
TABLES: lfa1.
CONSTANTS: table_name_lfa1 TYPE fsbp_table_name VALUE 'LFA1',
false TYPE boole-boole VALUE ' '.
DATA: gs_lfa1 TYPE lfa1.
Step 4: Next Create a screen in Function group. Make sure to set the Dynpro type as Subscreen. In PBO of the screen call function āBUS_PBOā and in PAI call function āBUS_PAIā as shown below.
Add the required custom fields to the screen as well as shown below.
Activate the screen and the complete function group.
Step 5: Customization Step (Customizing Request will be created).
Go to BUPT transaction code. Navigate to BUPT->Business Partner->Control->Applications.
Create a new application named āZLFAā with New Entries button.
Now navigate to Business Partner->Control->Data Sets and create a new data set āZLFA01ā as shown below.