‎2010 Feb 04 7:15 AM
Hello Gurus,
I have created Module program for ServiceEntry Sheet (ML81N), in that whenever user cleciks on create button, SERVICE ENTRY SHEET No. will be generated. Now, My problem is that whenever i execute t code assigned to module pool, it generates only one Service entry Sheet number even though i selected 3 rows for which 3 shervice entry sheets were supposed to be generated, when i execute the same t code using debugging then it gives out me the desired outout, that is if i selected 3 rows of which 3 ses no are suppose to be generated then it generates.
So my question is that " when i execute t ocde normally it doesn't give me desired output but when i debug the same t code then it gives out desired output. How do i solve this error?"
With regrads,
vikram Salvi.
‎2010 Feb 04 7:54 AM
Hi Vikram,
Also try with COMMIT WORK AND WAIT
or Wait up to 2 seconds statements
Regards,
Swarna Munukoti
‎2010 Feb 04 7:50 AM
Could have something to do with COMMIT WORK. During debugging, implicit COMMIT's are triggered.
You probably have to post some relevant part(s) of your coding for an educated guess.
‎2010 Feb 04 7:54 AM
Hi Vikram,
Also try with COMMIT WORK AND WAIT
or Wait up to 2 seconds statements
Regards,
Swarna Munukoti
‎2010 Feb 04 10:01 AM
Hi Vikram,
Are you using BDC to generate SERVICE ENTRY SHEET No. ?
let me know...
Regards,
Abhijit G. Borkar