Do you have any question about this error?
Message type: E = Error
Message class: AQ - Message texts for SAP Query
Message number: 154
Message text: ¿Se conocen todos los campos necesarios? (utilice la Ayuda)
<ZH>This is only a warning. A generated version of the InfoSet is
always made available.</>
When generating query reports for queries using this InfoSet, access to
database tables and additional tables has been optimized so that only
the really necessary fields are retrieved (GET or SELECT with field
list). This represents a considerable improvement in performance over
the method where all fields of a table line are retrieved (GET without
field list or SELECT *).
It is possible that this particular InfoSet does not contain all the
information required to determine the necessary fields. In this case,
the retrieved fields may be set to their initial value when the query
report is processed.
<ZH>Therefore, check whether one of the cases described below applies
and correct your InfoSet accordingly.</>
To facilitate optimized access to database tables and additional
tables, the fields needed to generate query report are determined when
an InfoSet is generated. These fields may be any of the following:
El sistema emite un mensaje de error y no le permitirá continuar con esta transacción hasta que se resuelva el error.
Fields included in field groupsIf one of the pieces of code contains ABAP/4 statements which access
fields implicitly, use the ABAP/4 statement FIELDS to ensure that all
the used database fields, table fields and additional fields are also
explicitly named.
Example:
Suppose the table KNC1 contains the fields UM01U, UM02U und UM03U with
the sales for the first three months of a year. An additional field Q1,
which is to hold the sales for the first quarter, calculates the total
from these three fields using an external PERFORM.
PERFORM QUARTAL1(pppppppp) USING Q1.
Access to the fields KNC1-UM01U, KNC1-UM02U and KNC1-UM03U is via the
shared memory area for the table KNC1 in the query report and in the
called program pppppppp. You cannot determine from the above code that
the specified fields are required. Therefore, you must change this
piece of code as follows:
PERFORM QUARTAL1(pppppppp) USING Q1.
FIELDS: KNC1-UM01U, KNC1-UM02U, KNC1-UM03U.
Note that this must be done for each piece of code because a query
report only uses code if necessary and you must thus determine for each
piece of code which fields are actually needed.
Note also that you only have to specify the fields which are required
immediately.
Example
The additional fields F1 and F2 are defined with the following code:
F1: F1 = tab-field " tab-field is a database field
F2: F2 = F1 + 2.
Although F2 accesses tab-field indirectly, it is unnecessary to list
tab-field as a used field in the code for F2. This is because the
processing of these indirect references is performed automatically when
the InfoSet is generated. The code for both additional fields is
correct in this form.
In exceptional cases, you can use the statement
FIELDS tab.
Here, tab is a database table or an additional table. This causes all
fields in the table tab to be retrieved in the query report. Note that
in this case, you switch off the optimized access to the table tab and
there is a considerable loss in performance when queries are processed.
Extracto de mensaje de error del sistema SAP. Copyright SAP SE.
AQ154
- ¿Se conocen todos los campos necesarios? (utilice la Ayuda) ?Get instant SAP help. Start your 7-day free trial now.
AQ153
Este campo no se puede incluir en un grupo de campos
¿Qué causa este problema? The field you attempted to include in a functional group exceeds 999 characters.Respuesta del sistema El sistema emite u...
AQ152
La tabla & está basada en el InfoSet
¿Qué causa este problema? The table you attempted to link to the functional area either belongs to the logical database or is not the same as the t...
AQ155
Grupo de campos & no contiene campos
¿Qué causa este problema? You defined a functional group without assigning any fields to it. When you try to save such functional areas, they are d...
AQ156
Verifique sus especificaciones para la secuencia
¿Qué causa este problema? When defining a basic list, a statistic or a ranked list, the specifications for a sequence of single fields are not uniq...
Haga clic en este enlace para buscar todos los mensajes de SAP.