‎2006 Sep 18 11:07 AM
Hi,
I am using a user exit in cc01 , i have a requirement where i need to update two fields in the mara table. what is the best way to do it.
Thanks & Regards
‎2006 Sep 18 11:13 AM
Hi,
If you have a user exit available to handle the two fields in question that is good. Else check if any BAPI would help you in this regards. do not go for direct table update.
Rgds,
HR
‎2006 Sep 18 11:16 AM
Hi
You can use the below for changing SAP stnd table fields.
<b>PCCD0001</b> <b>EXIT_SAPMC29C_002</b>
PCCD0001: Change master record - customer fields to SAP
program
<b>ZXCCAU02</b>
Regards,
Raj
‎2006 Sep 18 11:19 AM
Hi syed shah,
By updating standard table always not advisable. Are they customize fields? If yes, you can update it under your exit. Bear in mind, in exit pls try "not" to put explicit COMMIT WORK. Furthermore put your DB operation code under a Update Task FM.
If they are not a customize fields, i would suggest you get an approriate BAPI object to achieve what you want.
Hope it helps.
‎2006 Sep 18 11:50 AM
Hi all,
thanks for all ur effort, the exit i am using is PCCD0004, their is no provision in the user exit to make the changes in the table, and requirement is that, update has to made in the background.
Thanks & Regards
Syed