2008 Jun 18 3:55 PM
Hi,
I have to give system id as default in selection screen
p_appfn type salfile-longname default '/interface/' syst-SYSID '/sd/IN/to10/test.TXT',
syst-sysid should be read from table syst.
but its giving an error.
Thanks.
2008 Jun 18 4:01 PM
try this :
parameters : p_appfn type salfile-longname.
initialization.
concatenate '/interface/' sy-SYSID '/sd/IN/to10/test.TXT' into p_appfn.
Hi,
until or unless you clear the value in event at selection screen output, It wont get cleared.
check your code, there might be some problem.
sure it works.
Thanks,
Rajinikanth
2008 Jun 18 3:59 PM
hI,
Instead of making it default, write the same code in INITIALIZATION event.
concatenate '/interface/'
syst-SYSID
'/sd/IN/to10/test.TXT'
into p_appfn.
Thanks,
Rajinikanth
2008 Jun 18 4:00 PM
You can only give one value with the default addition. To have this type of dynamic default value, you need to set it in the INITILIZATION.
Like:
parameters: p_appfn type salfile-longname default '/interface/' syst-SYSID '/sd/IN/to10/test.TXT',
INITILIZATION.
CONCATENATE '/interface/' syst-SYSID '/sd/IN/to10/test.TXT' INTO P_APPFN.
Regards,
Naimesh Patel
2008 Jun 18 4:00 PM
hi,
do concatenate in to one variable and place that variable as default.
data : v_var(40).
v_var1 = '/interface/'.
v_var2 = '/sd/IN/to10/test.TXT',
concatenate v_var1 syst-sysid v_var2 into v_var.
p_appfn type salfile-longname default v_var.
regards
Sandeep REddy
2008 Jun 18 4:01 PM
try this :
parameters : p_appfn type salfile-longname.
initialization.
concatenate '/interface/' sy-SYSID '/sd/IN/to10/test.TXT' into p_appfn.
2008 Jun 18 4:13 PM
I tried that friends but its not displaying. when i debug after initialization it goes to
CONVERSION_EXIT_ISOLA_OUTPUT function module and makes it empty.
Thanks.
2008 Jun 18 4:19 PM
Hi,
until or unless you clear the value in event at selection screen output, It wont get cleared.
check your code, there might be some problem.
sure it works.
Thanks,
Rajinikanth
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |