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

How to force Database table updation .

Former Member
0 Likes
1,542

Hi experts,

i have a function module which is called while saving the tcode :- QA32 .. Inside the fuction module im fetching MBLNR from table QAMB and it is not updating the QAMB before the function module call but if i put breakpoint the standard table QAMB is getting updated pls suggest me how to handle.

Regards,

Roops.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,227

hi,

Can you provide the FM you are using for update.

hi,

Can you provide the FM you are using for update.

6 REPLIES 6
Read only

Former Member
0 Likes
1,227

write COMMIT WORK at the end of code..

I think it will solve your problem.

Read only

Former Member
0 Likes
1,227

Hi,

I think that function module is the Update function module.

So if you are saving the data from the trasction only, it is go'g to update.

and for the update function modules use always the COMMIT WORK.

Thanks.

Read only

Former Member
0 Likes
1,227

hi,

Use FM BAPI_TRANSACTION_COMMIT .

Read only

0 Likes
1,227

HI.

I have used Commit work, commit and wait etc.., but no use.... how to make standard table updation explicitly

regards,

roops

Read only

0 Likes
1,227

Hi,

before to that FM use the following statement.

SET UPDATE TASK LOCAL..

Thanks

Read only

Former Member
0 Likes
1,228

hi,

Can you provide the FM you are using for update.