Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error FUNCTION F4_DXFILENAME_4_DYNP Matchcode route serve

Former Member
0 Likes
723

I have a z report, to download files from a server, which works correctly.

The problem is when you press the matchcode, download the path to the server, a strange case seleccĂ­onar... I detail:

1. From the default route navigate backward in the directory with ".."

2. Keep going backwards with ".." to get to the root directory.

3. Then I advanced forward directory eg. / INTERFACES /

4.-Up there everything perfect, might even select a file.

5. But when you try to move forward, another folder forward, for example. / out /:

Skip the following error: "Error." "Selection of file cancelled"

and leaving the matchcode and not allow to select a file.

The function that is associated with the matchcode for the selection of the route is:

CALL FUNCTION 'F4_DXFILENAME_4_DYNP'

EXPORTING

dynpfield_filetype = 'V_FILETYPE_APX'

dynpfield_filename = 'V_FILENAME_APX'

dyname = 'ZBX_TRASLate_FIlename'

dynumb = '0600'

location = 'A'

server = v_server.

Working properly, except for the specific case that I've detailed above, the error generates a function that is within this function, the debuggear the bug comes standard, but I failed to find any note associated with this bug!

Can someone advise me on other possible solution? It is not possible to change the root directory by default because it is a requirement of user.

Thanks!

3 REPLIES 3
Read only

Former Member
0 Likes
641

The failure takes place because the function f4_dxfilename has a limit of 8 levels of popup. The matchcode that calls to the function is in a popop, for what incia from the level 1.

FUNCTION F4_DXFILENAME

LINE 28:

call 'DY_GET_MODAL_LEVEL' id 'ACT_UI_MOD_LEV' field l_count.

if l_count < 8. " zählt ab 0

gt_params_120-rec_level = g_rec_level_120.

gt_params_120-dirname = i_path.

gt_params_120-filemask = filemask.

clear gt_params_120-o_path.

insert table gt_params_120.

call screen 120 starting at 4 4

ending at 86 22.

abend_flag = g_abend_flag_120.

if abend_flag = c_true.

o_path = i_path.

else.

read table gt_params_120

with table key rec_level = g_rec_level_120.

o_path = gt_params_120-o_path.

endif.

else. "

message i509.

endif.

There is some solution to be able to omit this validation in the levels?

Read only

Former Member
0 Likes
641

This is the solution:

Note 1080499 - SXDA: F4 help recursion GUI error: Too many dialog boxes

Thanks

Read only

0 Likes
641

This function does not help me because it exceeded the number of popups, the search directory.

Do you know someone a way to use a matchcode, to start the search for the directory on a specific path in the host?