‎2017 Apr 19 11:27 AM
Hi ,
Please suggest.
There is some requirement for to append field in MHIS table (Append Enhancement )
1) Can we Update /modify MHIS Table ? .
2) Is it recommended practice or create Z control table for above work ?
Regards
Ashu
‎2017 Apr 19 12:12 PM
Did you look in SE11 for Enhancement Category of the table (should be 'Can be Enhanced (character-type or numeric)' so you should be allowed to append a Z or Y (your namespace) structure to the table.
But 'Append fields' is not the original requirement, What is the intended purpose, where will they be displayed/updated?
‎2017 Apr 19 7:26 PM
Hi Raymond ,
Thanks for reply .
What is the intended purpose, where will they be displayed/updated?Append field is to be updated via save event customer exit in table MHIS and after which that will used in reports.
i would like to know 1 Can we perform operation like modify on standard sap table MHIS via save event customer exit ?
2 Is it good/recommended practice to modify standard sap table or we go for z table ?
Please share your experience and suggest.
Wbr
Ashu
‎2017 Apr 20 6:47 AM
You could theorically update the zz fields in some update task FM executed after SAP standard ('after save'), but It would be much better to find some enhancement to change the zz_fields in internal memory 'before' SAP registers its own update task FMs, that would insure better data consistency, also you would get correct logging. (So, find some 'before save' point)
‎2017 Apr 20 8:29 AM
Hi ,
Thanks for wonderful guidance.
I will check and discuss with you.
Warm Regards
Ashu
‎2017 Apr 19 9:43 PM
1) You can (with a key)
2) It is not a recommended practice
Such questions have already been asked on SCN before (this would apply to all the standard tables) and it is common knowledge, in general. Kindly make some effort to search before posting or just ask a more experienced teammate first.
It is impossible to "suggest" any other solution since you haven't shared the business requirement.
‎2017 Apr 20 5:35 AM
Hi Jelena Perfiljeva
Thanks for reply.
I have searched related to MHIS table but didn't find any help.
Wbr
Ashu