2023 Jan 06 2:31 PM
Hi experts,
I have 2 reports and each report has diff parameters
1st report- Zdir, it's parameter p_dir.
2nd report- Zfile , it's parameter p_file.
I want to create selection screen with 2 radio buttons and 2 respective parameters.
If I click 1st radio button and fill p_dir, it should execute 1st report.
If I click 2nd radio button and fill p_file, it should execute 2nd report.
Also if i click 1st radio button, it should alow me to fill only p_dir, it shouldn't allow to fill p_file.
Expect some clear solution for this.
Thanks in advance.
2023 Jan 06 7:45 PM
Hi sun_light,
Follow the following steps
1. First create 3rd report in which create selection screen for radio buttons.
2. Use 'Screen-input = 0' to disable the input of fields.
3. Write condition like if 1st radio button selected then call the 1st report and vice versa.
4. Use below syntax to call your 1st and 2nd program into 3rd program.
SUBMIT <your report name> WITH <your parameter name> = 'your parameter value'.
Find below some link related to your requirement.
https://answers.sap.com/questions/3451034/how-to-call-one-program-from-another-program.html
Regards,
Aditya
2023 Jan 06 7:30 PM
Create a third report to call either report1 or report 2
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/de-DE/abapsubmit_selscreen_parameters.htm
2023 Jan 06 7:45 PM
Hi sun_light,
Follow the following steps
1. First create 3rd report in which create selection screen for radio buttons.
2. Use 'Screen-input = 0' to disable the input of fields.
3. Write condition like if 1st radio button selected then call the 1st report and vice versa.
4. Use below syntax to call your 1st and 2nd program into 3rd program.
SUBMIT <your report name> WITH <your parameter name> = 'your parameter value'.
Find below some link related to your requirement.
https://answers.sap.com/questions/3451034/how-to-call-one-program-from-another-program.html
Regards,
Aditya