on 07-02-2007 11:52 PM
hi guys,
a SMARTFORM question need your help here.
ABAP program
-
itab1 (sflight-carrid)
itab2 (sflight-carrid,connid,paymentsum,seatsmax,seatsocc)
in this example, i have 'LH' and 'SQ' in itab1
pass it to SMARTFORM
SMARTFORM
-
1.how to separate both the 'LH' and 'SQ' info into difference form to print?
2.also i have a separte window with text field(for heading purpose, in this example will be the carrid) place above the main window area. how to get the correct carrid?
thank you very much
for this u can use the window inside the loop.
Inside the loop in the second table section, u need to give the field name and select the event 'Event on sort End'. then one event will generate. in that event select new page option.
REward me if it useful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can use the <b>SORT Criteria</b> and give CARRID in the <b>Data tab</b> of the table.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First of all in itab1 (sflight-carrid) you have only two types of carrid ('LH' ,'SQ' ) or multiple.
If you have only two types of carrid and you want to print both in separate forms then,
It is simple, in your abap program differentiate the two types into two different internal tables. And pass the two tables to the smart form
call two different form
1. if itab1-carrid = 'LH'.
call form 'Form1'.
pass the itab2.
elseif itab1-carrid = 'SQ'.
call form 'Form2'.
pass the itab3.
2. No need of define a widow for heading. Place table in main window.
And in the header of table add text and write your itab-carrid.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Boon,
try to use the Alternative command...for CARRID....
check for 'LH' or 'SQ'....
hope this may be helpfull....
or else plz explain ur query in brief...
please reward in case useful...
regards,
prashant
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.