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

user-exit

Former Member
0 Likes
501

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

4 REPLIES 4
Read only

Former Member
0 Likes
444

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

Read only

Former Member
0 Likes
444

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

Read only

Former Member
0 Likes
444

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.

Read only

Former Member
0 Likes
444

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