on 05-07-2007 6:15 AM
Hi,
I have a problem in smartform related to form interface .
I have to pass my internal table into the smartform which is not of any standard type.
CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
P_VBELN = P_VBELN
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
<b>T_FINAL = T_FINAL</b>
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
this T_FINAL is not of any standard type and i have to pass this in the smartform i
But in the smartform , where can i declare this internal table. i have written this in the tables TAB in form interface but I cannot declare this table type in the type definition in smartform, please suggest me.
Regards,
Sonika
Hi Sonika,
I do also faced the same problem.
How I made changes:-
My Final internal table is t_final and am passing this internal into the smartform.
T_final is declared in print program as given below:-
Create one Structure zfinal_data*****
t_final TYPE STANDARD TABLE OF zfinal_data,( "Z" Structure created )
CALL FUNCTION w_fmname
EXPORTING
w_header = w_header
w_adrc = w_adrc
w_adrc_forw = w_adrc_forw
w_adrc_comp = w_adrc_comp
TABLES
t_final = t_final
EXCEPTIONS "#EC *
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4.
Then in the FORM interface in "Tables" Tab
declare - t_final "like" zfinal_data...
Try this it may solve ur problem
regards
Avi...........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.