Upload
tbeka27
View
213
Download
0
Embed Size (px)
Citation preview
8/22/2019 sapnote_0000550273
http://slidepdf.com/reader/full/sapnote0000550273 1/2
03.06.2013 Page 1 of 2
SAP Note 550273 - Copy S032: Error message for datefields LETZTBEW
Note Language: English Version: 3 Validity: Valid Since 10.10.2002
Summary
Symptom
If you create a user-defined info structure as a copy of S032, the system
displays error message M2078 'Data Object XMCMSEG has no component named
LAST LETZTZUG' or error message M2430 'Field MCMSEG-LETZTZUG:Date field
missing in the ABAP dictionary' during the generation of the update rules.
The system generates a similar error message for the key figures Date of
last retirement, Date of last movement, Date of last consumption, and so
on.
Other terms
LETZTBEW, LETZTZUG, LETZTABG, LETZTVER, M2430, M2 430, M2078, M2 078, MC21,
MC22, MC23, MC24, MC25, MC26, generate, generation.
Reason and Prerequisites
The corresponding fields LETZTZUG and LETZTABG and so on are in fact not in
the MCMSEG or MCBEST. The reason is that the updating of our standard info
structures does not occur via the update rules displayed with MC26 but
instead, it is fixed coded in the programs RMCSS032 or RMCSS031. The
program logic used in this case can be reproduced only with difficulties
for user-defined info structures. In particular during the use of
requirements, this can result in the error described in note 102129, that
is with a goods receipt, for example, the field is initialized for the date
of the last goods issue. The use of formulas according to the specimen
mentioned below avoids this error, however, the reading of the databasetable (here: S932) results for performance losses.
Solution
You can achieve the correct updating of the date fields, similar for
RMCSS032 FORM F0010_UPDATE, by controlling the update, for example, via the
following formular:
Last receipt:
FORM MCB2_600.
TABLES: S932.
SELECT SINGLE * FROM S932 WHERE WERKS = MCMSEG-WERKS AND
LGORT = MCMSEG-LGORT AND
MATNR = MCMSEG-MATNR.
IF NOT mcmseg-mzubb IS INITIAL AND
mcmseg-sydat GT S932-letztzug.
FORMULA_VALUE_OBJECT = mcmseg-sydat.
ELSE.
FORMULA_VALUE_OBJECT = S932-letztzug.
ENDIF.
ENDFORM.
8/22/2019 sapnote_0000550273
http://slidepdf.com/reader/full/sapnote0000550273 2/2
03.06.2013 Page 2 of 2
SAP Note 550273 - Copy S032: Error message for datefields LETZTBEW
(Do the same for LETZTABG, LETZTBEW, LETZTVER).
Remark: The name of the form routine depends on the number of the formula
used. The table name S932 must be replaced by the number of the
user-defined info structure.
Refer also to notes 195158 and 483735 for the creation of user-defined info
structures.
Header Data
Release Status: Released for Customer
Released on: 10.10.2002 12:23:31
Master Language: German
Priority: Correction with medium priority
Category: Consulting
Primary Component: MM-IS-IC Inventory Controlling
The Note is release-independent
Related Notes
Number Short Text
483735 Self-defined info structures with reference S031, S032, S039
195158 Copy S032 is updated incorrectly