2015 Feb 09 2:54 PM
Hi Experts, it's about manipulating smartforms.
The idea is the following :
1 - via a selection screen we enter as a value "a technical name" for exemple SY-DATUM or VBRP-POSNR ...
2 - inside the smartform we have have a parameter in the interface form section called "UserChoice".
3 - the program sends the value "SY-DATUM" to the parameter &UserChoice&
Now while printing the form it shows a text SY-DATUM but I expected to see the date !
how can I proceed so that the smartform interprets the value SY-DATUM not as a text but as a field name ?
Thanks.
Regards.
2015 Feb 10 9:01 AM
Thank you Kenneth Moore.
I proceeded this way :
DATA UserChoice (20) type c,
FIELD-SYMBOLS: <f1>, TYPE ANY.
ASSIGN (lv_t1) to <f1>.
and under the exporting within the function module
FAZ2L1 = <f1>
and inside the form interface
and it worked.
2015 Feb 09 7:28 PM
2015 Feb 09 7:39 PM
2015 Feb 10 9:01 AM
Thank you Kenneth Moore.
I proceeded this way :
DATA UserChoice (20) type c,
FIELD-SYMBOLS: <f1>, TYPE ANY.
ASSIGN (lv_t1) to <f1>.
and under the exporting within the function module
FAZ2L1 = <f1>
and inside the form interface
and it worked.