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 Qustion

Former Member
0 Likes
459

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
Read only

former_member188827
Active Contributor
0 Likes
442

yes

3 REPLIES 3
Read only

former_member188827
Active Contributor
0 Likes
443

yes

Read only

Former Member
0 Likes
442

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

Read only

Former Member
0 Likes
442

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.