10-23-2007 2:57 AM
My code won't run correctly if i am in the normal mode but when i try to debug it, it is working fine...
can anybody knows what to do with this?
10-23-2007 7:09 AM
Hi Mae,
Please use
WAIT UP TO 2 SECONDS.
THen call the SUBMIT statement. This will do the necessary database updates, which might be happening in debug mode.
Best regards,
Prashant
10-23-2007 3:03 AM
Hi mae,
if you paste your code we can see what may be issue.
Regards,
Atish
10-23-2007 3:08 AM
Hi Atish,
Here's some part of the code:
after i change the rounding value in the MM02 i need to refresh the output table.
and i used this code:
PERFORM f_print_selection_screen.
SUBMIT zmaktest WITH SELECTION-TABLE i_select.
FORM f_print_selection_screen.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING
curr_report = sy-repid
TABLES
selection_table = i_select
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3.
IF sy-subrc NE 0.
ENDIF.
ENDFORM.
thank you..
regards,
mae
10-23-2007 3:21 AM
Hi,
Please try
SUBMIT zmaktest WITH SELECTION-TABLE i_select <b>AND RETURN</b>.
Regards,
Atish
10-23-2007 4:42 AM
hi,
it is still not working...
Can you suggest of other way of refreshing the table?
thank you...
mae
10-23-2007 7:09 AM
Hi Mae,
Please use
WAIT UP TO 2 SECONDS.
THen call the SUBMIT statement. This will do the necessary database updates, which might be happening in debug mode.
Best regards,
Prashant
10-23-2007 7:17 AM