2017 May 24 1:06 PM
Dear experts,
I appended a structure to MSEG, structure name is ZMM_MSEG_MB51_FIELDS. The additional fields are the following:
When I run e.g. se16n to see data, I get DBSQL_REDIRECT_INCONSISTENCY: A setting in the dictionary for table "MSEG" stipulates that all read access to this table should be redirected to database object "NSDM_V_MSEG". I found note "2242679 - Redirect inconsistency - Proxy Substitution" and after downloading Eclipse Neon I installed Core Data Services. I have added the following using the Template for Extending CDS Views
but it shows the following error, what shall I write to be acceptable?
Thank you in advance,
Konstantinos Vassiliadis
SAP ABAP developer
2017 May 25 9:47 PM
I don't have S/4HANA but from what I heard MKPF/MSEG have been replaced by MATDOC there, so you probably can't refer to them the same way you used to in ECC. This blog explains it.
It can be found using simple Google search for "MSEG in S/4HANA site:sap.com". It finds many other blogs, including this one on the extension.
2017 May 29 9:42 AM
Thank you for the answer. I am not sure if by simply appending a structure to MATDOC with the new Z-fields this will not affect compatibility between MSEG and proxy object. I will try it and let you know - it may be possible since proxy objects are available mainly for upgrading to S/4 HANA
2018 Feb 21 2:42 PM
Hi Konstantinoss,
We're facing the same issue, How did you solve it?
Thanks
Chale.
2018 Feb 27 9:09 AM
Any Solution for the mentioned issue...if solution available, please share
Thank you
2019 Nov 13 2:57 PM
I had the same issue. But it is because when creating the extended view we must refer to fields in the MATDOC, in my case they were not created. In note 2206980 it says: "In case of a system conversion all these customer fields in such APPENDs or INCLUDEs need to be appended to table MATDOC during the ACT_UPG phase (SPDD). It has to be done in any case before the MM-IM converison program will be executed which move the data from MKPF and MSEG to MATDOC otherwise data in customer fields gets lost. The structure compatibility between table MKPF / MSEG and their assigned proxy view shall be created directly after system conversion by creating extend views, see note 2242679. " It's necesary to create de fields in the table MATDOC.
2024 Feb 29 9:10 PM
We have to firstly create structure which can be used to append in MATDOC + MSEG
e.g. i created it for field SBATCH.
Now refer same structure & append it in MATDOC & MSEG
activate it
In MSEG do append structure but it won't get activated until we extend View NSDM_E_MSEG
Now finally create extension of view NSDM_E_MSEG
And activate extended view & mseg.
This will work.