Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to link between smartform and driver program using pushbutton ?

Dear All,

Good day.

I need to generate a form by pressing a pushbutton in driver program. The form generates but no data shows except page no.

The smartform works fine without pushbutton.

Here is the piece of code used.

SELECTION-SCREEN: PUSHBUTTON (10) w_button USER-COMMAND but1.

AT SELECTION-SCREEN.
    IF sscrfields-ucomm EQ 'BUT1'.

      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

        ..............

    ENDIF.

Not what you were looking for? View more on this topic or Ask a question