2014 Feb 12 2:23 AM
Hi,
I had a SAPscript for production order. In the SAPscript, some calculations are made, which is implemented using PERFORM ... IN PROGRAM ... . At its first output, for example preview, for a production order, a variable is miscalculated. At the second or later output, the variable is correct. So, when user reported such an error, the SAPscript has been processed once and the miscalculation is not available then. How can I debug the error in this situation?
Thanks,
ts
Hi,
I had a SAPscript for production order. In the SAPscript, some calculations are made, which is implemented using PERFORM ... IN PROGRAM ... . At its first output, for example preview, for a production order, a variable is miscalculated. At the second or later output, the variable is correct. So, when user reported such an error, the SAPscript has been processed once and the miscalculation is not available then. How can I debug the error in this situation?
Thanks,
ts
2014 Feb 12 4:40 AM
You can click on 'Activate Debugger' in the SAPscript, then execute the relevant tcode and check the calculation.
-Sowmya
2014 Feb 12 4:51 AM
Please put a break point in subrouine. The first call will be when it is not calculated correctly debugger will stop..Debug it..what is the issue?
Nabheet
2014 Feb 12 5:10 AM
Put a break point in between form....endform in the prog. and check the calculation by running the T-code fom initial(when erroneous value is coming) . I think some clear issue .
regards
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |