Vendor Enhancement Step-By-Step
Go to Tcode SPRO .Now go to Logistics - General and follow the steps
Here i am taking Vendor as an Example.
First Step : Click on Prepare Modification button.
Click on new entries. Mention your screen group and description.
Select your screen group and click on Label Tab pages folder on the left hand side.
Now click on New Entries
Mention Function Code and Description. Execute “Business Add-In: Processing of Master Data Enhancements”. go back the customizing screen. The description and icon given here will be shown as the button description and icon on
the vendor maintenance.
Save the entries and
Specify an implementation name – Z_VENDOR_ENC and press ok.Click on the “Create” button.
Enter the short text.
Now go to Interface Tab and then go to the method “CHECK_ADD_ON_ACTIVE”.
.Now click on create button Mention the name of your enhancement given before and press on create button.
Now select your enhancement implementation name and press ok.
.Now press ok.
e_add_on_active = 'X'. The screen group “ZH” has been specified in the first step of the customizing
.Enter the below code as shown below. endif.
if i_screen_group = 'ZH'.
.Now define i_screen_group and e_add_on_active by double clicking on them.
Entries For i_screen_group.
Entries For e_add_on_active
Check.Activate and go back.
Now activate the entire badi.
Go back to the customizing Execute “Business Add-In: Customer Sub screens”
Mention your sub screen implementation name “Z_VENDOR_ENC_CS”
.Here at the bottom specify the screen group created earlier by clicking on the drop down box.Now mention the short text.
Now go to Interface tab and select the method “GET_TAXI_SCREEN”
.Select your sub screen enhancement implementation and press ok. e_screen = '0100'.
Enter the following code. endcase. e_program = 'Z_VENDOR_ENHANCEMENTS'. case i_taxi_fcode. Fcode “'ZIDES_V1” is the label tab page created in the customizing. e_headerscreen_layout = ' '. We specify the program and the sub-screen to be called by SAP for the vendor enhancement here.
I_taxi_fcode E_screen E_program
.Now again mention the code as earlier by clicking on them.
Give DYNNR in Type Radio Button for the E_screen
Entries For I_taxi_fcode
Entries For E_program
Entries for E_headerscreen_layout
Creation of the sub-screen 1. 2. Now finally CHECK the badi for sub screen. Create a module pool program via SE38 “Z_VENDOR_ENHANCEMENTS”.I have taken “Z_Vendor_Enhancements” which I mention in the above code.
Create a program in se80. Activate the module pool program.Check and Activate.
1. Screen type – Sub-screen Other attributes – Screen group ZH – There is a popup which comes up as soon as this entry is made
Go to transaction SE51 Create a screen “0100” for the above module pool with the following attributes a. 2.
Mention your screen group name below and the description.
Save and Check.
Specify all the fields from the table LFA1 with the screen flow logic if necessary Save and activate
Activate the entire program.
Click on that
This is what you can see with fields which u selected to view.
.Go to tcode XK02 Vendor Enhancement is the button we created.
The transaction XK01 is now ready for taking in all the necessary inputs for the enhanced fields and updating the
table with the values.