2014 Jun 19 12:37 PM
Hi experts,
I have designed a module pool in which i have included a selection screen as sub screen , and for the scenario i need to give custom f4 help for the selection field for that i have included logic ,My issue is when ever i am changing other code in the programs (other screen logic) the selection screen is reverting back to normal ...again i have to do the flow logic and screen change of selection screen.
Suggest me how i can avoid this .
Regards,
Siva Prasad.
Hi experts,
I have designed a module pool in which i have included a selection screen as sub screen , and for the scenario i need to give custom f4 help for the selection field for that i have included logic ,My issue is when ever i am changing other code in the programs (other screen logic) the selection screen is reverting back to normal ...again i have to do the flow logic and screen change of selection screen.
Suggest me how i can avoid this .
Regards,
Siva Prasad.
2014 Jun 19 12:47 PM
and for the scenario i need to give custom f4 help for the selection field for that i have included logic
was the error, use some AT SELECTION-SCREEN ON VALUE-REQUEST FOR {para|selcrit-low|selcrit-high} or PARAMETERS/SELECT-OPTIONS MATCHCODE OBJECT search_help statement, and your problem will vanish... (Edition of a generated object is hardly ever a good idea and never good practice)
Regards,
Raymond
2014 Jun 19 12:58 PM
Thanks for the reply
Error is not about it Raymond i need to do multiple option also i need to change . so i need to modify the selection screen ..my problem is when ever iam activating the program selection screen modifications are reverting to default.
Regards,
Siva.
2014 Jun 19 1:38 PM
And that is standard behavior, generated object will be generated again at each activation (*). So which exact modification(s) did you put in the generated dynpro, you must never do that
Can you explain/elaborate on
i need to do multiple option also i need to change. so i need to modify the selection screen
You need but you are not allowed to, so you MUST do it in selection-screen definition, not thru screen painter.
Regards,
Raymond
(*) will also occur during transport in quality and production systems...
2014 Jun 20 5:18 AM
I need multiple option in Module pool but ranges tabs need to be avoided in multiple optionhttp://scn.sap.com/thread/82726 ...
Regards,
Siva Prasad.
2014 Jun 23 2:01 PM
Rich already wrote the answer, use FM SELECT_OPTIONS_RESTRICT to disable ranges, e.g. just allow only EQ options so no range, no wildcard/pattern, ypu don't need to change generated dynpro, just call the FM in PBO (AT SELECTION-SCREEN OUTPUT)
Regards,
Raymond
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |