‎2009 Apr 09 11:05 AM
hi gurus
i have requirement here .
on selection screen i have file parameter which is like below
EG: /interface//tmp
now my requirement is when i click on variant symbol on selection screen the should be replaced by <SYSID>.
reuired path : /interface/<SYSID(SAP SYSID)>/tmp.
can anyone help on this if anybody worked on this .
<removed_by_moderator>
Edited by: Julius Bussche on Apr 9, 2009 2:09 PM
‎2009 Apr 09 11:07 AM
Hi,
you can modify the parameter value in the at selection-screen event.
Regards,
Leo
‎2009 Apr 09 11:20 AM
please work on this and if u got good solution let me know plz becuase i have tried with at selction sceen event
‎2009 Apr 09 11:25 AM
Hi,
use the event At selection-screen output.
check SY-SLSET <> space.
p_par = <the value required>.
Regards,
Leo.
Edited by: Ierardi Leo on Apr 9, 2009 12:26 PM
‎2009 Apr 09 1:07 PM
‎2009 Apr 09 11:34 AM
Hi,
For this requirement you can check in debugging mode sy-ucomm value when you press the variant button.
And you can use concatenate statement to fetch the file path and then assign the file path to I/O field on selection screen.
Hope it resolve the issue.
Regards,
Nitin
‎2009 Apr 09 11:36 AM
Create a Logical File path using transaction FILE and assign the physical path as /interface/<SYSID>>/tmp/<FILENAME>. Now call FILE_GET_NAME_USING_PATH in your AT Selection-screen Event to convert the logical file path to physical one and pass it to your parameter.
Regards,
R