Application Development 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: 

Debug Mode-Normal Mode

Former Member
0 Kudos

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

former_member223537
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi mae,

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

Regards,

Atish

0 Kudos

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

0 Kudos

Hi,

Please try

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

Regards,

Atish

0 Kudos

hi,

it is still not working...

Can you suggest of other way of refreshing the table?

thank you...

mae

former_member223537
Active Contributor
0 Kudos

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

0 Kudos

hi Prashant,

Thank you...

it is so very helpful...

regards,

mae