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

Table control

Former Member
0 Likes
472

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.

1 ACCEPTED SOLUTION
Read only

former_member217544
Active Contributor
0 Likes
426

Hi Vikram,

Also try with COMMIT WORK AND WAIT

or Wait up to 2 seconds statements

Regards,

Swarna Munukoti

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
426

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.

Read only

former_member217544
Active Contributor
0 Likes
427

Hi Vikram,

Also try with COMMIT WORK AND WAIT

or Wait up to 2 seconds statements

Regards,

Swarna Munukoti

Read only

Former Member
0 Likes
426

Hi Vikram,

Are you using BDC to generate SERVICE ENTRY SHEET No. ?

let me know...

Regards,

Abhijit G. Borkar