on 2005 Jul 12 2:07 PM
hai..
my internal table looks like this:
DATA: BEGIN OF CAPACITYTAB occurs 0,
ARBPL like CRHD-ARBPL, "Work Centre
AUFNR LIKE AUFK-AUFNR, "SO #
KTEXT LIKE AUFK-KTEXT, "SO Description
VORNR LIKE AFVC-VORNR, "Operation No.
FSAVD LIKE AFVV-FSAVD, "Operation Start
LTXA1 LIKE AFVC-LTXA1, "Operation Description
ANZZL LIKE AFVC-ANZZL, "Staff
DAUNO LIKE AFVV-DAUNO, "Duration
TPLNR LIKE VAFILOA-TPLNR, "Functional Location
USR04 LIKE AFVU-USR04, "Start Km
END OF CAPACITYTAB.
DATA: CAPACITYTAB1 LIKE CAPACITYTAB OCCURS 0 WITH HEADER LINE.
CAPACITYTAB2 LIKE CAPACITYTAB OCCURS 0 WITH HEADER LINE,
CAPACITYTAB3 LIKE CAPACITYTAB OCCURS 0 WITH HEADER LINE.
tables used are: AFIH, AUFK, AFVGD,
CAUFVD,
TFDIR,
AFKO, AFVV, AFVC, AFVU,ILOA,CRHD,JEST.
NOW , I WANT TO DISPLAY THE 3 TABLES CAPACITY1, CAPACITY2, CAPACITY 3 in three different tables...kindly suggest how to give the respective fields in the smartform in ( FORM INTERFACE AND GLOBAL DEFINITIONS)
form interface
capacity1 type -
(choose tabletype for capacityitab)
capacity2 type the same table type
...
Do you want to dispaly the entire table data or just some fields ? If so, where is it within the main window, or the header ?
Regards
Santhosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Hari,
After creating the structure 'ZCAPACITY'
Form interface under tables option
<b>capacityitab like zcapacity</b>
Global defintions
declare the work area
wa_capacityitab type zcapacity
Under the Main Window node
where you have created and designed the table node -click on it - Go to the 'Data' options
enter the 'LOOP'
CAPACITYITAB INTO WA_CAPACITYITAB.
I hope it helps. If the problem is solved reward the points and close the thread.
Santhosh
Hi,
The best way to do this is to create a structure "ZCAPACITY" in SE11 like the structure of your internal table then in the smartforms, you just have to declare both in the Interface screen and globale screen:
capacitytab1 like zcapacity
capacitytab2 like zcapacity
capacitytab3 like zcapacity
Regards,
Erwan.
Message was edited by: Erwan LE BRUN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.