2014 Jul 21 10:50 AM
Hi Experts,
I have a report program. From that i need to call another program.The second one have a select option SO_CARR. i need to pass the low and high values of the select option from 1st program. i can pass the select option values like
submit <pgm_name> WITH so_carr = 'AA' VIA SELECTION-SCREEN
But my requirement is to pass SO_CARR-HIGH and SO_CARR-LOW values from 1st program.
How can i do that?
Regards Ashwin kv
2014 Jul 21 10:52 AM
2014 Jul 21 10:52 AM
2014 Jul 21 10:57 AM
HI Ashwin,
You can declare a range
data: carr_range type range of carrid,
carr_line like line of carr_range.
carr_line-sign = 'I'.
carr_line-option = 'BT'.
carr_line-low = 'AA'.
carr_line-high = 'XX'.
append carr_line to carr_range.
submit <pgm_name> WITH so_carr IN carr_range VIA SELECTION-SCREEN.
2014 Jul 21 11:00 AM
2014 Jul 22 5:14 PM
Hi,
Check this example,
Filling the Selection Screen of a Called Program (SAP Library - ABAP Programming (BC-ABA))
Regards,
Nitin
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |