Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

drop-down field and background jobs

I have a screen with 2 radio buttons and 2 drop down fields both of which have a list of valid selections. Different lists are valid depending on which radio button is selected. This screen also allows the user to run the program in background using the PROGRAM command on the SAP application command line.

If the user selects button A, runs the screen, and returns, the previously selected data is still visible. The problem is if the user then selects button B to run again, the selected data from the previous run is added to the drop down list of valid values for button B when in fact, it is not valid with button B.

I added a CLEAR statement which solves this problem but now the selected drop down data is missing when the user elects to run in background so the background job errors out. I can't figure out where to put the CLEAR so the data is retained for background processing but removed when restarting the selection screen. Or perhaps there's another solution? Any help would be appreciated.

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question