on 03-17-2010 12:54 PM
Hello Expoerts,
I have a smartform where I should pass a variable per_num.
1- I have put p_per_num in smartform Form Interface in tab Import as follows:
p_per_num TYPE PERNR-PERNR (PASS-VALUE = checked)
2- in my driver program I'm doing this:
CALL FUNCTION FM_NAME
EXPORTING
p_per_num = per_num
EXCEPTIONS
FORMATTING_ERROR = 1 etc.....
where per_num is input from login user of type PERNR-PERNR.
3- In the smart form I have created a window (not under MAIN) and in this window I created a TEXT. In this text I only printed the p_per_son as follows: &p_per_num& in addition to some text
when the form appears after clicking print preview I'm having &p_per_num& printed instead of its value!!!!!!!!!! seems that the & is not understood or considered as a normal text and printed as is
Am I missing something? I'm not able to get the parameter value, please help.
Thanks and best Regards,
HI Samir,
Just click on Insert field button and type &p_per_num& . Save it and then check once again.
Best Regards
Himayat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you type &p_per_num& direct into the editor? If so it will treat this as text.
There is an icon in the top left corner of the editor to Insert Field. Click this and enter &p_per_num& into the popup.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.