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

Updating Database..

Former Member
0 Likes
541

Hello Gurus,

I have created a database table with a name zasset with fields, serialno, barcode and description.. my requirement is when user enters serialno, description will be displayed and when a user enters barcode, it will automatically assigned to the serialno and barcode number will be added to zasset. field barcode in zasset table in blank..

i did programming to update and it also updates the database table but mine problem is that it takes too much time to update.. is there any suggestions on this?

Regards,

Vikram Salvi..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
517

Hi

Use MODIFY ZASSET FROM WA.

Then check SY-SUBRC.

Put a break point and try debugging.

Thanks

3 REPLIES 3
Read only

Former Member
0 Likes
517

Hi,

Try using statement COMMIT.

Read only

Former Member
0 Likes
517

Hi,

Please check that you are not using commit statement inside a loop. Use Commit statement only after the execution of loop.

Secondaly, Check for other performace related factors in programming. Take a trace of your program with ST05 and analyse where the system is taking more time.

Hope this helps.

Regards

Sourabh

Read only

Former Member
0 Likes
518

Hi

Use MODIFY ZASSET FROM WA.

Then check SY-SUBRC.

Put a break point and try debugging.

Thanks