Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Append Table vs Create zTable

Former Member
0 Likes
588

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

2 REPLIES 2
Read only

brad_bohn
Active Contributor
0 Likes
495

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.

Read only

former_member193284
Active Participant
0 Likes
495

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