Remove occurs n
Hello Experts,
I have the current internal table declaration and usage like this:
declaration:
data: m_itab like hie_out occurs 0 with header line.
using in:
1) refresh m_itab
2) select MIED NOISD from Z_RSVD
into table m_ITAB
I am trying to eleminate the 'occurs n' declaration as it is believed to be not good performance.
i replace the declaration statment with
data: m_itab type zmietab.
but i get error at statements 1) and 2)
m_itab is not a internal table specification 'occurs n' is missing.
Any suggestions to get rid of this error..
Thanks,
BWer
Is zmietab a table type?
If not, then use this code....
data: m_itab type table of zmietab with header line.
Regards,
Rich Heilman
Similar Messages
-
Regarding performance tunnning
hi experts,
i have developed a report but while execution it is taking some extra time ,i already checked the extended program check and the code inspector,,i made it to zero for error ,warning etc.what extra sud i do to improve the performance,plz help me ,here i m giving my codes the complete pogram......
program:::::
REPORT ZRAWPRACTICE.
*Person:
*Program For:Mr.
*Module:MM & PP.
*Description :
*ALV GRID DISPLAY AND FORM WITH THE HELP OF SAP-SCRIPT TOOLS:
*type groups:
type-pools:slis.
*tables workarea:
tables:mard,t001w,mkpf,mseg,makt,T750E,t001l.
*internal table for final display:
data:begin of itab_final occurs 0,
werks like mard-werks, "for plant id
matnr like mard-matnr, "for material number
maktx like makt-maktx, "for material description
name1 like t001w-name1, "plant name
lifnr like mseg-lifnr, "vendors number
name2 like lfa1-name1, "vendors name
labst_tm like mard-labst, "target monthly
labst like mard-labst, "opening stock
labst_cl like mard-labst, "closing stock
labst_rt like mard-labst, "receive today
labst_rtld like mard-labst, "receive till date
labst_rty like mard-labst, "receive till year
labst_it like mard-labst, "issued today
labst_itld like mard-labst, "issued till date
labst_ity like mard-labst, "issued till year
bwart like mseg-bwart, "movement type
mblnr like mseg-mblnr, "material doc number
eisbe_cl like marc-eisbe , "closing balance
eisbe like marc-eisbe, "safety stock
insme like mard-insme, "Stock in quality inspection
speme like mard-speme, "Blocked stock
einme like mard-einme, "Totl Stck of All Restricted Batches
retme like mard-retme, "Blocked Stock Returns
lgort like mard-lgort, "Storage location
lgobe like t001l-lgobe, "Description of storage location
P_DATE like sy-datum, "for previous date
gptxt like t750e-gptxt, "for remarks
end of itab_final.
*internal table for mseg.:
data:begin of itab_mseg occurs 0,
mblnr like mseg-mblnr, "Number of Material Document
matnr like mseg-matnr, "Material Number
werks like mseg-werks, "Plant
lgort like mseg-lgort, "Storage location
bwart like mseg-bwart, "Movement Type
erfmg like mseg-erfmg, "Quantity in unit of entry
shkzg like mseg-shkzg, "Debit/Credit Indicator
menge like mseg-menge, "quantity
menge1 like mseg-menge, "for passing sum
mjahr like mseg-mjahr, "Material Document Year
name1 like lfa1-name1, "Name 1
lifnr like mseg-lifnr, "Vendor's account number
end of itab_mseg.
*internal table for movement type:
data:itab1 like itab_mseg occurs 0 with header line.
data:itab2 like itab_mseg occurs 0 with header line.
*internal table for mkpf:
data:begin of itab_mkpf occurs 0,
mblnr like mkpf-mblnr, "Number of Material Document
mjahr like mkpf-mjahr, "Material Document Year
budat like mkpf-budat, "Posting Date in the Document
blart like mkpf-blart, "Document type
p_date1 like sy-datum, "for psting date
end of itab_mkpf.
*internal table for rcving date:
data:begin of itab_mkpf_rcvdate occurs 0,
mblnr like mkpf-mblnr, "Number of Material Document
mjahr like mkpf-mjahr, "Material Document Year
budat like mkpf-budat, "Posting Date in the Document
blart like mkpf-blart, "Document type
P_DATE2 like sy-datum, "for previous date(rcv qty)
end of itab_mkpf_rcvdate.
*internal table for quantity received:
data:begin of itab_101 occurs 0,
matnr like mseg-matnr, "Material Number
erfmg like mseg-erfmg, "Quantity in unit of entry
mblnr like mseg-mblnr, "Number of Material Document
ebeln like mseg-ebeln, "Purchase order number
werks like mseg-werks, "Plant
erfmg_rt(13) type c, "Quantity received today
lgort like mseg-lgort, "Storage location
bwart like mseg-bwart, "Movement Type
lfbnr like mseg-lfbnr, "Doc No. of a Reference Document
smbln like mseg-smbln, "Number of Material Document
end of itab_101.
*internal table for deleting the docno.
data:itab3 like itab_101 occurs 0 with header line.
*internal table for plant name:
data:begin of itab_t001w occurs 0,
werks like t001w-werks, "plant id
name1 like t001w-name1, "plant name
end of itab_t001w.
*internal table for VENDOR name:
data:begin of itab_lfa1 occurs 0,
lifnr like lfa1-lifnr, "vendor number
name1 like lfa1-name1, "vendor name
end of itab_lfa1.
*internal table for Opening stock:
data:begin of itab_mard occurs 0,
matnr like mard-matnr, "material number
labst like mard-labst, "opening stock
werks like mard-werks, "plant id
end of itab_mard.
*internal table for material description:
data:begin of itab_makt occurs 0,
matnr like makt-matnr, "material number
maktx like makt-maktx, "material description
end of itab_makt.
*internal table for safety stock:
data:begin of itab_marc occurs 0,
matnr like marc-matnr, "materail number
werks like marc-werks, "plant id
eisbe like marc-eisbe, "safety stock
end of itab_marc.
*internal table for mkpf and mseg inner join
data:begin of itab_mkpf_mseg occurs 0,
mblnr like mkpf-mblnr,
mjahr like mkpf-mjahr,
budat like mkpf-budat,
blart like mkpf-blart,
matnr like mseg-matnr,
werks like mseg-werks,
lgort like mseg-lgort,
bwart like mseg-bwart,
erfmg like mseg-erfmg,
shkzg like mseg-shkzg,
menge like mseg-menge,
menge1 like mseg-menge,
end of itab_mkpf_mseg.
*internal table for mkpf for current date:
data:itab_mkpf1 like itab_mkpf_mseg occurs 0 with header line.
*internal table for collection
DATA: BEGIN OF WEG_MAT OCCURS 100,
WERKS LIKE MSEG-WERKS,
LGORT LIKE MSEG-LGORT,
MATNR LIKE MSEG-MATNR,
SHKZG LIKE MSEG-SHKZG,
MENGE(09) TYPE P DECIMALS 3,
END OF WEG_MAT.
*for closing stock & opening stock
DATA: BEGIN OF BESTAND OCCURS 100,
BWKEY LIKE MBEW-BWKEY,
WERKS LIKE MSEG-WERKS,
lgort like mseg-lgort,
MATNR LIKE MSEG-MATNR,
CHARG LIKE MSEG-CHARG,
ENDMENGE(09) TYPE P DECIMALS 3,
ANFMENGE(09) TYPE P DECIMALS 3,
MEINS LIKE MARA-MEINS,
SOLL(09) TYPE P DECIMALS 3,
HABEN(09) TYPE P DECIMALS 3,
WAERS LIKE T001-WAERS,
END OF BESTAND.
*for current date movement type
DATA: BEGIN OF SUM_MAT OCCURS 100,
lgort like mseg-lgort,
WERKS LIKE MSEG-WERKS,
MATNR LIKE MSEG-MATNR,
SHKZG LIKE MSEG-SHKZG,
MENGE(09) TYPE P DECIMALS 3, "XJD
END OF SUM_MAT.
*for sotrage location description
data:begin of itab_t001l occurs 0,
lgort like t001l-lgort,
lgobe like t001l-lgobe,
end of itab_t001l.
*WORK AREAS DEFINED FOR ALV'S:
DATA: WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV, "field catalog
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV, "field catalog ITAB
WA_SORT TYPE SLIS_SORTINFO_ALV, "SORT work area
IT_SORT TYPE SLIS_T_SORTINFO_ALV, "SORT ITAB
LAYOUT TYPE SLIS_LAYOUT_ALV, "LAYOUT
WA_FCODE TYPE SLIS_EXTAB, "FUN CODE
I_FCODE_EXTAB TYPE SLIS_T_EXTAB,
WA_EVENTS TYPE SLIS_ALV_EVENT,
IT_EVENTS TYPE SLIS_T_EVENT.
*for selection screen:
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME title text-001.
PARAMETERS: s_werks like mseg-werks obligatory,
s_date like mkpf-budat obligatory.
select-options:matnr for mard-matnr no intervals obligatory.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME title text-002.
PARAMETERS: LIST RADIOBUTTON GROUP G1,
FORM RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF BLOCK B2.
*for start of selection event:
start-of-selection.
perform get_data.
perform get_mkpf_data.
perform get_mseg_data.
perform get_opening_stock.
perform alv_display. ""for opening and closing stcok
perform get_mseg_cancellation.
perform get_mseg_recvtoday_quantity .
perform get_refresh_alltable.
perform get_mseg_recvtilldate_quantity .
perform get_mseg_recvtillyear_quantity .
perform get_refresh_alltable.
perform get_mseg_issuedtoday_quantity .
perform get_mseg_issdtilldate_quantity .
perform get_mseg_issdtillyear_quantity .
perform refresh_mseg_mkpf.
perform define_fieldcatalog.
*perform sort_field.
perform check_options.
*& Form define_fieldcatalog
text
--> p1 text
<-- p2 text
FORM define_fieldcatalog .
WA_FIELDCAT-COL_POS = 1.
WA_FIELDCAT-FIELDNAME = 'WERKS'.
WA_FIELDCAT-SELTEXT_L = 'Plant id'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 2.
WA_FIELDCAT-FIELDNAME = 'NAME1'.
WA_FIELDCAT-SELTEXT_L = 'Plant name'.
WA_FIELDCAT-OUTPUTLEN = 30.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 3.
WA_FIELDCAT-FIELDNAME = 'MAKTX'.
WA_FIELDCAT-SELTEXT_L = 'Material Description'.
WA_FIELDCAT-OUTPUTLEN = 40.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 4.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-SELTEXT_L = 'Material Number'.
WA_FIELDCAT-OUTPUTLEN = 15.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 5.
WA_FIELDCAT-FIELDNAME = 'MBLNR'.
WA_FIELDCAT-SELTEXT_L = 'Material Doc.No.'.
WA_FIELDCAT-OUTPUTLEN = 15.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 5.
WA_FIELDCAT-FIELDNAME = 'LGORT'.
WA_FIELDCAT-SELTEXT_L = 'Storage Location'.
WA_FIELDCAT-OUTPUTLEN = 17.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 6.
WA_FIELDCAT-FIELDNAME = 'LGOBE'.
WA_FIELDCAT-SELTEXT_L = 'Storage Location Descriptions'.
WA_FIELDCAT-OUTPUTLEN = 28.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 7.
WA_FIELDCAT-FIELDNAME = 'NAME2'.
WA_FIELDCAT-SELTEXT_L = 'Source/Vendor'.
WA_FIELDCAT-OUTPUTLEN = 33.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 8.
WA_FIELDCAT-FIELDNAME = 'LABST_TM'.
WA_FIELDCAT-SELTEXT_L = 'Target Monthly'.
WA_FIELDCAT-OUTPUTLEN = 15.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
WA_FIELDCAT-DO_SUM = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 9.
WA_FIELDCAT-FIELDNAME = 'LABST'.
WA_FIELDCAT-SELTEXT_L = 'Opening Stock'.
WA_FIELDCAT-OUTPUTLEN = 15.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 10.
WA_FIELDCAT-FIELDNAME = 'LABST_RT'.
WA_FIELDCAT-SELTEXT_L = 'Receive today'.
WA_FIELDCAT-OUTPUTLEN = 15.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 11.
WA_FIELDCAT-FIELDNAME = 'LABST_RTLD'.
WA_FIELDCAT-SELTEXT_L = 'Receive till date'.
WA_FIELDCAT-OUTPUTLEN = 20.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 12.
WA_FIELDCAT-FIELDNAME = 'LABST_RTY'.
WA_FIELDCAT-SELTEXT_L = 'Receive till year'.
WA_FIELDCAT-OUTPUTLEN = 20.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 13.
WA_FIELDCAT-FIELDNAME = 'LABST_IT'.
WA_FIELDCAT-SELTEXT_L = 'Issued today'.
WA_FIELDCAT-OUTPUTLEN = 13.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 14.
WA_FIELDCAT-FIELDNAME = 'LABST_ITLD'.
WA_FIELDCAT-SELTEXT_L = 'Issued till date'.
WA_FIELDCAT-OUTPUTLEN = 20.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 15.
WA_FIELDCAT-FIELDNAME = 'LABST_ITY'.
WA_FIELDCAT-SELTEXT_L = 'Issued till year'.
WA_FIELDCAT-OUTPUTLEN = 20.
WA_FIELDCAT-DO_SUM = 'X'.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 16.
WA_FIELDCAT-FIELDNAME = 'EISBE_CL'.
WA_FIELDCAT-SELTEXT_L = 'Closing Balance'.
WA_FIELDCAT-OUTPUTLEN = 16.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
WA_FIELDCAT-DO_SUM = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 17.
WA_FIELDCAT-FIELDNAME = 'LABST_CL'.
WA_FIELDCAT-SELTEXT_L = 'Closing Stock'.
WA_FIELDCAT-OUTPUTLEN = 16.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
WA_FIELDCAT-DO_SUM = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 18.
WA_FIELDCAT-FIELDNAME = 'EISBE'.
WA_FIELDCAT-SELTEXT_L = 'Safety stock'.
WA_FIELDCAT-OUTPUTLEN = 14.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
WA_FIELDCAT-DO_SUM = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = 19.
WA_FIELDCAT-FIELDNAME = 'GPTXT'.
WA_FIELDCAT-SELTEXT_L = 'Remarks'.
WA_FIELDCAT-OUTPUTLEN = 100.
WA_FIELDCAT-TABNAME = 'ITAB_FINAL'.
WA_FIELDCAT-INPUT = 'X'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
ENDFORM. " define_fieldcatalog
*& Form check_options
text
--> p1 text
<-- p2 text
FORM check_options .
WA_EVENTS-NAME = 'TOP_OF_PAGE'.
WA_EVENTS-FORM = 'TOP'.
APPEND WA_EVENTS TO IT_EVENTS.
CLEAR WA_EVENTS.
WA_EVENTS-NAME = 'END_OF_LIST'.
WA_EVENTS-FORM = 'END_LIST'.
APPEND WA_EVENTS TO IT_EVENTS.
CLEAR WA_EVENTS.
IF LIST = 'X'.
PERFORM LIST_DISP.
ENDIF.
IF FORM = 'X'.
PERFORM FORM_DISP.
ENDIF.
ENDFORM. " check_options
*& Form LIST_DISP
text
--> p1 text
<-- p2 text
FORM LIST_DISP .
PERFORM DEFINE_LAYOUT.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IT_FIELDCAT = IT_FIELDCAT
IS_LAYOUT = LAYOUT
IT_SORT = IT_SORT
I_CALLBACK_PF_STATUS_SET = 'STATUS'
IT_EXCLUDING = I_FCODE_EXTAB
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_EVENTS = IT_EVENTS[]
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = itab_final
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " LIST_DISP
*& Form get_data
text
--> p1 text
<-- p2 text
FORM get_data .
*for different types of stock with material number.
select mard~matnr
mard~werks
mard~lgort
mard~labst
mard~insme
mard~speme
mard~einme
mard~retme
mseg~lifnr into corresponding
fields of table itab_final from mard inner join mseg on
mard~matnr =
msegmatnr where mardmatnr in matnr and mard~werks = s_werks.
*for vendor name:
select lifnr
name1
from lfa1 into corresponding fields of table
itab_lfa1 for all entries in itab_final where lifnr =
itab_final-lifnr.
*for plant name:
select werks
name1 from t001w into corresponding fields of table
itab_t001w for all entries in itab_final where werks =
itab_final-werks.
*for opening stock:
select werks
matnr
labst from mard into corresponding fields of table
itab_mard for all entries in itab_final where matnr = itab_final-matnr.
*for material description:
select matnr
maktx from makt into corresponding fields of table
itab_makt for all entries in itab_final where matnr = itab_final-matnr.
*for safety stock:
select matnr
werks
eisbe from marc into corresponding fields of table
itab_marc for all entries in itab_final where matnr = itab_final-matnr.
*for storage location description
select lgort
lgobe from t001l into corresponding fields of table
itab_t001l for all entries in itab_final where lgort = itab_final-lgort
sort itab_final by matnr lgort.
loop at itab_final.
read table itab_t001w with key werks = itab_final-werks.
if sy-subrc = 0.
itab_final-name1 = itab_t001w-name1.
endif.
read table itab_lfa1 with key lifnr = itab_final-lifnr.
if sy-subrc = 0.
itab_final-name2 = itab_lfa1-name1.
endif.
read table itab_makt with key matnr = itab_final-matnr.
if sy-subrc = 0.
itab_final-maktx = itab_makt-maktx.
endif.
read table itab_marc with key matnr = itab_final-matnr
werks = itab_final-werks.
if sy-subrc = 0.
itab_final-eisbe = itab_marc-eisbe.
endif.
read table itab_t001l with key lgort = itab_final-lgort.
if sy-subrc = 0.
itab_final-lgobe = itab_t001l-lgobe.
endif.
itab_final-labst = itab_final-labst + itab_final-insme +
itab_final-speme.
modify itab_final.
delete adjacent duplicates from itab_final comparing matnr lgort.
endloop.
*loop and case for the quantity of the field " target monthly.
loop at itab_final.
case itab_final-matnr.
when '000000001000000008'.
itab_final-labst_tm = '3000.000'.
when '000000001000000007'.
itab_final-labst_tm = '500.000'.
when '000000001000000006'.
itab_final-labst_tm = '400.000'.
when '000000001000000005'.
itab_final-labst_tm = '3000.000'.
when '000000003000000011'.
itab_final-labst_tm = '18000.000'.
when '000000001000000000'.
itab_final-labst_tm = '20000.000'.
when '000000001000000001'.
itab_final-labst_tm = '20000.000'.
endcase.
modify itab_final.
endloop.
ENDFORM. " get_data
form top.
clear itab_final-p_date.
WRITE:/ SY-ULINE.
WRITE:/ 'REPORT DATE:', SY-DATUM, 60 'VISA STEEL LTD.' color 5,
100'Report Developed By Ravi kumar Gupta.' .
WRITE:/ 'TIME:', SY-UZEIT.
*for previous date
clear itab_final-p_date.
itab_final-p_date = S_date - 1.
WRITE:/ 'USER NAME:', SY-UNAME,55'STOCK REPORT FOR:',73
ITAB_FINAL-P_DATE,100'Application:MM & PP.'.
WRITE:/ 'PAGE', SY-PAGNO.
write:/ 'Unit of Measure =','MT.'.
translate itab_final-name1 to upper case.
WRITE:/54 itab_final-name1 color 6.
WRITE:/ SY-ULINE.
skip 1.
endform.
form end_list.
skip 1.
write:/ sy-uline.
write:/ 'Cc:S.B.Singh Executive Director.'.
write:/04'K.M.Lal Executive Director Raw Material.'.
write:/04'A.K.Lamba President Project.'.
write:/04'A.K.Agarwal VP Commercial.'.
write:/04'Murli Dhar Manager Blast Furnace.'.
write:/04'S.N.Sarangi DGM Commercial.'.
WRITE:/ SY-ULINE. .
SKIP 2.
WRITE:/60 'END OF PAGE'.
endform.
*& Form FORM_DISP
text
--> p1 text
<-- p2 text
FORM FORM_DISP .
ENDFORM. " FORM_DISP
*& Form DEFINE_LAYOUT
text
--> p1 text
<-- p2 text
FORM DEFINE_LAYOUT .
LAYOUT-ZEBRA = 'X'.
LAYOUT-SUBTOTALS_TEXT = 'SUBTOTAL SUM'.
LAYOUT-WINDOW_TITLEBAR = 'STOCK REPORT'.
LAYOUT-TOTALS_TEXT = 'TOTAL'.
ENDFORM. " DEFINE_LAYOUT
*& Form get_mkpf_data
text
--> p1 text
<-- p2 text
FORM get_mkpf_data .
itab_mkpf-p_date1 = s_date.
itab_mkpf-p_date1+6 = '01'.
**for the current date
select mkpf~mblnr
mkpf~budat
mseg~matnr
mseg~werks
mseg~lgort
mseg~bwart
mseg~shkzg
mseg~menge into corresponding fields of
table itab_mkpf1 from mkpf inner join mseg on mkpf~mblnr =
mseg~mblnr where
budat eq itab_mkpf-p_date1
*for the whole year
select mkpf~mblnr
mkpf~mjahr
mkpf~budat
mkpf~blart
mseg~matnr
mseg~werks
mseg~lgort
mseg~bwart
mseg~erfmg
mseg~shkzg
mseg~menge into corresponding fields of
table itab_mkpf_mseg from mkpf inner join mseg on mkpf~mblnr =
mseg~mblnr where
budat gt itab_mkpf-p_date1
and budat le sy-datum.
ENDFORM. " get_mkpf_data
*& Form get_mseg_data
text
--> p1 text
<-- p2 text
FORM get_mseg_data .
sort itab_mkpf_mseg by werks lgort matnr .
*for the deletion of material from mseg.
sort itab_mkpf_mseg by matnr lgort.
loop at itab_mkpf_mseg.
read table itab_final with key matnr = itab_mkpf_mseg-matnr.
if sy-subrc eq 4.
delete itab_mkpf_mseg.
endif.
endloop.
*for material deletion of itab_mkpf1
loop at itab_mkpf1.
read table itab_mkpf_mseg with key matnr = itab_mkpf1-matnr.
if sy-subrc eq 4.
delete itab_mkpf1.
endif.
endloop.
sort itab_mkpf_mseg by matnr werks lgort shkzg.
delete itab_mkpf_mseg where lgort is initial.
*for closing stock i.e,all mvmnt type summation
loop at itab_final.
loop at itab_mkpf_mseg.
IF itab_final-werks = itab_mkpf_mseg-werks AND
itab_final-lgort = itab_mkpf_mseg-lgort and
itab_final-matnr = itab_mkpf_mseg-matnr.
MOVE-CORRESPONDING itab_mkpf_mseg TO weg_mat.
COLLECT weg_mat.
ENDIF.
ENDLOOP.
ENDLOOP.
*for current date movement type
loop at itab_final.
loop at itab_mkpf1.
IF itab_final-werks = itab_mkpf1-werks AND
itab_final-lgort = itab_mkpf1-lgort and
itab_final-matnr = itab_mkpf1-matnr.
MOVE-CORRESPONDING itab_mkpf1 TO sum_mat.
COLLECT sum_mat.
ENDIF.
ENDLOOP.
ENDLOOP.
*for closing stock
loop at itab_final.
CLEAR weg_mat-menge.
MOVE-CORRESPONDING itab_final TO bestand.
READ TABLE weg_mat WITH KEY werks = itab_final-werks
lgort = itab_final-lgort
matnr = itab_final-matnr
shkzg = 'S'.
bestand-endmenge = itab_final-labst + itab_final-insme +
itab_final-speme + itab_final-einme +
itab_final-retme - weg_mat-menge.
CLEAR weg_mat-menge.
READ TABLE weg_mat WITH KEY werks = itab_final-werks
lgort = itab_final-lgort
matnr = itab_final-matnr
shkzg = 'H'.
bestand-endmenge = bestand-endmenge + weg_mat-menge. "closing stock
COLLECT bestand.
endloop.
ENDFORM. " get_mseg_data
*& Form refresh_mseg_mkpf
text
--> p1 text
<-- p2 text
FORM refresh_mseg_mkpf .
REFRESH itab_mkpf.
REFRESH itab_mseg.
REFRESH itab1.
REFRESH itab2.
ENDFORM. " refresh_mseg_mkpf
*& Form get_mseg_cancellation
text
--> p1 text
<-- p2 text
FORM get_mseg_cancellation .
itab_mkpf_rcvdate-p_date2 = s_date - 1.
select mblnr
mjahr
budat
blart from mkpf into corresponding fields of
table itab_mkpf_rcvdate where
budat eq itab_mkpf_rcvdate-p_date2
and blart in
('WA','WE','WL').
if not itab_mkpf_rcvdate[] is initial.
select matnr
erfmg
mblnr
ebeln
werks
lgort
bwart
lfbnr
erfmg
smbln from mseg into corresponding fields of table itab_101
for
all entries in itab_mkpf_rcvdate
where mblnr = itab_mkpf_rcvdate-mblnr and
bwart in ('101','531') and werks = s_werks.
endif.
select mandt
ebeln
matnr
bwart
lfbnr
smbln from mseg client specified into corresponding fields of
table itab3 for
all entries in itab_101 where ebeln =
itab_101-ebeln and bwart in ('102','532') and mandt = sy-mandt .
loop at itab_101.
read table itab3 with key lfbnr = itab_101-mblnr.
if sy-subrc = 0.
delete itab_101.
continue.
endif.
read table itab3 with key smbln = itab_101-mblnr.
if sy-subrc = 0.
delete itab_101.
continue.
endif.
endloop.
sort itab_101 by matnr.
ENDFORM. " get_mseg_cancellation
*& Form get_mseg_recvtoday_quantity .
text
--> p1 text
<-- p2 text
FORM get_mseg_recvtoday_quantity .
loop at itab_final.
loop at itab_101.
IF itab_final-werks = itab_101-werks AND
itab_final-lgort = itab_101-lgort and
itab_final-matnr = itab_101-matnr.
at end of matnr.
sum.
itab_101-erfmg_rt = itab_101-erfmg.
itab_final-labst_rt = itab_101-erfmg_rt .
endat.
endif.
endloop.
modify itab_final.
endloop.
clear itab_final-labst_rt.
ENDFORM. " get_mseg_recvtoday_quantity .
*& Form get_mseg_recvtilldate_quantity
text
--> p1 text
<-- p2 text
FORM get_mseg_recvtilldate_quantity .
select mblnr
mjahr
budat
blart from mkpf into corresponding fields of
table itab_mkpf_rcvdate where
budat between itab_mkpf-p_date1 and itab_mkpf_rcvdate-p_date2
and blart in
('WA','WE','WL').
select matnr
erfmg
mblnr
ebeln
werks
lgort
bwart
lfbnr
erfmg
smbln from mseg into corresponding fields of table itab_101
for
all entries in itab_mkpf_rcvdate
where mblnr = itab_mkpf_rcvdate-mblnr and
bwart in ('101','531') and werks = s_werks.
select mandt
ebeln
matnr
bwart
lfbnr
smbln from mseg client specified
into corresponding fields of table itab3 for
all entries in itab_101 where ebeln =
itab_101-ebeln and bwart in ('102','532') and mandt = sy-mandt
loop at itab_101.
read table itab3 with key lfbnr = itab_101-mblnr.
if sy-subrc = 0.
delete itab_101.
continue.
endif.
read table itab3 with key smbln = itab_101-mblnr.
if sy-subrc = 0.
delete itab_101.
continue.
endif.
endloop.
sort itab_101 by matnr.
loop at itab_final.
loop at itab_101.
IF itab_final-werks = itab_101-werks AND
itab_final-lgort = itab_101-lgort and
itab_final-matnr = itab_101-matnr.
at end of matnr.
sum.
itab_101-erfmg_rt = itab_101-erfmg.
itab_final-labst_rtld = itab_101-erfmg_rt.
endat.
endif.
endloop.
modify itab_final.
endloop.
ENDFORM. " get_mseg_recvtilldate_quantity
*& Form get_refresh_alltable
text
--> p1 text
<-- p2 text
FORM get_refresh_alltable .
refresh itab_mkpf_rcvdate.
refresh itab_101.
refresh itab3.
refresh itab_mkpf.
ENDFORM. " get_refresh_alltable
*& Form get_mseg_recvtillyear_quantity
text
--> p1 text
<-- p2 text
FORM get_mseg_recvtillyear_quantity .
select mblnr
mjahr
budat
blart from mkpf into corresponding fields of
table itab_mkpf_rcvdate where
budat le itab_mkpf_rcvdate-p_date2
and blart in
('WA','WE','WL').
select matnr
erfmg
mblnr
ebeln
werks
lgort
bwart
lfbnr
erfmg
smbln from mseg into corresponding fields of table itab_101
for
all entries in itab_mkpf_rcvdate
where mblnr = itab_mkpf_rcvdate-mblnr and
bwart in ('101','531') and werks = s_werks.
select mandt
ebeln
matnr
bwart
lfbnr
smbln from mseg client specified
into corresponding fields of table itab3 for
all entries in itab_101 where ebeln =
itab_101-ebeln and bwart in ('102','532') and mandt = sy-mandt
loop at itab_101.
read table itab3 with key lfbnr = itab_101-mblnr.
if sy-subrc = 0.
delete itab_101.
continue.
endif.
read table itab3 with key smbln = itab_101-mblnr.
if sy-subrc = 0.
delete itab_101.
continue.hi,
1.first remove occurs 0 and occurs 0,
use types and delcare structure.
then declare internal table.
ex-
types : begin of ty_lfa1,
kunnr like kna1-kunnr,'end of ty_kna1.
data : i_kna1 type standard table of ty_kna1 with header line.
2.instead of inner join use forallentries.
3. into corresponding fields of will decrease performance.
4. delete adjacent duplicates from itab_final comparing matnr lgort.
place it outside the loop.
5.before every select statenet check sy-subrc = 0.if sucessful the write another one.
6.dont' loop an internal table more than once.
and for better performane follow below points
Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
Avoid for all entries in JOINS
Try to avoid joins and use FOR ALL ENTRIES.
Try to restrict the joins to 1 level only ie only for tables
Avoid using Select *.
Avoid having multiple Selects from the same table in the same object.
Try to minimize the number of variables to save memory.
The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
Avoid creation of index as far as possible
Avoid operators like <>, > , < & like % in where clause conditions
Avoid select/select single statements in loops.
Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.
Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)
Avoid using ORDER BY in selects
Avoid Nested Selects
Avoid Nested Loops of Internal Tables
Try to use FIELD SYMBOLS.
Try to avoid into Corresponding Fields of
Avoid using Select Distinct, Use DELETE ADJACENT
Go through the following Document
Check the following Links
Re: performance tuning
Re: Performance tuning of program
http://www.sapgenie.com/abap/performance.htm
http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
check the below link
http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
See the following link if it's any help:
http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
Check also http://service.sap.com/performance -
Calling Bapi through BADI gives data statement error
Dear Experts,
I am trying to call BAPI through BADI ME_PROCESS_REQ_CUST --> process_item.
I get an error stating that "The addition OCCURS no longer supported in OO objects"
If, I remove OCCURS statement I get an error stating that "Tables with headers are no longer supported in OO context" for the following data statement.
Appreciate, if you could provide possible solution to overcome the problem.
Regards
Kumar
BAPI code is as follows.
DATA: LV_TABIX LIKE SY-TABIX,
LT_WMDVSX LIKE BAPIWMDVS OCCURS 0 WITH HEADER LINE,
LT_WMDVEX LIKE BAPIWMDVE OCCURS 0 WITH HEADER LINE.
LV_TABIX = SY-TABIX.
CLEAR: LT_WMDVSX, LT_WMDVEX.
REFRESH: LT_WMDVSX, LT_WMDVEX.
Fill communication table
LT_WMDVSX-REQ_DATE = ET_PROCUREMENT_ITEM-DELIV_DATE.
LT_WMDVSX-REQ_QTY = ET_PROCUREMENT_ITEM-QUANTITY.
APPEND LT_WMDVSX.
Availability check with check rule '03'
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
PLANT = ET_PROCUREMENT_ITEM-PLANT
MATERIAL = ET_PROCUREMENT_ITEM-MATERIAL
UNIT = ET_PROCUREMENT_ITEM-UNIT
CHECK_RULE = '03'
TABLES
WMDVSX = LT_WMDVSX
WMDVEX = LT_WMDVEX
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC EQ 0.
READ TABLE LT_WMDVEX WITH KEY
COM_DATE = ET_PROCUREMENT_ITEM-DELIV_DATE.
IF SY-SUBRC EQ 0.
ET_PROCUREMENT_ITEM-AVAIL_QTY = LT_WMDVEX-COM_QTY.
ENDIF.
ENDIF.Hi,
Occurs is no more supported by SAP ( is an obsolete statement )
<b>Instead of following code</b>
DATA: LV_TABIX LIKE SY-TABIX,
LT_WMDVSX LIKE BAPIWMDVS OCCURS 0 WITH HEADER LINE,
LT_WMDVEX LIKE BAPIWMDVE OCCURS 0 WITH HEADER LINE.
you can use
data: LT_WMDVSX type standard table of BAPIWMDVS,
LT_WMDVEX type standrad table of BAPIWMDVE,
LS_WMDVSX like line of LT_WMDVSX , "( work area )
LS_WMDVEX like line of LT_WMDVEX. "(work area)
use workarea to get the data and then append the records from workarea to Internal tables
Reward points if usefull
Regards,
Mohan -
Exception Queue cleanup.
hi all,
i am using oracle 9i.
is there a way to automatically remove messages from the exception queue?
if so, what determines when this removal occurs?
Thanks ahead,
Lior.i ll answer my question
first set exception queue dequeue enable
BEGIN
dbms_aqadm.start_queue(queue_name => 'aq$_request_qt_e',dequeue => TRUE,enqueue => FALSE);
END;
then dequeue messages with null consumer name ;) -
Ok, I am confused and need help.
I have a Flex 3 application with a List component bound to an ArrayCollection. I have dragEnable, dragMoveEnable, etc set to true. When I drag an item and drop it (to reorder the items) i do NOT get a Collection event "move". I instead get two collection events being dispatched...a "remove" and then an "add". It makes sense that it is removing the item from the old location and then adding it back in the new, but I need to know when the items are reordered and save the new order server side. Since users can also add and delete to the list, it's not enough for me to know when an "add" or "remove" occurs.
What gives? I know at some point I was responding to a "move" event in this case and it worked. My existing code used to work! What could have changed to break this?
What DOES raise a "move" CollectionEvent anyway?
Any help appreciated. Thanks!
MarcusI simply listened for CollectionEvent. The event handler checked the
event.kind. If it was "move" I would make my web service call to save the new order to the server.
Then I get a call from someone at work who says, "Hey the reordering is not saving any more". I have no idea how long it has not been working. When I debug I see that the collection event kind is never "move" so it never triggers the web service call.
Am I missing something about the collection change "move"??
Marcus -
Hi All,
Im trying tu use kron funcionality, but I got problem.
My config (just testing one):
kron policy-list test
cli configure terminal
cli interface Loopback 50
cli exit
kron occurrence test in 1 oneshot
policy-list test
and I get this result from debugging, command "conf t" works, but "interface loopback 50" doesnt,
it gives Kron CLI return 2
Dont somebody know, what do I do wrong?
Thanks a lot.
*Aug 17 16:57:47.423: Major 1, Minor 0
*Aug 17 16:57:47.423: Timer Event test
*Aug 17 16:57:47.423: Call parse_cmd 'configure terminal'
*Aug 17 16:57:47.423: Kron CLI return 0
**CLI 'configure terminal':
Enter configuration commands, one per line. End with CNTL/Z.'
*Aug 17 16:57:47.423: Major 4, Minor 7
*Aug 17 16:57:47.423: Respond to end of CLI Process
*Aug 17 16:57:47.427: Call parse_cmd 'interface Loopback 50'
*Aug 17 16:57:47.427: Kron CLI return 2
*Aug 17 16:57:47.431: Major 4, Minor 7
*Aug 17 16:57:47.431: Respond to end of CLI Process
*Aug 17 16:57:47.431: Call parse_cmd 'exit'
*Aug 17 16:57:47.431: Kron CLI return 0
**CLI 'exit':
1861_Test_VoiceGW_1 con0 is now availablePress RETURN to get started.'
*Aug 17 16:57:47.435: Major 4, Minor 7
*Aug 17 16:57:47.435: Respond to end of CLI Process
*Aug 17 16:57:47.435: Forcing Removing Occur test
*Aug 17 16:57:47.435: Removing Occur test
*Aug 17 16:57:47.435: Removing Policy Name 'test'
*Aug 17 16:57:47.435: Finished Removing Occurrence testHi, thanks but my tacacs somehow doesnt want to accept authorization requests (it gives invalid tacacs packet...) even if command "event manager session cli username" is there. But it works because of "if-authenticated" rule in aaa policy, which is second rule after tacacs authentication.
To be honest, I dont understand how router can perform these commands, even if it doesnt ask for any authentication (at least no authentication request is visible in ACS log) It probably uses authentication of user who originaly set timer for action... and because of "if-authenticated" rule it executes commands. -
I am a former user of MobileMe, and was granted the free 25GB of iCloud storage space that ends on Sept 30, 2013. At that time it looks like my free storage will drop to 5GB. I am currently using about 9GB of storage.
Are there any alternatives to buying the Apple's iCloud storage space and still having over 5GB of data stored off site?
I have a GoDaddy account in which I have oodles of GB of storage space. Can I somehow use that and migrate my "in the cloud" data to GoDaddy?Csound1 wrote:
I wasn't aware that Apple offered an online backup service?
They do for or iOS devices, and of course PhotoStream isn't a backup service, but does hold your pics for a time. Plus contacts and other data, obviously. Apple say:
Your iCloud email, contacts, calendars, bookmarks, and documents are stored in, and can be accessed from, iCloud. Apple shall use reasonable skill and due care in providing the Service, but, TO THE GREATEST EXTENT PERMISSIBLE BY APPLICABLE LAW, APPLE DOES NOT GUARANTEE OR WARRANT THAT ANY CONTENT YOU MAY STORE OR ACCESS THROUGH THE SERVICE WILL NOT BE SUBJECT TO INADVERTENT DAMAGE, CORRUPTION, LOSS, OR REMOVAL IN ACCORDANCE WITH THE TERMS OF THIS AGREEMENT, AND APPLE SHALL NOT BE RESPONSIBLE SHOULD SUCH DAMAGE, CORRUPTION, LOSS, OR REMOVAL OCCUR. It is your responsibility to maintain appropriate alternate backup of your information and data. -
I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.
I can work the screen behind the message which stays in the centre of my screen.Windows version is...?
What pages are giving you problems? [post links to same]
Are you getting the script errors only when attempting to print or...?
Has your printer's manufacturer confirmed that your currently installed printer software is IE11-compatible (yet)?
~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft -
While updating my Ipod to ios 5 an unexpected arror occured before my data was restored and now Itunes will not recognise my Ipod. My Ipod is also not seen as a device in My Computer but asks me to install drivers. What can I do?
- First I would remove and reinstall all the Apple software using the following and then restoring the ipOd.
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
- Next see if manually placing the iPOd in recovery mode will allow a restore. For recovery mode see:
iPhone and iPod touch: Unable to update or restore
- Next try DFU mode:
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- Next try another computer/cable to help determine if you have a computer or iPod problem.
- If the other computer works and yours does not see:
iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows -
I'm currently using OSX 10.6.8, 2.4GHz Intel Core 2 Duo Processor, 2 GB 667 MHz DDR2 SDRAM Memory. I am not able to upgrade the operating system, and the computer still has 67 GB of memory on the harddrive. I don't use it for anything very intense, mostly internet browsing. I was at a hotel over the weekend and connected to their free wifi. Once back home, two days later, I started receiving pop ups in Chrome. The first was MediaDownloader, so I assume that is the culprit. The second pop up to occur was Trojanalert. I looked through some online community forums and was pointed towards downloading and running AdwareMedic. My operating system does not support this program. Next I read up on how to examine libraries and extensions to find the issue. I'm not well versed in this, but I followed the directions and did not find any malicious looking extensions or items in the libraries. Before looking for the "thing" to remove, I backed up my computer as recommended.
I have never, to my knowledge, had a virus on this computer. I have never experienced pop ups, and I very rarely download any program, especially not software included with other programs.
Could someone recommend a virus/adware/malware utility that will find and remove this issue or provide me with a detailed set of instructions on how to find the issue and then correct it? Are there free online scans or removal tools that are trusted and could help? Also, if I should be posting this somewhere else, please let me know. I have not used this community tool much at all. Thank you in advance for any assistance.First, thanks for the quick response. This is the website that I looked at and was trying to follow. There are no extensions listed in my Safari, and the only two in Chrome are: Google Docs and Java for Browsing. In Firefox the only extension is Garmin Communicator 4.1.0.
To the best of my novice ability I followed the directions to look at the libraries and have not found malicious things there either. As I cannot upgrade to 10.7, is there anything else I'm missing? Again, I've tried my best to locate the cause, but I'm new to looking at files and paths. Nothing jumps out as abnormal or as something listed on thesafemac.com/arg . -
Since upgrading to Firefox 4.0 I've been receiving irritating messages every time I click through via a link embedded in a document or an email. The message says "An error occurred in sending the command to the application". How can I remove it?
Certainly!
This is the module in our eMac 1.42:
1GB PC2700 DDR 333MHz CAS 2.5 184 Pin DIMM
The vendor, Other World Computing, ships to the UK but I suspect the shipping would make it pricy. I also trust this vendor:
Apple G4 eMac 1.42GHz (184 Pin PC2700 DDR DIMMs)
Between the two vendor's description, you should have a good idea of the Specs
PPC Macs do not like hi-density PC RAM. That's why I linked these two; they send the right stuff to Mac users.
Crucial UK is usually cited as good but, like their US counterpart, seldom go against Apple's outdated specs. See:
http://www.crucial.com/uk/store/listparts.aspx?model=eMac%20(1.42GHz)&Cat=RAM
They show the max RAM for your model as 1GB--yesterday's news. However, if you order their offering for a G5 iMac, you get the larger modules. Here is a listing for a 2GB kit (2 x 1GB modules) of the right config:
http://www.crucial.com/uk/store/listparts.aspx?model=iMac%20(G5-1.8GHz%2C%2020-i nch)&Cat=RAM
Hope this didn't muddy the water!
Allan -
I keep getting this error code while trying to import a cd to my itunes: "Error occurred while converting the file. The disc you are attempting to use is full. removing files and emptying the recycle bin will free up additional space." What does this mean?
Well it probably means exactly what it says... How much free space is there on your hard drive where the iTunes Media folder resides? I believe there is also an obscure bug that can occur when software doesn't read the true value of the free space properly, and the workaround is, perversely, to duplicate some content so that with less actual free space the software in question perceives it as more. I've no idea if iTunes is affected by such a bug.
tt2 -
I'm trying to remove my Windows partition and delete Boot Camp altogether off my laptop. When I try to remove the partition, I get an error saying "An error occurred while restoring the disk to a single partition."
Can someone please help?Boot from another hard drive or DVD and repair with Disk Utility.
-
I don't know why I keep getting the following messge for a recent album I created in iphoto:
"An error occurred with the publication of album (name of album). Do you want to remove the album from your library?" In smaller letters under that message, is "The feed could not be found or is invalid." There are 2 buttons to click - either "Remove Album" or "Keep Album". Never had this issue before, did not do anything different this time.
Mac OS X v. 10.6.8
iphoto 09 v. 8.1.2 (424)Is this an album you're publishing as a MMe Gallery? If so delete the album and gallery, create a new album and gallery and try publishing again.
OT -
When I try to download and install the latest software version of iTunes, this message occurs: "iTunes has an invalid signature. The download has been removed." Any suggestions?
You seem to have an iTunes problem and not an iPod problem. I suggest posting in the iTunes forum.
How areyou doing the download?
From Apple's site?
Via the Apple downloader
PC or Mac?
Maybe you are looking for
-
My zen micro is recognized by my computer, but not firmwa
I have tried the whole uninstalling of wmp and all that and it only makes it so that the driver is no longer installed and the player is no longer recognized at all. What happened was that I had gone in to recovery mode and pressed reset firmware. Th
-
Slow boot after installing "SAP NetWeaver 7.01 - ABAP Trial Version"
Hello everyone, I have successfully installed "_SAP NetWeaver 7.01 - ABAP Trial Version_" on my personal computer, but since, booting is really really slow. I guess it's because what I installed launchs lots of processes. However, as I don't want to
-
Dear All, Does ALD come as a add-on while installing ECC 6.0? If so what are the restrictions on versions? I have SAPGUI 7.0 with EhP 1. Do I need to install ALD separately? How? Please revert. Thank you. Regards, Prosenjit.
-
Dropdowns - Is it possible to add 400 item lines quickly?!
I currently working on revamping one of our forms from Excel to Adobe PDF form but have hit a bit of a brick wall when realising that the dropdown list appears to only let you add one item at a time? Is it posible to add them in bulk as i've got abou
-
I am attempting to convert a file to a pdf file. It has been sitting on my screen as an upload but has not completing the action. What do I do?