01-10-2020 3:18 PM
Hello guys.
I want to create a Z report or a dialog screen (I don't know which is better) to execute two others reports.
My screen needs have tow label zrep1, zrep2 and two execute buttons for each zreport as well.
Someone can help me?
Regards.
Happy coding.
01-10-2020 3:55 PM
If I were you, I would create a simple selection screen with two radiobuttons and just call the respective program when a user presses F8:
REPORT ztest_two_progs.
PARAMETERS:
rep1 RADIOBUTTON GROUP grp,
rep2 RADIOBUTTON GROUP grp.
START-OF-SELECTION.
CASE 'X'.
WHEN rep1.
cl_demo_output=>display( 'Executing first program' ).
WHEN rep2.
cl_demo_output=>display( 'Executing second program' ).
ENDCASE.
Instead of demo messages just call the program you need, using key word SUBMIT
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapsubmit.htm
01-10-2020 3:55 PM
If I were you, I would create a simple selection screen with two radiobuttons and just call the respective program when a user presses F8:
REPORT ztest_two_progs.
PARAMETERS:
rep1 RADIOBUTTON GROUP grp,
rep2 RADIOBUTTON GROUP grp.
START-OF-SELECTION.
CASE 'X'.
WHEN rep1.
cl_demo_output=>display( 'Executing first program' ).
WHEN rep2.
cl_demo_output=>display( 'Executing second program' ).
ENDCASE.
Instead of demo messages just call the program you need, using key word SUBMIT
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapsubmit.htm
01-13-2020 12:33 PM
01-15-2020 2:50 PM
The user wanted it the way I drescribed. hahahaa
So I developed something based on trees.
Check the link -> https://desenvolvimentoaberto.org/2014/04/16/visual-sap-tree-treeview-cl_simple_tree_model-node_doub...