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

Call function module.

Former Member
0 Likes
314

A program we have running in prod is calling

BG00_WARRANTY_LINK_UPDATE

The program has been running since yesteday and is not showing that there are any updates or inserts happening on the database.

The func mmod does actaul open SQL , UPDATE , INSERT. It is not called in update task... so when is the data committed ?

BAR

1 REPLY 1
Read only

Former Member
0 Likes
260

If u r calling the function in ur custom program u need to explicitly commit the data if the function does not return any errors.

If u r not explicitly commiting the data the program will commit the data when it finishes processing.

However it is advisable to commit after say every 50 records so that u do not lose data if the program errors out after processing some data.

-Kiran