09-02-2008 4:06 PM
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
09-02-2008 4:09 PM
09-02-2008 4:09 PM
09-02-2008 4: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
09-03-2008 7:49 AM
in fact i didnt need the exact copy of p_file into p_file2
p_file should be copied into p_file2 but p_file2 should be added some extension with it
09-03-2008 7:58 AM
09-03-2008 8:02 AM
Just concatenate what u need with p_file1 and assign it to p_file2...