Skip to Content
-1

How to update a value into a parameter based on the value from another parameter

Hi, I have the following code that is NOT working. I need to display the value from a table based on the selection from the first parameter statement. Then I need to update a table form the input in the third parameter field. Any ideas on how to resolve this? The second parameter p_lglnum is NOT getting updated when selecting from the first parameter, p_numgr1.

a9112.png (57.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 28, 2017 at 07:05 AM

    Your code is executed in PBO? (AT SELECTION-SCREEN IUTPUT)

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2017 at 02:15 PM

    Work with SELECTION-SCREEN BEGIN|END OF SCREEN and CALL SELECTION-SCREEN. Execute the latter in a DO-loop and leave the loop if F8 is selected. The ABAP Keyword documentation contains lots of examples for selection screen handling.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2017 at 01:58 PM

    The code is a stand alone report. When I select the value in the first parameter, it should populate the second parameter immediately.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 28, 2017 at 03:25 PM

    If you can display your first parameter as a list box then you can trigger a PBO when the user changes the selection. During the PBO you can then easily change other parameter values.

    Rich

    Add comment
    10|10000 characters needed characters exceeded