cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForms - printing literal not data

Former Member
0 Kudos

Hello all,

well i got my first smartforms to compile a little while ago and now the problem i am having is when i want the value to print out it does not, it prints the literal.

example : &itab2-matnr&

it then prints out itab2-matnr, not the value..so what did i do ??

thanks scott

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You don't need to write Explicitly just

click the Field list on/off - on it later you will see the folders like Import Interface, Export Interfaces etc in which you have define the Itab just drag from that the fields .

This will resolve your issue.

Thanks

Rajeev

Former Member
0 Kudos

Hey Rajeev,

ok i am looking at the field list now , now what do i do ? Drag what fields where ?

thanks scott

Former Member
0 Kudos

Hi,

drag the particular field to the text editor.

Thanks,

Vamsi.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Scott,

Are you populating the internal table itab2 from the program or in the Smartform??

Former Member
0 Kudos

I am populating it in smart forms in global def. i have itab2 type my zpric_agreement(structure name).

in the form interface under tab tables i have itab1 like zpric_agreement.

then in the loop it have itab1 into itab2.

thanks scott

Former Member
0 Kudos

HI,

After creating the text node,click the txt editor push button at the left of the text node screen and then write the following field in that.

like &itab2-matnr& in the text editor.

Thanks,

Vamsi.

Former Member
0 Kudos

Hi Vamsi,

ok that worked , i wonder why the difference when i created it i typed in the &itab2-matnr& but not in the field editor tab.

hey thanks for the help. i will be rewarding the points. to both of you..

thanks scott