Sei sulla pagina 1di 14

Material Master Search Help

Creation: Step by Step Guide

Applies to:
SAP R/3 and ECC 6.0.
For more information, visit the ABAP homepage.

Summary
This document explains in detail step by step procedure to create new search help for material field.

Author: Narla Rama Krishna Mohan


Company: Intelligroup Asia Pvt Ltd
Created on: 01 July 2009

Author Bio
Narla Rama Krishna Mohan has 12 years of Work Experience including 5 years of SAP logistic
modules. He has been with Intelligroup for more than 2 years in Supply Chain Management
and currently designated as Senior Consultant.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 1
Material Master Search Help Creation: Step by Step Guide

Table of Contents
Overview .............................................................................................................................................................3
Material Search Help Basics ...........................................................................................................................3
Procedure Steps .............................................................................................................................................3
Material Search Help Creation Procedure with Example ...................................................................................4
Step 1: Decide Fields Required in Search Help .............................................................................................4
Step 2: Identify Corresponding Database Tables from Where these Fields Can Be Retrieved .....................4
Step 3: Create Database View Using Above Mentioned Tables and Fields...................................................4
Step 4: Create Elementary Search Help Using Above View ..........................................................................6
Step 5: Create Append Search Help with Above Elementary Search Help to
Attach with Material - Collective Search Help MAT1_A..................................................................................8
Step 6: Check Whether New Search Help Appears In Any Transaction where Material Field Is Present ...12
Related Content................................................................................................................................................13
Disclaimer and Liability Notice..........................................................................................................................14

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 2
Material Master Search Help Creation: Step by Step Guide

Overview
The input help (F4 help) is a standard function of the R/3 System. The user can display the list of all possible
input values for a screen field with the input help.
In Standard SAP, there are many search helps available for Material field. This search help is designed using
combination of collective and elementary search helps.

Material Search Help Basics


Material Data element MATNR is assigned to Search Help S_MAT1.
Collective Search Help S_MAT1 has Included search help S_MAT1_APPEND.
Append search help S_MAT1_APPEND Appends S_MAT1 and has Included search help MAT1.
MAT1 collective search help has the following Included search helps:
1. MAT1_A - Find Material Number.
2. MAT1_MPN - Search helps for MPN Management
3. /BEV2/ED_MAT_NUMBER - Excise Duty Materials.
Collective search Help MAT1_A has various standard Search Helps from MAT1A to MAT1W.
Additional search helps can be created under this Collective search help either by
Option 1: Adding New search help in Append search help MAT1_A_APPEND
Option 2: Creating new Append search help and adding new search help in that.
Creating Search help for material field using Option 2 is explained in this document.

Procedure Steps
1. Decide fields required in search help
2. Identify corresponding database tables from where these fields can be retrieved
3. Create Database View using above mentioned tables and fields.
4. Create Elementary Search help using above View
5. Create Append search help with above elementary search help to attach with Material collective
search help MAT1_A
6. Check whether new Search help appears in any transaction where material field is present

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 3
Material Master Search Help Creation: Step by Step Guide

Material Search Help Creation Procedure with Example


Step 1: Decide Fields Required in Search Help
For Example consider following fields to be available in Search Help
Client (MANDT) ;Material(MATNR) ; Material Desc. (MAKTG); Plant (WERKS) ; Old Material
Number(BISMT) ; Language(SPRAS)

Step 2: Identify Corresponding Database Tables from Where these Fields Can Be Retrieved
Above mentioned fields can be retrieved from Tables MARA, MAKT and MARC

Step 3: Create Database View Using Above Mentioned Tables and Fields.
Go to Transaction code SE11. Specify view name for ex: Z_MAT2A. Click on Create button

Select Database View and click on copy

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 4
Material Master Search Help Creation: Step by Step Guide

Specify short Description for the view. In Table/Join conditions Tab, specify Tables MARA, MAKT, MARC.
Maintain following Join conditions as shown below

In View Flds Tab specify fields required

In Selection conditions tab specify following condition

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 5
Material Master Search Help Creation: Step by Step Guide

In Maint. Status tab specify- Access Read only and “Display/Maintenance allowed with Restrictions”

Save this view. Assign correct package. Check and Activate.

Step 4: Create Elementary Search Help Using Above View


Go to Transaction Code SE11.Select Search help. Specify Search help name for Ex: ZMM_2A . Click on
Create button

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 6
Material Master Search Help Creation: Step by Step Guide

Select Elementary search help

Specify short description for this search help. This description will appear as heading of the tab in collective
search for material.
Specify view Z_MAT2A as Selection method. Specify “dialog with value restriction “ in Dialog type.
Specify Search help parameters using ZMAT_2A view fields.
• Check all search help parameters with IMP (Import).
• Check MATNR search help parameters with EXP (Export).
• Specify position in List and Search areas.(for ex: give 10,20,30,40,50 in both the columns).
• Specify Default value if any( for SPRAS default value can be given as ‘EN’).

Save, Check and Activate.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 7
Material Master Search Help Creation: Step by Step Guide

Step 5: Create Append Search Help with Above Elementary Search Help to Attach with Material -
Collective Search Help MAT1_A
Go to Transaction code SE11.Select Search help. Specify Search help name MAT1_A and click on change
button

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 8
Material Master Search Help Creation: Step by Step Guide

Go to -> Append Search Help or click function key ‘F5’. Click on Create Append button

In the pop up screen; specify Append Name ZMAT2_A

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 9
Material Master Search Help Creation: Step by Step Guide

Specify short description for the append search help

In the Included Search Helps tab, specify search help “ZMM_2A”

Click on parameter assignment button: .


System will ask whether to propose parameter assignment

Click Yes.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 10
Material Master Search Help Creation: Step by Step Guide

Click on Copy button.


Save, check and activate.
System will take you back to collective search help MAT1_A screen and displays appended search help
ZMAT2_A in the included search helps list.

Save, check and activate.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 11
Material Master Search Help Creation: Step by Step Guide

Step 6: Check Whether New Search Help Appears In Any Transaction where Material Field Is Present
One NEW tab will appear in Material Search with fields Material, Material Description, Old material number,
Plant and Language.
For example, go to Transaction Code MM03

Select the field Material and click F4 and observe new search help tab appears.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 12
Material Master Search Help Creation: Step by Step Guide

Related Content
Structure of a Collective Search Help
For more information, visit the ABAP homepage.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 13
Material Master Search Help Creation: Step by Step Guide

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 14

Potrebbero piacerti anche