Skip to Content
avatar image
Former Member

how to print data of selection screen

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 14, 2007 at 09:57 AM

    Hii

    specify the fields in the form interface IMPORT & EXPORT parameters

    then u will get the fields in selection-screen

    regards

    Jaipal

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2007 at 09:58 AM

    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-0010-ee84-de050a6cc287

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2007 at 10:02 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2007 at 10:18 AM

    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

    Add comment
    10|10000 characters needed characters exceeded