Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

smartform loop into internal table problem

Former Member
0 Kudos

hello experts,

i am doing an example given in saptechnical.com regarding smartforms. I am getting problem which doing the smartforms . please help me.

http://saptechnical.com/Tutorials/Smartforms/SFMain.htm

in that i am doing the program

Working with loop.

I have done exactly as the screen shots in the program.

Now in the main window i created a loop.

in that loop i am not getting the option internal table.

But it is showing as operand . It is in the data tab of the loop.

I searched the all the tabs in the loop but did not find the option internal table.

so then i ticked the operand and i did as speified in the screen shots.

it_tab into fs_tab

Then i created a text and then placed &fs_tab-vbeln& etc.

then i executed the smartform now in the output i am not getting the sales order number , item etc.

The output is showing like

&fs_tab-vbeln& &fs_tab-posnr& etc.

please guide me how to get the internal table option in the loop. And also tell me how to rectify this problem

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Madan,

Delete the loop and create the loop again.

Donot hard code the values in the text node just drag and drop the fields in the text node.

Regards,

Sravanthi

7 REPLIES 7

Former Member
0 Kudos

Hi Madan,

Drag and drop the fields dont hard code the fields in your text node.

In loop node ---> click on data tab their you can find the internal table it_tab into fs_tab.

Regards,

Sravanthi

0 Kudos

Hi,

In text editor there will be a '+' sign.

you click on that and then write the like

&itab-matnr& and then press enter.

Former Member
0 Kudos

Hi,

While adding Symbols {&xyz&} you should not hardcode, you should use the add field button( A button with Green + symbol) above the text editor.

Regards

Karthik D

Former Member
0 Kudos

thanks for all the replies.

I will give all at the time of closing my thread.

Hi Sravanthi -> in loop node i am not getting the internal table insted of that i am getting operand in the data tab.

This is my main problem.I dont why operand is comming there.

my version is 4.7e

Hi Karthik and swati -> i simply hard coded the statements in the text as shown in the example.

Now i will try with the add field.

But please tell me why i am not getting internal table option in loop.

Former Member
0 Kudos

Hi Madan,

Delete the loop and create the loop again.

Donot hard code the values in the text node just drag and drop the fields in the text node.

Regards,

Sravanthi

Former Member
0 Kudos

cause of your version its coming operad, just take it as internal table, its the same.

its for your version 4.7, from 6.0 it will come as internal table

With luck,

Pritam.

0 Kudos

Thank you so much for all of you for the replies.

I had hard coded in the text , thats the reason i did not get the result.

Now i have added it as you said and i am getting the result.

Sorry Pritam , i am not getting the option to assign 6 points to you as it is faded out so i have assigned you 2.