on 03-24-2009 8:43 AM
hi gurus,
i have an internal table data which i have to display on smartform .In debugging i have seen that the internal table is having data and in 'data' tab of table i have given internal table also.
but data is not displayed on smartform.
can any body give sugession for this.
thanks in advance,
padmaja.
thanks to all for spending time to solve my problem.
I myself rectified the error.
thanks once again.
padmaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
read that internal table into workarea then u will able to gat data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Set breakpoint in smartform through program lines.This breakpoint should be just before displaying data from internal table, say at the start of loop in main window.
Now, check whether u are getting data here, if yes then blank display must be related with formatting issues.If u are displaying quantity fields take care u convert them to character before display, else those wont be displayed.
Regards
Rishikesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In order to display quantity u can either convert the values to character fields or
follow these steps.
Create a global variable in the global data section of sf.
then in the Currency/Quantity section of the same tab
assign a reference field (this reference field will be from ur interface).
Ex: g_quantity type menge (the global data part)
g_quantity itab-(the quantity field which u want to display) .
Finally within your loop just before displaying this quantity field, assign the value to the declared variable.
Loop at itab into wa_itab.
g_quantity = wa_itab--(the quantity field which u want to display).
Endloop.
Regards,
Rishikesh
Hi,
Declare the internal table in Global Definitions.
The internal table which is passing in the driver program should be the same in the form interface of the smartform.
Regards,
jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where you filling the internal table is it print porgram or smartform?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how are u displaying ur data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.