Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
775 views3 pages

ABAP - S4 Append Structure With Extending Views

The document discusses an error that occurs when appending a field to an ABAP structure called MARC. It provides a solution to the error by extending the MARC proxy view to include the newly added field. The steps to extend the view are outlined, including creating a DDL source, adding the extension code, and activating the DDL source. A related SAP note on proxy substitution is also mentioned.

Uploaded by

Marta Varino
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
775 views3 pages

ABAP - S4 Append Structure With Extending Views

The document discusses an error that occurs when appending a field to an ABAP structure called MARC. It provides a solution to the error by extending the MARC proxy view to include the newly added field. The steps to extend the view are outlined, including creating a DDL source, adding the extension code, and activating the DDL source. A related SAP note on proxy substitution is also mentioned.

Uploaded by

Marta Varino
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ABAP : S4 Append Structure with extending views

Orhan Göktaş Follow


Aug 17, 2017 · 2 min read

I got a surprising error message after appending just one field to MARC.

MARC activation error

MARC and proxy object NSDM_V_MARC have different numbers of columns

Everything looks fine at SE11. MARC is activated and newly added field is there.
However, “ DBSQL_REDIRECT_INCONSISTENCY ” dump occurs when listing values
from SE11 and SE16n. This is how I solve it !

MARC and NSDM_V_MARC are not consistent error


Extending proxy objects with newly added fields is the solution as described in note
2242679 — Redirect inconsistency — Proxy Substitution ! It’s a perfect guide to append
structures on tables such as MARC, MBEW,EBEW,MKPF, MSEG,MARD,MKOL etc.

You can follow steps below to extend view for MARC and see the note in action!

Note:MARC has only one proxy object named “NSDM_V_MARC”.My append structure
name is “ZZMARC”.

Go to ADT and create new DDL source.

Give the DDL name as “YOURAPPENDNAME”_DLL and description as you wish.


Select “Extend View” as template.

Paste the code below and add all of your newly added fields

1 @AbapCatalog.sqlViewAppendName: 'ZZMARC_V'
2 @EndUserText.label: 'Extension view for Append ZZMARC'
3 @AccessControl.authorizationCheck:#NOT_REQUIRED
4 extend view nsdm_e_marc with ZZMARC_E {
5 zzfield
6 }
7

ZZMARC_DDL.DDL hosted with ❤ by GitHub view raw

Activate the DDL source. All done ! You can check values from SE16n and SE11.

Note 2242679 also explains the implementation and execution of program


“NSDM_PROXY_SUBSTITUTION” . But, I didn’t need it. I worked on 1610 S4CORE 101
and ABAP 7.51. You may check based on your requirements.

May the solution be with you !


)

You might also like