cancel
Showing results for 
Search instead for 
Did you mean: 

Calling multiple smartforms in a single driver program.

Former Member
0 Kudos

Hi ,

Can anybody tell me how can I call multiple smartforms in a single driver program.

Each form has been assigned a output type.

Regards,

Sudha.V

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Here i have 2 smartforms assigned to different OUTPUT TYPES

Use this way

IF nast-kschl = 'FUCI' .

ci_form = 'ZLAYOUT'.

ELSEIF nast-kschl = 'RD04'.

ci_form = 'ZLAYOUT01'.

ENDIF.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = ci_form

IMPORTING

fm_name = fnam

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

AFter this call the smartforms based on the output type

Please closeif solved,

Thanks,

Aditya

Edited by: aditya on May 21, 2008 6:15 PM