0% found this document useful (0 votes)
2 views5 pages

note 384304 for query report MM

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

2018-08-17 384304

384304 - Input help for material number does not work


(EKPO-MATNR)
Version 17 Type SAP Note
Language English Master Language German
Priority Correction with medium priority Category Special development
Release Status Released for Customer Released On 09.09.2008
Component MM-PUR-GF-RE ( Reporting )

Please find the original document at https://launchpad.support.sap.com/#/notes/ 384304

Symptom

The input help for field EKPO-MATNR (material number) does not work on the
following selection screens:

1. Document overview (ME21N/ME51N) for purchase orders, contracts, requests


for quotation, and scheduling agreements.

2. ME80FN, ME80RN, and ME80AN (general evaluations).

3. VL31N

Other Terms

ME21N, ME22N, ME23N, MEPO, ME51N, ME52N, ME53N, F4, VL31N

Reason and Prerequisites

The search help of field EKPO-MATNR is not suitable for selection screens and
must be replaced by search help MAT1 on the selection screens.

Solution

The data selection of the above-mentioned transactions is controlled by an ABAP


query that is based on a certain InfoSet. The InfoSets, queries, and their
variants now have to be adjusted accordingly.

1. Change InfoSets

a) Start Transaction SQ02 (InfoSet: Initial Screen).

b) Follow the menu path "Environment -> Query Areas -> Work Areas" and
change to the global area (cross-client).

c) Select InfoSet "/SAPQUERY/MEPO" (InfoSet for MEPO) in the list that


is displayed.

d) Choose "Change".

e) In the display of the InfoSet, now choose "Selections" (in the menu
below "Goto").

f) Create a new selection by choosing "Create". Enter the following


data:

© 2018 SAP SE or an SAP affiliate company. All rights reserved 1 of 5


2018-08-17 384304

Name: S_MATNR

Select "Selection criterion".

Sequence on selection screen: 20

Description: Material number

Format (FOR): EKPO-MATNR

Format (Extras): MATCHCODE OBJECT MAT1

g) Save and generate the InfoSet. The sytem displays warning message
AQ154 "Do all fields used have a name? (use help)" as the InfoSet is
being generated and in this case, may be ignored.

h) Change the InfoSets "/SAPQUERY/ME80FN" (Purchasing area General


evaluations) and "/SAPQUERY/MEVL31" (MEQUERY of VL31) in the same way
that you did for InfoSet "/SAPQUERY/MEPO".

2. Remove the change lock for ABAP queries.

a) Start Transaction SQ02 (InfoSet: Initial screen).

b) Follow the menu path "Environment -> Query Areas -> Work Areas" and
change to the (cross-client) global area.

c) Follow the menu path "Goto -> Query Directory".

d) Enter the value "/SAPQUERY/MEPO" on the selection screen for the


"InfoSet" selection criterion and choose "Execute".

e) Select the entry "MEPO" in the list that follows and follow the menu
path "Edit -> Cancel edit lock".

f) Remove the change lock for InfoSet "/SAPQUERY/ME80FN" and the query
"ME80FN" in the same way.

g) Remove the change lock for InfoSet "/SAPQUERY/MEVL31" and the query
"MEVL31" in the same way.

3. Changing queries

a) Call Transaction SQ01.

b) Follow the menu path "Environment -> Query Areas -> Work Areas" and
change to the global area (cross-client).

c) Follow the menu path "Edit -> Change user group", and select user
group "/SAPQUERY/ME".

d) Select query "MEPO" (purchasing documents) in the list of the


queries for user group "/SAPQUERY/ME".

e) Follow the menu path "Queries -> Change".

f) In the menu for query "MEPO", follow the path "Goto -> Field
selection -> Selections".

g) Remove the selection indicator for the "Material number" field. To


get to this field, you might have to scroll down the list of the
selection fields.

h) Save your changes.

© 2018 SAP SE or an SAP affiliate company. All rights reserved 2 of 5


2018-08-17 384304

i) In the menu for the list of reasons, follow the menu path "'Goto '->
Field selection -> Title,Format".

j) Set the "Edit lock" indicator and save your entries again.

k) Select query "MEPO" in the list of the queries for user group
"/SAPQUERY/ME".

l) Follow the menu path "Query -> More Functions -> Generate program".

m) Also carry out these steps for query "ME80FN" (General evaluations)
and for query "MEVL31" (Purchasing documents).

4. Correcting existing selection variants

Note that the original selection parameter for the material no longer exists
after the correction has been implemented.

This in particular results in variants that were created before the change and
that contain selections for the "Material" parameter no longer working
correctly. The attached report ZCHECK_VARIANTS_ME lists all of the variants that
are affected by this correction. Furthermore, the report now shows the
selections of the material number field. An automatic conversion is possible.

To do this, start this report in the test mode first (parameter test_run = "X").
The report now lists all variants containing selections in the former "Material
number" option.

If you start the report in the update mode (test_run = " "), the variants are
converted. With the parameter p_prefix, you can influence the variant name that
should be stored. The contents of this parameter are prefixed to the variant
name. So, for example, variant "1X" is stored when you enter the value "1" in
the conversion of the variant "X". If you do not fill the parameter p_prefix,
the variants are overwritten and therefore are literally converted.

The remaining parameters are used for restricting the selection range:

S_VARNAM: Restriction to certain variants

P_MEPO: only the variants of query "MEPO" are selected

P _ME80FN: only the variants of query "ME80FN" are selected

P_MEVL31: only the variants of query "MEVL31" are selected

Before this, test the conversion in depth in order to avoid the loss of variant
information.

Software Components

Software Component Release

SAP_APPL 46A - 46B

SAP_APPL 46C - 46C

SAP_APPL 470 - 470

© 2018 SAP SE or an SAP affiliate company. All rights reserved 3 of 5


2018-08-17 384304
SAP_APPL 500 - 500

SAP_APPL 600 - 600

SAP_APPL 602 - 602

SAP_APPL 603 - 603

SAP_APPL 604 - 604

Correction Instructions

Software Component From To Version Changed on ID

SAP_APPL 46B 604 6 09.09.2008 04:10:20 0000251366

Other Components

Component Description

MM-PUR-REQ-GUI Userinterface - Purchase Requisitions

MM-PUR-PO-GUI Userinterface - Purchase Orders

Support Package

Software Component Release Support Package

SAP_APPL 46B SAPKH46B26

SAP_APPL 46C SAPKH46C15

SAP_APPL 46C SAPKH46C48

SAP_APPL 470 SAPKH47022

This document refers to

SAP Note/KBA Title

© 2018 SAP SE or an SAP affiliate company. All rights reserved 4 of 5


2018-08-17 384304
617179 ME81N: F4 help doesn't work for selection field 'Material'

394039 ME81N: F4 help material number does not work

This document is referenced by

SAP Note/KBA Title

617179 ME81N: F4 help doesn't work for selection field 'Material'

394039 ME81N: F4 help material number does not work

© 2018 SAP SE or an SAP affiliate company. All rights reserved 5 of 5

You might also like