How to Append Standard Tables having Replacement Objects in S/4HANA? Each business is unique, and one size and arrangement doesn’t fit all. You might go to S/4HANA or Cloud, client will constantly have something for which we really want to upgrade and redo. Same occurred with us. Our client requested that we add not many custom fields in MARC. I thought, what serious deal!! I immediately affixed a custom design and attempted to enact the table. I thought it was a breeze and a drop in the bucket.
In any case, guiltless me, didn’t have a clue about that, I should perspire for this basic prerequisite and which at last persuaded me that it is beneficial to share my realizing so the entire SAP club would profit from my mix-ups (read discoveries). How to Append Standard Tables having Replacement Objects in S/4HANA?
According to the prerequisite we expected to annex a few fields in MARC.
In S/4HANA for certain tables (eg. MARC … .) on the off chance that you add a construction it tosses a blunder and you can not enact the table as is it.
The following is an ongoing mistake screen capture.
To conquer this, we should Expand the reliant Perspectives (Compact discs) also.
Procedures
Go to SE11. Enter Table: MARC
Make an Add Construction with the necessary fields (ZZPROCCODE). Attempt to enact it.
“MARC and intermediary object NSDM_V_MARC have various quantities of segments”
On the off chance that you go to SE14 and attempt to Enact and Change the Data set. You will get a similar mistake message “MARC and intermediary object NSDM_V_MARC have various quantities of segments”.
Go and check in SE11 for NSDM_V_MARC (SQL ViewName)
Assuming you look carefully, this is the relating SQL View for the Center Information Administrations NSDM_DDL_MARC.
We added the Annex Design in table MARC. Be that as it may, in this View, we don’t find the Custom Z Annex Construction. To get this field NSDM_V_MARC we should broaden the Cds View.
Go to Eclipse/HANA Studio -> Select the Package -> Right Click -> New -> -> Other ABAP Repository Object
Select Center Information Administrations, grow it and snap on Information Definition. A screen like underneath will show up. Input the required fields.
Hit Straightaway and it will request transport demand. Select the proper one where you really want to save it.
Since we are intending to broaden the Cds View, select Expand View layout as displayed beneath.
For our turn of events, the Lengthy View name is Z6007_POC_EXTEND_CDS.
Substitution Item for MARC is NSDM_E_MARC, which is our standard Albums View and we will expand this view. We really want to change the default sqlViewAppendName as well (We have named it Z6007_MM01_POC1).
If it’s not too much trouble, note: We are expanding the Albums View NSDM_E_MARC and not the comparing SQL View NSDM_V_MARC.
The projection field or the result field is similar field we need included MARC Attach Design. So the code ought to look like beneath.
That is all there is to it. Presently Check and Initiate the Lengthy View.
Go to SE11 and Check the View NSDM_V_MARC
The new field ought to be accessible now in this View. You ought to have the option to initiate your table MARC without blunder.
This is the manner by which we ought to refresh in S/4HANA Tables, on the off chance that we have a substitution object. This is a basic post however except if you work in S/4HANA Undertakings, you won’t ever experience and gain proficiency with these basic arrangements.
YOU MAY BE INTERESTED IN
A Comprehensive Guide to SAP ABAP Training Online
Best Practices for SAP Cloud Platform Development: A Comprehensive Guide