cancel
Showing results for 
Search instead for 
Did you mean: 

urgent -smartform is not showing data from the table

Former Member
0 Kudos

Hi all,

I have made a smartform and in the 'Tables' -> 'Data' section i have assigned the internal table to smartform.

However when i include '&itab-name&' etc in the text elements ,its not showing the data from the table,instead it is also showing &itab-name&.

Also if i give &sfsy-date& its not showing in the output when i call my prg from editor,

do u need to change some settings

Kindy help

its urgent

Thanx,

Bhakti

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Bhakti,

All the fields that u wanna print should be written in caps, and without the quotes. Try to drag and drop the values from the smartform instead of writing it. There is a small button near the Form Painter calles Field List. click that and drag and drop your fields in the text that you create.

Let me know if it works.

Thanks

Nayan

Former Member
0 Kudos

Dear Bhakti,

1.Are you passed internal table in driver program.

2. Have declared that structure in the form interface.

3. if it is not working...

then keep break point

through program logic

and check.

regards,

Prashanth maturu.

Former Member
0 Kudos

hi nayan,

thanx it did work..

i did reward u for it..

Bhakti

Former Member
0 Kudos

Your welcome bhakti...pleasure to be of help to you.

Thanks for the points.

Nayan

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

Thanx all of u..

it worked fine now..

Former Member
0 Kudos

hi,

please make sure that ur internal table is properly populated or not.

don't write the variable name instead of that u can drag and drop the varable into the text...

if u r still facing the problem, put a break point and debug the code..

thanks

pradeep.

Former Member
0 Kudos

Hi

Check properly that are u passing this table in form attributes tables and creating a work area assingned type in global definitions and same internal table must be passed in your print program function module under tables.

Now i can suggest you one thing other than filling data in tables.u can create a loop in main area under this u create text elements and pass your work area fields.

this will surely work

Swetha.

Former Member
0 Kudos

Hi,

1.Once check the Program lines code by placing the break point .Is it data is atleast comong to that itab or not?

2,If that is coming then,the data can be displayed in table of smartform.

Regards,

Shiva Kumar

sawantsaurabh
Discoverer
0 Kudos

What if the the data is not coming ?