2008 Sep 02 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
2008 Sep 02 4:09 PM
Try this way...
at selection-screen on p_file.
p_file2 = p_file.
than you have to use the CONCATENATE statement...
2008 Sep 02 4:09 PM
Try this way...
at selection-screen on p_file.
p_file2 = p_file.
2008 Sep 02 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
2008 Sep 03 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
2008 Sep 03 7:58 AM
2008 Sep 03 8:02 AM
Just concatenate what u need with p_file1 and assign it to p_file2...
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |