cancel
Showing results for 
Search instead for 
Did you mean: 

get value before print anything

Former Member
0 Kudos

Hello guys,

I would like to know, how to get a value from database BEFORE the form starts any printing. I mean, where do I have to put my code?

Or what part of a form, is executed first (before printing) so I can put my code right there,

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

If you want to select the data in the smartform, you can also put your code in the INIZIALIZATION tab (Global definition section).

Max

Former Member
0 Kudos

I forgot to say, I am using Smart Forms.

Former Member
0 Kudos

you need write print program,you get the data from tables to internal tables.

then you pass internal table data to Smartform FM.

Use Example code :

Program : SF_EXAMPLE_01

Smartform : SF_EXAMPLE_01

Reward Points if it is useful

Thanks

Seshu