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

Debug Mode-Normal Mode

Former Member
0 Likes
937

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?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
891

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

6 REPLIES 6
Read only

Former Member
0 Likes
891

Hi mae,

if you paste your code we can see what may be issue.

Regards,

Atish

Read only

0 Likes
891

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

Read only

0 Likes
891

Hi,

Please try

SUBMIT zmaktest WITH SELECTION-TABLE i_select <b>AND RETURN</b>.

Regards,

Atish

Read only

0 Likes
891

hi,

it is still not working...

Can you suggest of other way of refreshing the table?

thank you...

mae

Read only

Former Member
0 Likes
892

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

Read only

0 Likes
891

hi Prashant,

Thank you...

it is so very helpful...

regards,

mae