Skip to Content
-1

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

Feb 28, 2017 at 02:39 AM

81

avatar image
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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Raymond Giuseppi
Feb 28, 2017 at 07:05 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Feb 28, 2017 at 02:15 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks, do you have a sample code?

0

The ABAP Keyword documentation contains lots of examples for selection screen handling.

0
Nick Fernandez
Feb 28, 2017 at 01:58 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Richard Harper Feb 28, 2017 at 03:25 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded