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: 

Want to display data in receipt form in Smartforms

Former Member
0 Kudos

Hi friends,

I want to display data in receipt form in smartforms....Format is given below:

Name : [fieldname1]

number : [fieldname2] country code : [fieldname3]

n so on....It should display 1 record on one page and so on.......how can i go about it....

Regards,

Vijaya

3 REPLIES 3

Former Member
0 Kudos

Hi,

As this is the internal table, You have to use a Table node in the smartform.

After putting all the fields insert a Command Node and give 'New-page''.

Regards,

Bhupal

0 Kudos

thanks ,

but can u give me step by step procedure...coz i treid using table ...but when i execute via report it shows empty data...

I355602
Advisor
Advisor
0 Kudos

Hi Vijaya,

First, you need to design the lay-out for your pages.

Say for example in your case you take a window XYZ (variable type) to print:-

Name : fieldname1

number : fieldname2 country code : fieldname3

Now you have some amount of data for this detail.

Say you print this data in a table.

After the last node for printing data, insert a command line under the last node (in main area of the table control).

And on the next page use the same MAIN window (or use next page of PAGE1 as PAGE1).

In other way, if you are printing a single record on a page.

Then this can be done by simply taking a loop statement in the main window of the page followed by text-fields (from internal_table into work_area).

Under the loop statement, in these text-fields you can simply print your data (using the work area) :-

Detail 1 : &wa-field_name&

and so on....

After the last detail (node), insert a command line and write 'NEW-PAGE'.

This will break your control on to next page and eventually one records will be printed on a single page.

Hope this solves your problem.

Thanks & Regards.

Tarun Gambhir.