Hi experts,
INPUT
Plant (WERKS)
MRP Controller (MARC-DISPO)
DATE
OUT PUT
WORK SCHEDULE NO: MERGE(push button)
PLANNED ORDER NO
MATERIAL NO
MATERIAL DESCRIPTION
QUANTITY
SET
PRIORITY
WORK SCHEDULE NO: should be taken from req plan number (PLAF/PBIM-PBDNR)
PLANNED ORDER NO (PLAF-PLNUM)
MATERIAL NUMBER (PLAF-MATNR)
MATERIAL DESCRIPTION
QUANTITY (PLAF-GSMNG)
SET: here provision should be given to enter the numeric value (default it should be 1)
PRIORITY: provision should be given to enter the numeric value
MERGE: this can be a push button, which is used to merge two planned orders into one
here, i have created one structure.......and i called in internal table...
data: begin of spp occurs 0.
include structure zsppmod.
data: end of spp.
data: begin of it_itab occurs 0,
werks like marc-werks,
dispo like marc-dispo,
psttr like plaf-psttr,
pbdnr like plaf-pbdnr,
plnum like plaf-plnum,
matnr like plaf-matnr,
gsmng like plaf-gsmng,
maktx like makt-maktx,
p_set like zsppmod-pset,
priority like zsppmod-priority,
end of it_itab.
select single * from it_itab
into spp
where plant = zsppmod-werks
mrpcontroller = zsppmod-dispo
date = zsppmod-psttr.
endselect.
like this i called.....when i activate my prog i got one error
ERROR:
"IT_ITAB" is not defined in the ABAP Dictionary as a table, projection view or database view.
how to call structure to internal table.....
plz help me.......
with regards,
Uma