2024 Aug 08 9:39 AM - edited 2024 Aug 08 11:49 AM
I've created my program with two dynpro.
At the beggining shows an screen to view an OO ALV with two buttons, when i've push the second i want to show the second screen just using the CALL SCREEN '1200'. But i'm still watching the first screen.
DYNPRO 1100:
PROCESS BEFORE OUTPUT.
MODULE STATUS_1100.
MODULE SEL_DATA_1100.
MODULE SHOW_DATA_1100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_1100.
With this button cod function TOTPRIM:
In the USER_COMMAND_1100 of the PAI:
CASE sy-ucomm.
WHEN 'TOTPRIM'.
CALL SCREEN '1200'.
ENDCASE.
What i'm doing wrong.
Thanks in advance.
Request clarification before answering.
I'm doing by this way on 1100 dynpro:
CREATE OBJECT g_container_1100
EXPORTING
container_name = 'CONTAINERCUSTO'.
CREATE OBJECT g_grid1_1100
EXPORTING
i_parent = g_container_1100.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZED'
CHANGING
ct_fieldcat = ls_fieldcat_1100
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
CALL METHOD g_grid1_1100->set_table_for_first_display
EXPORTING
i_save = 'A'
is_layout = g_layout_1100
is_variant = gv_variant_1100
"it_toolbar_excluding = lt_exclude[]
CHANGING
it_outtab = t_total[]
it_fieldcatalog = ls_fieldcat_1100
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've updated the question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.