on 03-24-2009 9:39 AM
Hi friends,
Ihave developed smartform. in that i m displaying purchase order and items and some other details from ekpo table. i have used internal table itab and workarea wa_itab.
while executing report with smart form FM ,it shows error says that: Reference field WA_ITAB-MENGE unknown in form'.
while debugging the form , wa_itab is filled but immediately it produces error . when i see in smartform cells , it is defined with wa_itab.
i have to fine what is the cause of error.
if anyone knows pls let me know.
regards,
\kani.
Hi RUDHIR KUMAR,
Yes u r correct. i have to give reference field in global definition. it is working .
Thanks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kani,
if u r passing the itab from report into smartform then make sure u give that in form interface
first check is the work area and table are declared globally,
then check whether u passed the work area in output parameters if its declared.
its just a declaration and parameter passage prob nothing critical..
if any more issues pls revert ..
regards,
Dinesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Menge is the quantity field. so u need to add reference field in your global structure.
check out the reference field in table from which u have taken menge. Add it the their. ya with reference field u need to add also reference table and that will be ur ztable.
This will exactly fulfill ur requirement.
Cheers,
Rudhir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have u declare wa_itab TYPE ty_itab.
IF SIT IS CORRECT.
OR ELSE.
goto smartforms
in that Global Defination-----there is one tab Currency/Quantity
declare ur field there .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believed you using program lines in the smartforms.
Just add WA_ITAB in that program lines as a import parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the structure pls define the data element of menge as character type......dont take the currency quantity field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
iz that table declared globally?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.