cancel
Showing results for 
Search instead for 
Did you mean: 

how to print data of selection screen

Former Member
0 Kudos

hi plz tell me how to print that data in smartforms which the user enters in the selection screen...........

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Pradeep,

In the driver program for your smartform, you would have to pass the selection screen values to the auto-generated functionmodule for smartform.

You have declare the corresponding Import Parameters for getting the selection screen values in the Form Interface section of smartform.

These import parameters should have the same data type as that of the Selection screen fields.

By doing this you can capure the values of selection screen in your smart form.

Message was edited by:

P Sreenivasulu

Former Member
0 Kudos

Use FM RS_COVERPAGE_SELECTIONS

    CALL FUNCTION 'RS_COVERPAGE_SELECTIONS'
         EXPORTING
              REPORT            = L_REPORTIDENTIFICATION
              VARIANT           = SY-SLSET
              NO_IMPORT         = 'X'                       "07/04/98
         TABLES
              INFOTAB           = T_INFOSELECT
         EXCEPTIONS
              ERROR_MESSAGE     = 1
              VARIANT_NOT_FOUND = 3
              OTHERS            = 2.

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check this link. I am explaining how to pass select option from program to smartform.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501...

Once it is passed to smartform, you can print that in smartform.

Former Member
0 Kudos

Hii

specify the fields in the form interface IMPORT & EXPORT parameters

then u will get the fields in selection-screen

regards

Jaipal