on 05-02-2009 10:56 AM
Dear Experts !
Could anyone let me know how do i pass an itab from a print program to a smartform , without creating alike table in the data dictionary.
regards,
Mirza
Hi,
It is necessary to create a structure for interfacing between smartform and abap program.
Without the cann't interface abap program and smartform.
Table or structure is necessary for interfacing . Normally we prefer Structure.
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
From me the same answer as from the others.
-create a structure (table) in SE 11.
-define this in your smartform (and in the interface parameters)
-use this in the call to your smartform in the print program.
Success.
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mirza,
First, create the structure in se11 of your internal table.
Second, from the calling program, pass the internal table in your calling function. Ex:
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = i_control_parm
output_options = i_output_opt
user_settings = space
IMPORTING
job_output_info = wa_return
TABLES
p2p = i_p2p_final
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
others = 5.
Lastly, declare your internal table in the global settings in your form.
Regards,
Mawi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is not needed to create a data base table in Se11. Just a create Structure in DDIC and same like that internal table in Print program and Samrtform Form in Form Interface table Tab . Then pass the same internal table to Smartform Function module as exporting parameter from print program..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mirza,
U need not to create table but have to create structure in dictionay.
U have to pass internal table data through these structure to form.
Define internal table in form using the structure created in the form interface tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You cann't pass int table from driver prog to SF without creating Z table like that int table.
Better way is that what ever u r coding in driver prog ,code it in smartform itself under initialization tab or under program lines node.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.