‎2010 Jun 02 10:02 AM
Hi,I have the problem like this.
When I use function CLOI_CHANGES_UPL_31 to change production orders.
I need know which order change OK and which order change failed.SO I use the function CLOI_CHANGES_UPL_31
in the LOOP itab.
IN this case,I can get the messge about the order.
BUT there is a problem. the function just work at the first time at the LOOP.
From the second time It show the error message like this : Restart interface after commit! (message CLASS : C/ NO:10)
How can I AVOID the problem or another function can use?
‎2010 Jun 02 11:15 AM
Hi Zheng,
Can you paste the call to the FM CLOI_CHANGES_UPL_31.
This fm can only be called once in a session. In your case for the first time it is working fine, and later on this message is sent at runtime.
Better use the syntax of asynchronous call something like this:
call function 'CLOI_CHANGES_UPL_31'
starting new task 'CLOI_INVOKE'
performing end_task on end of task
exporting
tables.
Now write a check of some global variable.
wait until flag = 'X'.
This flag will be set in the subroutine END_TASK.
Repeat this logic in loop and check the result.
Regards,
Shashikanth. D
‎2010 Jun 04 6:09 AM
Hi, Shashikanth
IN your help , I had done the problem.
Thank you very much!