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: 

how to print Selectio-screen input print on smartform

rushi24
Explorer
0 Kudos
163

on selction slection-screen I'm passing year 2004 to 2012

I wan't to print it on smartfrom .

Select-options = s_pabrj FOR /OBIZ/EFM1CNTRN-PABRJ.

so how i print it on smartform

4 REPLIES 4

former_member1716
Active Contributor
0 Kudos
86

rushi24,

Do the following steps:

1) Create a parameter in Smart form to receive the values from selection screen.

2) Now while calling the smart form pass the values from selection screen into the parameter created in the smart form.

3) Now place the parameter created in smart form in the desired position you wish.

Hope you are aware of the concepts of creating a smart form and calling it in program. You can follow the below link for basics.

SMARTFORMS

Regards!

Sandra_Rossi
Active Contributor
0 Kudos
86

But how do you want it to be printed?

rushi24
Explorer
0 Kudos
86

i want to print 2004 to 2009 like this

former_member1716
Active Contributor
0 Kudos
86

rushi24

Just concatenate the values and put it in a string variable and then display that in smartform.

For eg: if s_year is the variable then:

DATE: LV_VALUE type STRING.
CONCATENATE S_YEAR-LOW 'TO' S_YEAR-HIGH into LV_VALUE SEPERATED BY SPACE.

Now pass this LV_value into smart form and display it.