Application Development 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: 

User Exit Qustion

Former Member
0 Kudos

hi,

i wont to now if there is way that i do user exit and i do there append to the table in user exit (tab tables) if this table is influence on tables in database?

Regards

1 ACCEPTED SOLUTION

former_member188827
Active Contributor
0 Kudos

yes

3 REPLIES 3

former_member188827
Active Contributor
0 Kudos

yes

former_member200338
Active Contributor
0 Kudos

Hi,

U mean to say that you are going to add a new row into a internal table which is going to affect database table ?

Yes. it will. But you need to set the appropriate flags. for example, if you are going to add a new row in XVBAP table in sales order, then u need to set the field UPDKZ = 'I'.

This will insert the row in to the database as well.

Reward points if useful,

Regards,

Niyaz

Former Member
0 Kudos

Hi,

Yes I think you can do it......but instead of append use eiher the insert,modify or update command.Please make sure that you use enqueue to lock the table before update and use dequeue to unlock the table after update.

Nevertheless,I suggest you to find a FM to do a database update instead of doing it through modify,update or insert commands.

Hope it was useful.

Thanks,

Sandeep.