Skip to Content
avatar image
Former Member

function to copy a parameter

hi everybody

is there any fm to copy a parameter on a selection screen

there are 2 parameters : p_file and p_file2

the user is selecting a directory in p_file and I want this directory to be copied to p_file2 when the user presses Enter on p_file, meaning evrytime the user selects a new directory, p_file2 gets populated with the new directory

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 02, 2008 at 03:09 PM

    Try this way...

    at selection-screen on p_file.

    p_file2 = p_file.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 03:09 PM

    hi,

    you only need these lines:

    PARAMETERS p_file ... USER-COMMAND uc01 .

    AT SELECTION-SCREEN OUTPUT.

    p_file2 = p_file.

    hope this helps

    ec

    Add comment
    10|10000 characters needed characters exceeded