SAP-Additional Tab For Vendors In BP (Business Partner) Transaction - Part I.


                                                                                                                                       ...Next (Part II.)

One needs to follow the below mentioned Steps to add an additional data tab in Business Partners (For Vendors).

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.
Define a description and Check the Active Checkbox as shown below.



Now navigate to Business Partner->Control->Data Sets and create a new data set ā€˜ZLFA01ā€™ as shown below.


                                                                                                                                       ...Next (Part II.)