on 03-09-2010 3:49 AM
Hi,
I completed sales return register report in ALV-GRID.Now i want to do it smartforms . How will link that driver program(sales return register report in ALV-GRID) in smartforms.Please advice me.
Regards,
K.Karthikeyan.
Hi,
Create a smart form for displaying fields. Then call the Fm in u r program insted of ALV GRID function Module. Pass the final table to that FM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
in Smartform-->Specify the internal table and workarea
Create tables and assign the fields.(in text)
In driver program.Call the smarform using the fm.(ssf_function_module_name)(FM_NAME TYPE RS38L_FNAM)
pass the final internal table which you want to display in smartform and get it.
[Smartform Creation|https://wiki.sdn.sap.com/wiki/display/ABAP/Smartformcreation]
Hi Dharma Raj,
Thank you for your Answering.
And also i have one more problem.
FORM INTERFACE AND CHOOSE TABLES in that i declared
parameter name Type assignment Associated type
IT_SALES TYPE ?
In that ? what i have to declare.
My coding is given below.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSR_REGISTER'
* VARIANT = ' '
* DIRECT_CALL = ' '
* IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
CALL FUNCTION FM_NAME
TABLES
IT_SALES = IT_FINAL
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
Regards,
K.Karthikeyan.
hi
CALL FUNCTION FM_NAME
TABLES
IT_SALES = IT_FINAL
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
In smartform IT_SALES type is same as the structure of IT_FINAL in Program.
You have to declare IT_SALES type as IT_FINAL structure(EX:zaaa_str_final)
Hi,
This is the example for driver Program for Voucher Printing after displaying a list output follow the similar way.
[http://vjkvijaya.blogspot.com/2010/03/smarform-driver-program-for-displaying.html]
Regards,
Vijaya Lakshmi.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.