DATA: END OF INT_MKPF. SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR. MOVE-CORRESPONDING MKPF TO INT_MKPF. APPEND INT_MKPF. ENDSELECT. * At the end of your program. * Passing data to SMARTFORMS. call function 'SSF_FUNCTION_MODULE_NAME'.Missing: driver program. A Sample Program Calling Smartforms. With Compliments by: Ambekar, Abhijeet You should use 'SSF_FUNCTION_MODULE_NAME' call function fm_name in your program not others. · * This routine is for calling Smartforms through standard Tcodes ** FORM sub_processing. * For getting Form name PERFORM sub_get_formname. IF g_formname IS NOT INITIAL. CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING. formname = g_formname. IMPORTING. fm_name = g_fm_name. EXCEPTIONS. no_form = 1. .
* This routine is for calling Smartforms through standard Tcodes ** FORM sub_processing. * For getting Form name PERFORM sub_get_formname. IF g_formname IS NOT INITIAL. CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING. formname = g_formname. IMPORTING. fm_name = g_fm_name. EXCEPTIONS. no_form = 1. no_function_module = 2. OTHERS = 3. IF sy-subrc 0. CASE sy-subrc. Passing data from driver program to Smartform interface. Step1. Go to Tx- SMARTFORMS. Step2. Provide a smartform name and click on create button. Step3. Click on form interface. Step7. Now create a flow logic-loop under the Main window. Step8. Provide the table name and the work area name. Step9. DATA: END OF INT_MKPF. SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR. MOVE-CORRESPONDING MKPF TO INT_MKPF. APPEND INT_MKPF. ENDSELECT. * At the end of your program. * Passing data to SMARTFORMS. call function 'SSF_FUNCTION_MODULE_NAME'.
Sept In PBO we are calling sub screen 'SUB' which is including the program name with the sub screen number ''. After that we have to call sub. This functional module is used for passing data from driver program to Smart form and then display the format created by smartform. Jul Hi Experts. I am working in a smart form which runs while pressing print preview button from screen like VF03, VF01 etc.
0コメント