![Form Form](http://2.bp.blogspot.com/_R5Gg5HH5A_A/TKH8EOiyNrI/AAAAAAAAAF8/vhanh5LtfjI/s1600/output+pdf.png)
How To Call Smartform Using Driver Program. How To Call Smartform Using Driver Program. Hi Experts, How to call smartform FM after. Calling SMARTFORMS from your ABAP program. Collecting all the table data in your program, and pass once to. This is a sample driver program report zsmartform.
A Sample Program Calling Smartforms 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. *&---------------------------------------------------------------------* *& Report ZTACA_DRIVER_SMARTFORM * *& * *&---------------------------------------------------------------------* *& * *& * *&---------------------------------------------------------------------* REPORT ZTACA_DRIVER_SMARTFORM. Tables: sflight.
Data: fm_name TYPE rs38l_fnam. *data: Begin of it_flttab occurs 0, * carrid type sflight-carrid, * connid type sflight-connid, * fldate type sflight-fldate, * seatsmax type sflight-seatsmax, * seatsocc type sflight-seatsocc, * End of it_flttab.
Naruto kecil eps 130. Data: it_flttab like table of sflight. Data: g_salary type i. * it_flttab type standard table of ty_flt. G_salary = 1000. Select carrid connid fldate seatsmax seatsocc from sflight into corresponding fields of table it_flttab. CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = 'ZTACA_SMFORM2' * VARIANT = ' ' * DIRECT_CALL = ' ' IMPORTING FM_NAME = fm_name EXCEPTIONS NO_FORM = 1 NO_FUNCTION_MODULE = 2 OTHERS = 3. IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. Call function fm_name Exporting salary = g_salary TABLES it_flttab = it_flttab EXCEPTIONS FORMATTING_ERROR = 1 INTERNAL_ERROR = 2 SEND_ERROR = 3 USER_CANCELED = 4 OTHERS = 5. IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. Fast Links: Get help for your ABAP problems ABAP Books ABAP Tips Smartforms Tips Best regards, SAP Basis, ABAP Programming and Other IMG Stuff All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved. All product names are trademarks of their respective companies. The site www.erpgreat.com is in no way affiliated with SAP AG. Every effort is made to ensure the content integrity.
Information used on this site is at your own risk. The content on this site may not be reproduced or redistributed without the express written permission of www.erpgreat.com or the content authors. Download barkod etiket program full indir.