‎2010 Oct 11 2:01 PM
Good day experts,
I am a functional consultant trying to address a client requirement. In short, the requirement can be met either by creating new fields (two) in either MARC or MARA tables or creating a custom table (zXXXX or similar). Is there a clear "best practice" on this issue? Your help greatly appreciated
‎2010 Oct 11 3:18 PM
Generally, it's better to go with the append structure. Without more specifics, it's up to you, but change management is certainly easier with appended fields. If you use the existing tables, then assuming you have flagged the fields for changes, the standard object will pick up and record the changes on the fields. If you use a Z-table, then you've got to modify the existing change object, re-gen the code, and modify the codepoint to record the change or you've got to create a new object and embed the WRITE function call in the standard code, also a modification unless it can be puit in an implicit enhancement.
‎2010 Oct 11 7:12 PM
Hi Micheal,
Append structure can be the best approach as sap recommends following procedure when you want to address the business requirement.
Incase your business requirement is suffice using Append structure and some exit to populate this newly added fields in MARA table. You can proceed with the approach. you should keep Z table option as your last option if cant do this via append structure and some exits.
Other good thing about using Append and enhancements is. It will not be affected by system upgrades.
Hope this helps.
you can also refer courseware BC425 or TAW12 for your reference.
Thanks
Edited by: Sumit Naik on Oct 11, 2010 8:12 PM