Browser file en Matchcode

Es común necesitar de este browser cuando tenemos que elejir la ruta para abrir un archivo o para grabar uno.

DATA: p_path_file TYPE STRING.

PARAMETERS: p_path like rlgrap-filename.

at selection-screen on value-request for p_path.
call function ‘F4_FILENAME’
exporting
program_name = sy-repid
dynpro_number = sy-dynnr
field_name = ‘PATH’
importing
file_name = p_path.

p_path_file = p_path.

la Función GUI_DOWNLOAD pide que el path sea un STRING, por eso le asigno el valor de p_path a p_path_file.

Posted in Report. 1 Comment »

One Response to “Browser file en Matchcode”

  1. Sergio Says:

    De lujo Chabal! Muchas gracias.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: