Adding custom fields to CS01, CS02 and CS03 (Bill Of Materials)

By Kiran Kumar Kandakatla, Intelligroup

Requirement: Customer wanted to add two new fields Country and Vendor number to Bill of materials header level. 

Procedure: We need to add customer specific fields to BOM header level, first we need to add these two fields to BOM header record table i.e. STKO, then create a sub screen two hold these two fields and write the corresponding logic in the Functional exits provided.

The above steps are explained below in Detail. 

STEP 1: Create an Append structure for table STKO.

Go to SE11 and provide table name STKO.  

Click on button Append structure  

Give name for Append structure “ZSTKO”


Add new fields to Append structure. ZZLAND1 and ZZVENDOR


Check and Activate the append structure.

A list of tables adjusted will be displayed. 

STEP 2: Find an Enhancement for BOM. 

Bill of materials transaction CS01/02/03 is assigned to package “CS”.

We can search for relevant Enhancements in CS package. 

 Go to transaction SMOD then go to Utilities-> find. 


In the search box provide Package name as “CS”

Then Execute. You will get list of available Enhancements for the given package. 

With the given short text or the enhancement we can use Enhancement PCSD0003. 

To see the Enhancement components press display button.  

You can see Functional Module Exits, Function codes, Screen Areas in the next screen. 


Select the relevant Enhancement and you can test the enhancement from SMOD transaction main screen.  

STEP 3: Create a project for Enhancement. 

Go to CMOD(Project management of SAP Enhancements) 

In the Initial Screen give any name (ZTEST) for Project. 

Then press create 


In the Next screen fill description for project and save as local object/ save to a package. 


Then Click on the   enhancement assignments button

 Add the selected enhancement there and enter then save. 


Go to back to Attributes of Enhancement project ZTEST screen

Use COMPONENTS button to see the components for the enhancement. 


From the above screen you can see Project and enhancement Implementation are in red color and other components also. 

Double click on screen exit. It will take you to Screen painter.

Add customer fields to the screen.  

Go to screen properties and mark it as sub screen. 

Click here to continue...


Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image