2009 Apr 01 7:30 PM
Hi there, I am trying to figure out the best way to so this. I need to have 2 different selection screens for the same program. Can I use START_REPORT to accomplish this? If so, I know it is done with a parameter transaction, but I'm just not sure how to code it. Can someone help?
Thanks in advance.
2009 Apr 01 7:43 PM
hi,
You can define the different selection screens like below..
SELECTION-SCREEN BEGIN OF SCREEN 100.
PARAMETERS: cityfr TYPE spfli-cityfrom,
cityto TYPE spfli-cityto.
SELECTION-SCREEN END OF SCREEN 100..
SELECTION-SCREEN BEGIN OF SCREEN 500 .
PARAMETERS: airpfr TYPE spfli-airpfrom,
airpto TYPE spfli-airpto.
SELECTION-SCREEN END OF SCREEN 500.And create different transaction codes for each screen (100 , 500).
2009 Apr 01 7:43 PM
hi,
You can define the different selection screens like below..
SELECTION-SCREEN BEGIN OF SCREEN 100.
PARAMETERS: cityfr TYPE spfli-cityfrom,
cityto TYPE spfli-cityto.
SELECTION-SCREEN END OF SCREEN 100..
SELECTION-SCREEN BEGIN OF SCREEN 500 .
PARAMETERS: airpfr TYPE spfli-airpfrom,
airpto TYPE spfli-airpto.
SELECTION-SCREEN END OF SCREEN 500.And create different transaction codes for each screen (100 , 500).
2009 Apr 01 7:45 PM
2009 Apr 02 6:40 PM
One question about this approach. Why would my initialization event not work properly for selection screen 200?
2009 Apr 01 7:50 PM
Possible options are
1. Create a single selection screen with all the fields in it and while calling the START_REPORT use different variants for execution.
2. Use SHD0 and create different transaction variants
How to create Transaction Variant
a®
2009 Apr 02 2:14 PM
Question on this - I tried to do this with a custom report and it doesn't give the pop up. Can this only be done on SAP transactions or on custom screens?