2014 Aug 06 9:15 AM
Hi Good day,
i have screen where i display the data.
i change the location and display the relevant screen.
ex :
Now i Capture the data.
save and clear.
now i have changed the location to Terminal and input the value and save and cleared
again i go back to same incident and change location to Running line and when i select SECTION CODE and display the value on it the other 2 Between station and And Station displays the value without me doing anything.
i have cleared and done a through debug but i see no clue as to where it is getting it from.
your valuable input will be appreciated.
thank you,
j.
2014 Aug 06 10:38 AM
Hi,
i dont know if you are using dynpro programming or if you use a simple selection screen.
(above comment was for selection-screen events)
this is just a blind guess - i think you did not clear a structure when select by "section code" fails.
i think i cant help you much at this issue because i dont know your programm (and i dont want to go through 1000 code lines). you have to debug and find the bug yourself . if you got question how a technic works i can help you. But i cant find the bug for you.
As i worked alot with screens, not clearing variables was mostly the reason for effects like this.
regards
Stefan Seeburger
Hi Good day,
i have screen where i display the data.
i change the location and display the relevant screen.
ex :
Now i Capture the data.
save and clear.
now i have changed the location to Terminal and input the value and save and cleared
again i go back to same incident and change location to Running line and when i select SECTION CODE and display the value on it the other 2 Between station and And Station displays the value without me doing anything.
i have cleared and done a through debug but i see no clue as to where it is getting it from.
your valuable input will be appreciated.
thank you,
j.
2014 Aug 06 10:06 AM
Hi,
hard to say whats the matter because i dont know your programm.
i think the fields "Between Station" and "And Station" are filled by screen event. such as "at selection screen output". When you now clear the screen-field "section-code" the event "at selection screen output" gets triggered and the select finds no data. But maybe your programm-intern Structure gets not cleared. so the output still gets displayed.
regards
Stefan Seeburger
2014 Aug 06 10:14 AM
hi Stefan,
thank you for the reply.
But maybe your programm-intern Structure gets not cleared. so the output still gets displayed.
at what time will i be able to know the programm-intern Structure when i debug?
i done the debug END-TO-END.
will you please advise as to how i need approch?
thank you,
J.
2014 Aug 06 10:38 AM
Hi,
i dont know if you are using dynpro programming or if you use a simple selection screen.
(above comment was for selection-screen events)
this is just a blind guess - i think you did not clear a structure when select by "section code" fails.
i think i cant help you much at this issue because i dont know your programm (and i dont want to go through 1000 code lines). you have to debug and find the bug yourself . if you got question how a technic works i can help you. But i cant find the bug for you.
As i worked alot with screens, not clearing variables was mostly the reason for effects like this.
regards
Stefan Seeburger
2014 Aug 06 12:06 PM
hi Stefan,
thank you for the Patience to respond back much appriciated.
i have found the issue.
the solution is dynpfields = fields[] FIELDS is not been cleared as a result i had this issue.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = fields[].
much appriciated.
2014 Aug 06 12:17 PM
Hi Jacob Kata,
im happy you found the issue
regards
Stefan Seeburger
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |