0% found this document useful (0 votes)
20 views3 pages

4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views3 pages

4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

data : wa_title1 type lvc_title.

data : r_ucomm type sy-ucomm,


rs_selfield type slis_selfield,
rs_lineinfo type slis_lineinfo.

data : wt type lvc_s_scol,


ct type lvc_t_scol.

*******Data and Internal Table declaration**********************

data : BEGIN OF wa_viaufkst,


aufnr type viaufkst-aufnr,
equnr type viaufkst-equnr,
auart type viaufkst-auart, "order type whether PM10 or PM80 or PM85
autyp type viaufkst-autyp,
ktext type viaufkst-ktext, "order text
erdat type viaufkst-erdat,
rsnum type viaufkst-rsnum, "reservation number
objnr type viaufkst-objnr,
werks type viaufkst-werks,
ftrmi type viaufkst-ftrmi, "actual release date
prctr type viaufkst-prctr, "profit center
kostl type viaufkst-kostl, "cost center
vaplz type viaufkst-vaplz, "main work center
ZZ_VERNR type viaufkst-zz_vernr, "person responsible number
aufpl type viaufkst-aufpl, "routing number of operations in the order
END OF wa_viaufkst.
data : it_viaufkst like TABLE OF wa_viaufkst.

data : temp_viaufkst like wa_viaufkst.

data : BEGIN OF wa_resb,


aufnr type resb-aufnr,
rsnum type resb-rsnum,
rspos type resb-rspos,
xloek type resb-xloek,
kzear type resb-kzear,
werks type resb-werks,
matnr type resb-matnr,
bdmng type resb-bdmng,
meins type resb-meins,
enmng type resb-enmng,
enwrt type resb-enwrt,
shkzg type resb-shkzg,
objnr type resb-objnr,
bwart type resb-bwart,
gpreis type resb-gpreis,
gsber type resb-gsber,
postp type resb-postp,
saknr type resb-saknr, "G/L Account Number
aufpl type resb-aufpl,
aplzl type resb-aplzl,
END OF wa_resb.
data : it_resb like TABLE OF wa_resb.

data : wa_resb1 like wa_resb,


it_resb1 like TABLE OF wa_resb.

data : BEGIN OF wa_jest,


objnr type jest-objnr,
stat type jest-stat,
inact type jest-inact,
chgnr type jest-chgnr,
END OF wa_jest.
data : it_jest like TABLE OF wa_jest.

Data : wa_skat type skat,


it_skat type STANDARD TABLE OF skat.

data : wa_makt type makt,


it_makt type TABLE OF makt.

data : temp_resb like wa_resb.


data : BEGIN OF wa_resb2,
matnr type resb-matnr,
rsnum type resb-rsnum,
rspos type resb-rspos,
bdmng type resb-bdmng,
meins type resb-meins,
gpreis type resb-gpreis,
enmng type resb-enmng,
enwrt type resb-enwrt,
saknr type resb-saknr,
END OF wa_resb2.
data : it_resb2 like TABLE OF wa_resb2.

data : lv_bdmng type resb-bdmng,


lv_bdmng_cost type resb-gpreis.

data : BEGIN OF wa_fin,


aufnr type viaufkst-aufnr,
rsnum type resb-rsnum,
rspos type resb-rspos,
code type c LENGTH 20, "Mat/Serv

packno type ml_esll-packno,


introw type ml_esll-introw,
extrow type ml_esll-extrow,

matnr type resbdget-matnr, "material/ service number


matxt type resbdget-matxt, "material/service description
meins type resbdget-meins,
postp type resbdget-postp, "Item Category

bdmng type resbdget-bdmng, "plan qty


pcost type resbdget-gpreis, "plan cost

enmng type resbdget-enmng, "actual qty


acost type resbdget-enwrt, "actual cost

pln_packno type ml_esll-pln_packno,


pln_introw type ml_esll-pln_introw,

saknr type resbdget-saknr,


stext type skat-txt20, "cost element text
END OF wa_fin.

data : it_fin like TABLE OF wa_fin.

data : BEGIN OF wa_afvc,


aufpl type afvc-aufpl,
aplzl type afvc-aplzl,
vornr type afvc-vornr,
steus type afvc-steus,
ltxa1 type afvc-ltxa1,
loekz type afvc-loekz,
objnr type afvc-objnr,
banfn type afvc-banfn,
bnfpo type afvc-bnfpo,
packno type afvc-packno,
END OF wa_afvc.
data : it_afvc like TABLE OF wa_afvc.

*data : BEGIN OF wa_eslh,


* packno TYPE eslh-packno,
* ebeln TYPE eslh-ebeln,
* ebelp type eslh-ebelp,
* del type eslh-del,
* END OF wa_eslh.
*data : it_eslh like TABLE OF wa_eslh.
*
*
*data : BEGIN OF wa_esll,
* srvpos type esll-srvpos, " Activity Number
* packno type esll-packno, " Package number
* introw type esll-introw, " Line Number
* extrow type esll-extrow,
* menge type esll-menge, " Quantity with Sign
* meins type esll-meins, " Base Unit of Measure
* brtwr type esll-brtwr, " Gross Price
* netwr type esll-netwr,
* ktext1 type esll-ktext1, " Short Text
* tbtwr type esll-tbtwr, " Gross Price
* kstar type esll-kstar, "cost element
* END OF wa_esll.
*data : it_esll like TABLE OF wa_esll.

data : BEGIN OF wa_pesll, "Plan esll table


packno type ml_esll-packno,
introw type ml_esll-introw,
extrow type ml_esll-extrow,
del type ml_esll-del,
srvpos type ml_esll-srvpos,
menge type ml_esll-menge, " Quantity with Sign
meins type ml_esll-meins, " Base Unit of Measure
brtwr type ml_esll-brtwr, "Gross price
netwr type ml_esll-netwr,
ktext1 type ml_esll-ktext1,
pln_packno type ml_esll-pln_packno, "source package number (used to match with actuals)
pln_introw type ml_esll-pln_introw, "(used to match with actuals)
fpackno type ml_esll-fpackno, "packno from table AFVC is passed to this field
tbtwr type ml_esll-tbtwr, "Gross price
mapno type ml_esll-mapno, "Mapping Field f. PACKNO, INTROW at Item Level for Commitment
END OF wa_pesll.
data : it_pesll like TABLE OF wa_pesll.

data : BEGIN OF wa_aufm,


aufnr type aufm-aufnr,
mblnr type aufm-mblnr,
mjahr type aufm-mjahr,
zeile type aufm-zeile, "item in material document
budat type aufm-budat,
bwart type aufm-bwart,
matnr type aufm-matnr,
lifnr type aufm-lifnr,
shkzg type aufm-shkzg,
dmbtr type aufm-dmbtr, "price
erfmg type aufm-erfmg, "qty
erfme type aufm-erfme, "units
ebeln type aufm-ebeln,
ebelp type aufm-ebelp,
rsnum type aufm-rsnum,
rspos type aufm-rspos,
sakto type aufm-sakto,
aufpl type aufm-aufpl,
aplzl type aufm-aplzl,
END OF wa_aufm.
data : it_aufm like TABLE OF wa_aufm.

data : wa_aufm1 like wa_aufm,


it_aufm1 like TABLE OF wa_aufm1.
hfijKN

You might also like