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

Former Member
0 Kudos
107

In my smartform, i ve created a template. and m displaying the system date in one of the cells. i've written it as &sfsy-date&. the problem is: in the print preview i do not see the date values as output instead the whole syntax appears i.e. &sfsy-date&.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
78

You should drag and drop it from the field list, it will work then.

Regards,

Ravi

Note :Please mark all the helpful answers

6 REPLIES 6

Former Member
0 Kudos
78

try the following instead of writting &sfsy-date&.

Click on the Field list on button

You 'll get list of all system fields in left corner of Smartform

Just drag the date field from there and drop it to the text.

Reward if helpful

-Harkamal

0 Kudos
78

thank u so much its working. but i've got another problem i.e. i tried to print the work area values but they also come with the syntax and not with the values i.e. &wa_sbook-carrid&. i've checked in the debugger and found that wa_sbook contains the required data and also i,ve written it in the form interface. then where did i go wrong.

Former Member
0 Kudos
79

You should drag and drop it from the field list, it will work then.

Regards,

Ravi

Note :Please mark all the helpful answers

Former Member
0 Kudos
78

Again same prob.

you need to drag and drop the work area also from Import Interface in field list

-Harkamal

Reward if helpful

0 Kudos
78

thank u so much its working.

Former Member
0 Kudos
78

Hi Priya,

Before you use fields, use Text Elements(/E), under this you need to give &wa-lifnr&, it will work.

Regards:-

Santosh