on 03-12-2009 2:26 PM
I've created a customized table yfinalf102 through SE11 which contains fields for final display.
There is a customized field called phu in yfinalf102. Data element of phu is erfmg and reference field of phu is mseg-erfme.
i've declared the table yfinalf102 in my driver program.
I've done all code within the driver program only. I've populated w_mseg, w_vekp,....... etc. data to w_final. Finally I've appended w_final to i_final.
This i_final has been passed through the smartform so that while
executing the driver program, the report will be displayed.
==================================================================
All data are being successfully ppended from w_final to i_final.The problem is:
although the program is successfully being executed but just during printing the final layout it's showing the error
'REFERENCE FIELD W_FINAL-PHU unknown in form'.
So I think i should declare the reference field for phu in my form.
Please note:
Within the table yfinalf102:
data element for the field phu is erfmg
and reference field for phu is mseg-erfme
kindly suggest how can i make the above reference table in my smartform?
in smartform i've found a tab for currency/quantity fields under global settings.
But what to fill up there. I wrote field name phu and reference field erfme and type quan but it's not working. kindly help.
Should i pass i_mseg to smartforms?
Best regards.
Hi,
i think that what u did is correct, but dont used that field directly on the text of ur smartform.
Before used it, u need to create a code passing the field and a new field that is a char (check the leng of ur field issue.)
write wa_tabla-sum_allh to lv_total currency 'CLP'. "check the currency.
Now, u have a new variable that u can use it on ur text. Doing that the problem is solved.
Good luck
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.