EPC WARNINGS
Hi All,
I have written a report and it is working fine. The problem is only with while during the EPC check for my report it is showning an warning as below.
Warning Messsage :
Do not use fields, field symbols (<FS_HEADER_LINE>) globally
Can be hidden using pragma ##NEEDED (or pseudo comment "#EC NEEDED).
I know that these warnings can be suppressed by providing the text as #EC NEEDED but the problem is that my lead will not accept the supressing the warnings using texts.Can anyone suggest me how to resolve the issue.I hvae tried a lot regarding these but I did not find a solution to it.
Below is the code of program where the epc check is showing the warning.If I tried to declare these field symbols with in a definition part of a class it is not accepting.How to overcome the issue.Thanks in Advance.
FIELD-SYMBOLS:
<fs_header_line> TYPE any,
<fs_header_line1> TYPE any,
<fs_header> TYPE STANDARD TABLE,
* Field Symbols Declarations for final
<fs_final_line> TYPE any,
<fs_final> TYPE STANDARD TABLE,
* Field Symbol declaration for the purpose to hold status of record
<fs_status> TYPE any,
<fs_validto> TYPE any.
Regards,
Chakradhar.
Hi Chakradhar,
Field symbols acts as a pointer.
It doesn't have the memory. during the run time memory address has been assigned logically.
It points the value of address which is assigned in run time of the program.
Don't use the field symbols in definition. You can use the field symbols in methods.
For Example:
I have enclosed the Test Program.
Regards,
Karthik.
Similar Messages
-
Regarding - Tilde symbol in 'SELECT' Query
Hi all,
Kindly tell me whether this type of Select query statement with where conition is correct, can we use it. Also tell me whether it will fetch correct data at any point of time.
Types : BEGIN OF ty_sector ,
sector TYPE zpat003_sector-sector,
END OF ty_sector.
data : it_sector TYPE TABLE OF ty_sector.
SELECT sector
FROM zpat003_sector
INTO TABLE it_sector
WHERE sectgrp = zpat003_sector~sectgrp
AND subsect = zpat003_sector~subsect
AND sector = zpat003_sector~sector.
IF sy-subrc IS INITIAL.
SORT it_sector BY sector.
DELETE ADJACENT DUPLICATES FROM it_sector.
Note :
1. I am filling this it_sector to use it for F4 purposes.
2. This table 'zpat003_sector' contains all the sector details, sub-sector and sector group details.
3. I have used this where condition, to avoid the EPC warnings.
Kindly guide me on this, how for this statement is right.Hi all,
Thanks all for your responses.
My aim is to fetch all the sector values from the table ZPAT003_SECTOR.
This i can achieve by just giving
SELECT sector
FROM zpat003_sector
INTO TABLE it_sector.
If i give like this, i am getting getting warning message in code inspector, saying
Table ZPAT003_SECTOR : No where condition.
So, to avoid this warning message, i have given the where condition as
WHERE sectgrp = zpat003_sector~sectgrp
AND subsect = zpat003_sector~subsect
AND sector = zpat003_sector~sector.
or else we can use #EC to truncate warning message.
By using this 'where' condition i am able to truncate the warning message and able to get all the data in developement server, but i want to know, using the condition like this is acceptable and whether will it work all time.
So kindly guide me on this -
How to group data in ALV grid display
Hello Experts,
I am using REUSE_ALV_GRID_DISPLAY to display my data.
here, I am using SLIS_T_FIELDCAT_ALV to create field catalog.
My requirement is data of 1 field/column in ALV had to be displayed by grouping.
Is there any field any fieldcatalog which I can set so that data will be displayed as after grouping.
I had searched a lot but found solution for OO ALV but not for function modules.
Edited by: shubh_ag on Sep 2, 2011 4:38 PMHi shubh,
try this,
* Declarations related to ALV Display
TYPE-POOLS : slis.
DATA : gt_fcat TYPE slis_t_fieldcat_alv ,
gs_fcat TYPE slis_fieldcat_alv,
list_gt_fcat TYPE slis_t_fieldcat_alv ,
list_gs_fcat TYPE slis_fieldcat_alv,
gt_listheader TYPE slis_t_listheader,
gs_listheader TYPE slis_listheader,
gs_layout TYPE slis_layout_alv,
list_gs_layout TYPE slis_layout_alv,
gs_wvar TYPE i VALUE 1.
DATA: gt_events TYPE slis_t_event,
gs_events LIKE LINE OF gt_events,
gt_sort TYPE slis_t_sortinfo_alv,
gs_sort TYPE slis_sortinfo_alv.
DATA:gs_ovar TYPE disvariant.
FORM alv_display .
PERFORM field_catalog.
PERFORM display_data.
ENDFORM. " ALV_DISPLAY
*& Form FIELD_CATALOG
text
--> p1 text
<-- p2 text
FORM field_catalog .
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'MATERIAL'.
gs_fcat-do_sum = 'X'.
gs_fcat-seltext_m = text-001.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'DESCRIPTION'.
gs_fcat-seltext_m = text-011.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'TYPE'.
gs_fcat-seltext_m = text-002.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'UOM'.
gs_fcat-seltext_m = text-003.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'PLANT'.
gs_fcat-do_sum = 'X'.
gs_fcat-seltext_m = text-004.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'PURCHASING_GROUP'.
gs_fcat-seltext_m = text-005.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'MRP_TYPE'.
gs_fcat-seltext_m = text-006.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'MRP_CONTROLLER'.
gs_fcat-seltext_m = text-007.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'SPECIAL_PRO '.
gs_fcat-seltext_m = text-008.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'STORAGE_LOCATION'.
gs_fcat-seltext_m = text-009.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_fcat-col_pos = gs_wvar.
gs_fcat-tabname = 'GT_FINAL'.
gs_fcat-fieldname = 'UNRESTRCITED_STOCK'.
gs_fcat-do_sum = 'X'.
gs_fcat-seltext_m = text-010.
gs_fcat-emphasize = 'C510'.
gs_fcat-fix_column = 'X'.
APPEND gs_fcat TO gt_fcat.
CLEAR gs_fcat.
ADD 1 TO gs_wvar.
gs_sort-fieldname = 'MATERIAL'.
gs_sort-tabname = 'GT_FINAL'.
gs_sort-subtot = 'X'.
APPEND gs_sort TO gt_sort.
gs_sort-fieldname = 'PLANT'.
gs_sort-tabname = 'GT_FINAL'.
gs_sort-subtot = 'X'.
APPEND gs_sort TO gt_sort.
ENDFORM. " FIELD_CATALOG
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
DATA:c_top TYPE slis_formname.
c_top = 'TOP'.
" For avoiding EPC warnings
CLEAR sy-index.
IF sy-index EQ 1.
PERFORM top.
ENDIF.
gs_layout-zebra = 'X'.
gs_layout-colwidth_optimize = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = c_top
is_layout = gs_layout
it_fieldcat = gt_fcat[]
it_sort = gt_sort
i_default = 'X'
i_save = 'U'
is_variant = gs_ovar
TABLES
t_outtab = gt_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. " DISPLAY_DATA
Regards,
Abhisek -
Hi Experts,
Can we make a variant run in background by default??
If yes then how??Hi,
By Usin Fm:RS_CREATE_VARIANT
Check This Code....
build range table for parameters of the variant
CLEAR t_contents. REFRESH t_contents.
PERFORM add_param_to_var.
PERFORM add_param_to_var1 USING 'P_YEAR' 'P' p_year.
PERFORM add_param_to_var1 USING 'P_PERIOD' 'P' p_period.
PERFORM add_param_to_var1 USING 'P_MATNR' 'P' p_matnr.
setup variant name
CONCATENATE p_period
p_year INTO r_var SEPARATED BY '_'.
r_varit-report = sy-repid.
r_varit-variant = r_var.
get rid of old variant if it exists
CLEAR t_delvar.
REFRESH t_delvar.
APPEND r_var TO t_delvar.
CALL FUNCTION 'RS_VARIANT_DEL_ALL_CLIENTS'
EXPORTING
report = w_cprog
TABLES
del_variants = t_delvar
EXCEPTIONS
not_authorized = 1
not_executed = 2
no_report = 3
report_not_existent = 4
report_not_supplied = 5
variant_locked = 6
OTHERS = 7.
IF sy-subrc <> 0.
*-- For EPC Checks
CLEAR sy-subrc.
ENDIF.
setup variant text
CLEAR t_text. REFRESH t_text.
t_text-langu = sy-langu.
t_text-report = w_cprog.
t_text-variant = r_var.
t_text-vtext = 'System_Generated_variant **do not touch **'(010).
APPEND t_text.
create new variant
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = w_cprog
curr_variant = r_var
vari_desc = r_varit
TABLES
vari_contents = t_contents
vari_text = t_text
EXCEPTIONS
illegal_report_or_variant = 1
illegal_variantname = 2
not_authorized = 3
not_executed = 4
report_not_existent = 5
report_not_supplied = 6
variant_exists = 7
variant_locked = 8
OTHERS = 9.
IF sy-subrc <> 0.
FOR EPC warnings
CLEAR sy-subrc.
ENDIF.
ENDFORM. " create_variant
*& Form add_param_to_var
FORM add_param_to_var.
LOOP AT s_matkl.
add value to sel options table
CLEAR t_contents.
t_contents-selname = 'S_MATKL'.
t_contents-kind = 'S'.
MOVE-CORRESPONDING s_matkl TO t_contents.
APPEND t_contents.
ENDLOOP.
LOOP AT s_spart.
add value to sel options table
CLEAR t_contents.
t_contents-selname = 'S_SPART'.
t_contents-kind = 'S'.
MOVE-CORRESPONDING s_spart TO t_contents.
APPEND t_contents.
ENDLOOP.
ENDFORM. " add_param_to_var
*& Form submit_in_background
FORM submit_in_background .
DATA : l_parameters TYPE pri_params,
l_valid TYPE c,
l_days(1) TYPE n VALUE 2,
l_count(3) TYPE n VALUE 1.
DATA: l_jobnam LIKE tbtcjob-jobname, "job name
l_jobcnt LIKE tbtcjob-jobcount. "internal job number
RANGES r_bname FOR usr03-bname. "mail recipients
build range of recipients as just current user
r_bname = 'IEQ'.
r_bname-low = sy-uname.
APPEND r_bname.
build job name as program +user +time
CONCATENATE w_cprog sy-uname sy-uzeit INTO l_jobnam
SEPARATED BY '_'.
CONDENSE l_jobnam NO-GAPS.
*Calling GET_PRINT_PARAMETERS function module to avoid EPC warning
as "SUBMIT ... TO SAP-SPOOL WITHOUT SPOOL DYNPRO" statement
produces unexpected results without the essential("DESTINATION",
"IMMEDIATELY", "KEEP IN SPOOL") print parameters.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
copies = l_count
destination = 'LOCL'
expiration = l_days
immediately = ' '
new_list_id = 'X'
no_dialog = ' '
release = 'X'
user = sy-uname
IMPORTING
out_parameters = l_parameters
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc <> 0.
FOR EPC warnings
CLEAR sy-subrc.
MESSAGE s000(zh) WITH
'Job not scheduled, Invalid print parameters.'.
EXIT.
ENDIF.
IF l_valid <> ' '.
create the job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = l_jobnam
IMPORTING
jobcount = l_jobcnt
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
FOR EPC warnings
CLEAR sy-subrc.
ENDIF.
SUBMIT zbcrp005 "Report distributor
WITH p_pgm = w_cprog
WITH p_var = r_var
WITH s_recvr IN r_bname
AND RETURN
TO SAP-SPOOL
SPOOL PARAMETERS l_parameters
WITHOUT SPOOL DYNPRO
VIA JOB l_jobnam NUMBER l_jobcnt.
close and submit the job
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobcnt
jobname = l_jobnam
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1.
IF sy-subrc <> 0.
FOR EPC warnings
CLEAR sy-subrc.
ENDIF.
issue message
MESSAGE i126(zh) WITH l_jobnam.
ENDIF.
ENDFORM. " SUBMIT_IN_BACKGROUND
*& Form add_param_to_var1
FORM add_param_to_var1 USING l_selname TYPE any
l_kind TYPE any
l_low TYPE any.
add value to sel options table
CLEAR t_contents.
t_contents-selname = l_selname.
t_contents-kind = l_kind.
t_contents-low = l_low.
APPEND t_contents.
ENDFORM. " add_param_to_var
Message was edited by:
Vishnu Reddy -
Dear Experts,
I have created table maintenance generator for my custom table that generated two function module and necessary includes.
I am getting Obsolete Statements EPC (SLIN) Error and warnings due to the auto generated includes in my function group while checking the extented program check.
I could not reduce the EPC errors and warnings because that referring the register object.
Could you please give your suggestion to reduce the EPC Errors and warnings?
Thanks in advance.
Warm Regards,
Sivakumar.A
Edited by: Sivakumar Arumugam on Oct 11, 2008 12:59 PMDear Deepak Paramashetty,
I did not get any problem ignored the warnings no other way.
Regards,
Sivakumar.A -
Why does certain warnings are causing dumps during Upgrade?
Hi friends ,
During Upgrade , I made an EPC check .There I got synatx errors and warnings as well. I corrected all the syntax errors except one warning. But later the same warning caused a serious dump though it usually doesnot happen. So is it required to correct warnings resulted in EPC check ? If yes , is there any convenient way to monitor the warnings that cause suich dumps as the number of warnings exceeds far more in amount as compared to syntax errors?Hi,
I don't think warning might cause serious errors like errors.. Please check why you got the dump for the warning message...
You should avoid Errors...
Regards,
Nagaraj -
Hi Experts,
What is the difference between EPC(Extended Program Check) and Debugging?
What are all the things we can get by using EPC and the procedure for EPC.
Please give me a detailed answer.
Thanks in advance.
Regards,
Ramgo with navigation check --> extended program check.
execute it. u will find warnings if any variables declared in program and not used it (this is one)
check all in it, explore it.
regards -
while i am doing EPC check for my program i am getting warnings for charecter string as fallows
A definition already exists for TEXTID 002 in ZPY_L_12356 line 419
Please let me know how to correct it
Thanks,
pavanFrom the error description, it seems you are trying to define the text id 002 twice. However its difficult to answer without a code excerpt. Could you please copy paste the relevant portions of your code (including line# 419) in the forum? Please use u201Cu201D so that format remains intact.
-
Unit Testing, Null, and Warnings
I have a Unit Test that includes the following lines:
Dim nullarray As Integer()()
Assert.AreEqual(nullarray.ToString(False), "Nothing")
The variable "nullarray" will obviously be null when ToString is called (ToString is an extension method, which is the one I am testing). This is by design, because the purpose of this specific unit test is to make sure that my ToString extension
method handles null values the way I expect. The test runs fine, but Visual Studio 2013 gives includes the following warning:
Variable 'nullarray' is used before it has been assigned a value. A null reference exception could result at runtime.
This warning is to be expected, and I don't want to stop Visual Studio 2013 from showing this warning or any other warnings, just this specific case (and several others that involve similar scenarios). Is there any way to mark a line or segment
of code so that it is not checked for warnings? Otherwise, I will end up with lots of warnings for things that I am perfectly aware of and don't plan on changing.
Nathan Sokalski [email protected] http://www.nathansokalski.com/Hi Nathan Sokalski,
Variable 'nullarray' is used before it has been assigned a value. A null reference exception could result at runtime.
Whether the warning above was thrown when you built the test project but the test run successfully? I assume Yes.
Is there any way to mark a line or segment of code so that it is not checked for warnings?
There is no built-in way to make some code snippet or a code line not be checked during compiling, but we can configure some specific warnings not to be warned during compiling in Visual Basic through project Properties->Compile
tab->warning configurations box.
For detailed information, please see: Configuring Warnings in Visual Basic
Another way is to correct your code logic and make sure the code will not generate warning at runtime.
If I misunderstood you, please tell us what code you want it not to be checked for warnings with a sample so that we can further look at your issue.
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Dear Folks,
We have Solaris 10 box connected to HP SAN EVA8000 through dual HBA with MPXIO enabled. From quite some time we started receiving below warning messages, Any body Could explain, What is the reasons for these warnings or any solution to avoid them.....Many Thanks In Advance....
/var/adm/messages (scanned at Tue May 8 08:46:12 AST 2007)
May 8 08:44:33 mx-jes-11 fp: [ID 517869 kern.info] NOTICE: fp(0): PLOGI to 11400 failed state=Packet Transport error, reason=No Connection
/var/adm/messages (scanned at Tue May 8 08:41:12 AST 2007)
May 8 08:36:22 mx-jes-11 fp: [ID 517869 kern.info] NOTICE: fp(0): PLOGI to 11400 failed state=Packet Transport error, reason=No Connection
/var/adm/messages (scanned at Tue May 8 08:46:12 AST 2007)
May 8 08:42:38 mx-jes-11 fctl: [ID 517869 kern.warning] WARNING: fp(0)::GPN_ID for D_ID=11400 failed
May 8 08:42:38 mx-jes-11 fctl: [ID 517869 kern.warning] WARNING: fp(0)::N_x Port with D_ID=11400, PWWN=10000000c94b138c disappeared from fabric
May 8 08:44:33 mx-jes-11 fctl: [ID 517869 kern.warning] WARNING: fp(0)::N_x Port with D_ID=11400, PWWN=10000000c94b138c reappeared in fabric
May 8 08:44:33 mx-jes-11 fctl: [ID 517869 kern.warning] WARNING: fp(0)::PLOGI to 11400 failed. state=e reason=5.
May 8 08:44:33 mx-jes-11 scsi: [ID 243001 kern.warning] WARNING: /pci@8,700000/QLGC,qla@5/fp@0,0 (fcp0):
/var/adm/messages (scanned at Tue May 8 08:41:12 AST 2007)
May 8 08:36:22 mx-jes-11 fctl: [ID 517869 kern.warning] WARNING: fp(0)::N_x Port with D_ID=11400, PWWN=10000000c94b138c reappeared in fabric
May 8 08:36:22 mx-jes-11 fctl: [ID 517869 kern.warning] WARNING: fp(0)::PLOGI to 11400 failed. state=e reason=5.
May 8 08:36:22 mx-jes-11 scsi: [ID 243001 kern.warning] WARNING: /pci@8,700000/QLGC,qla@5/fp@0,0 (fcp0):Emmalleres wrote:
you need to download patch 119130-17 for Solaris 10(SPARC) or another patch for Solaris 9 and intel platform.
this will resovle the issue.
[email protected] thread was originally posted more than two years ago. The O.P. has never returned to update the thread though they have been active in the forums since that time (click their username).
The suggested patch would be of value only if the system was installed with Solaris 10 Update 2 or older and had never been patched. Rev-17 of patch 119130 is/was from 2006, which can be seen by reading the README for it.
119130-19 was from May 2006
[http://sunsolve.sun.com/search/document.do?assetkey=1-21-119130-19-1|http://sunsolve.sun.com/search/document.do?assetkey=1-21-119130-19-1]
119130-16 was from Feb 2006
The only information was the excerpt provided in the initial post. It still appears to have been an issue with the storage peripheral. -
Warnings in FileReference - can not find the cause
I'm trying to make a loader of a few photos (use FileReference). I get the warnings, but I do not know the reason for their appearance.
warning: unable to bind to property 'fr' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'name' on class 'flash.net::FileReference'
warning: unable to bind to property 'data' on class 'flash.net::FileReference'
warning: unable to bind to property 'fr' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'name' on class 'flash.net::FileReference'
warning: unable to bind to property 'data' on class 'flash.net::FileReference'
CODE:
import mx.events.CollectionEvent;
import flash.net.FileReferenceList;
import mx.collections.ArrayCollection;
[Bindable]
private var photos:ArrayCollection = new ArrayCollection;
private var frList:FileReferenceList = new FileReferenceList;
private function init():void
photos.addEventListener(CollectionEvent.COLLECTION_CHANGE,function():void
startUploadButton.enabled = (photos.length>0);
clearPhotosButton.enabled = (photos.length>0);
frList.addEventListener(Event.SELECT,addPhotos);
private function selectPhotos():void
var fileFilter:FileFilter = new FileFilter("Images jpeg","*.jpg;*.jpeg");
frList.browse([fileFilter]);
private function addPhotos(e:Event):void
for (var i:uint = 0; i < frList.fileList.length; i++)
var elem:Object = new Object;
elem.fr = FileReference(frList.fileList[i]);
elem.fr.load();
elem.fr.addEventListener(Event.COMPLETE,refreshThumb);
photos.addItem(elem);
private function refreshThumb(e:Event):void
photosList.invalidateList();
public function clearPhoto(data:Object):void
photos.removeItemAt(photos.getItemIndex(data));
photosList.invalidateList();
private function startUpload():void
photosProgressContainer.visible = true;
var request:URLRequest = new URLRequest();
request.url = "http://localhost/tempLoader-debug/upload.php";
var fr:FileReference = photos.getItemAt(0).fr;
fr.cancel();
fr.addEventListener(ProgressEvent.PROGRESS,uploadProgress);
fr.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,uploadComplete);
fr.upload(request);
private function uploadProgress(e:ProgressEvent):void
photosProgress.setProgress(e.bytesLoaded,e.bytesTotal);
private function uploadComplete(e:DataEvent):void
photos.removeItemAt(0);
photosList.invalidateList();
if (photos.length > 0)
startUpload();
else
photosProgressContainer.visible = false;In my opinion this is the line that is causing you the warning:
<mx:Image source="{data.fr.data}" maxWidth="100" maxHeight="75"
horizontalAlign="center" verticalAlign="middle" />
That means that data should be a custom binable object and fr should be another
custom bindable object.
like
public class BindableData
public var fr:BindableData2;
public class BindableData2
public var data:String;
I am not sure though what you are trying to do though, but I assume you try top
load an image from your disk. This link will help you:
view source enabled...
http://www.everythingflex.com/flex3/flexcampItaly/
the blog post ...
http://blog.everythingflex.com/2009/09/08/flexcamp-presentation-filereference-load-part-1- of-3/
C
From: Astraport2012 <[email protected]>
To: Ursica Claudiu <[email protected]>
Sent: Sun, October 3, 2010 3:07:57 PM
Subject: Re: Warnings in FileReference - can not find the cause
I found the solution to the first part of the warning. Only need to modify the
object as ObjectProxy
public var elem:ObjectProxy = new ObjectProxy;
But with the second part is still a problem (warning: unable to bind to property
'name' on class 'flash.net::FileReference'
warning: unable to bind to property 'data' on class 'flash.net::FileReference').
I do not fully describe the problem in the first message. The main application
calls the component and passes it parameters. They cause errors.
It is this component photoThumb.mxml:
<?xml version="1.0" encoding="utf-8"?>
width="120" height="110"
backgroundColor="#FFFFFF" backgroundAlpha="0"
rollOver="{controls.visible=true;}" rollOut="{controls.visible=false;}">
<mx:Image source="@Embed('t1.png')" width="100%" height="100%" alpha="0"
horizontalAlign="center" verticalAlign="middle"/>
<mx:VBox width="100%" height="90" y="5" horizontalAlign="center" >
<mx:Image source="{data.fr.data}" maxWidth="100" maxHeight="75"
horizontalAlign="center" verticalAlign="middle" />
</mx:VBox>
<mx:Label text="{data.fr.name}" width="118" truncateToFit="false" bottom="0"
textAlign="center" />
<mx:VBox id="controls" visible="false" y="65" right="10" horizontalAlign="right"
>
<mx:Button label="X" click="parentDocument.clearPhoto(data)" fontSize="6"
width="30" height="15" />
</mx:VBox>
</mx:Canvas -
MultiProvider design CMP Warnings
Hello,
I'm trying to activate a MultiProvider using some infocubes including 0PA_C01 and 0PAOS_C01. When I check some warnings appears, among others:
Check of MultiProvider ZM:
Error messages from point of view of OLAP processor:
CMP problem occurred in characteristic [ZRUTA]Rutas for InfoProvider 0PAOS_C01
CMP problem occurred in characteristic [ZSTOR_LOC]Storage location for InfoProvider 0PAOS_C01
CMP problem occurred in characteristic [ZRUTA]Rutas for InfoProvider 0PA_C01
CMP problem occurred in characteristic [ZSTOR_LOC]Storage location for InfoProvider 0PA_C01
CMP problem occurred in characteristic [ZRUTA]Rutas for InfoProvider Z0PY_C02
as I can see it's because I'm using some characteristics that exists at some infocubes but not in the infocubes that originated warnings listed above. When trying to activate, Multiprovider activation is succesful, but when trying to retrieve info using Query Designer queries any info about involved infocubes is not available.
Has anyone experienced situations like this and what solution worked to fix it? what action(s) should I take into account?
Hope you could help me. Thanks a lot in advance.
BernardoHi,
Our EDWH landscape was on SPS 13 earlier, for sreolving certain other issues SAP suggested us to with SPS 16 Upgrade. Post SPS Upgrade in our development system, when we tried to activate the Multiprovider we have faced this warnings of CMP( Common Multi Provider) mentioning about the Compounding Infoobjects.There has been no change the struture post SPS, but still we received this error messages, when contacted SAP for the same, it suggested to insert the values mentioned by Jose in RSADMIN table, which will convert the errors to warnings.
Even though the struture remained the same post SPS, these warnings are and added feature after SPS 13.
There is no problem after this data insertion in the RSADMIN table.
Regards,
Ganesh Thota. -
Hi,
I just added a bigger harddrive and reinstalled Lightroom 5.4.
Now, 2 of 3 edit options are greyed out.
No access to plug-ins or external editors for original files.(NEF's)
I tried reset warnings already.Yes, Nikon transfer was used. From a D800, But that was a year ago.
It has been working fine.
Before I upgraded to 5.4 I had this problem.
When I upgraded to a larger harddrive and re-installed 5.4 the access was limited to only "Copy with Lightroom adjustments."
Last night it started working, I had full access!
But, today it won't work on the same image/plug-ins.
the NIK Collection for example.
This effecting ALL RAW files! D100, D90, D3100, D7000, D800.
My Laptop is doing it now, too!!!
I installed DNG Converter 8.4 with No Difference. NO RAW EDITS.
I can't send a NEF to DXO Optics Pro 9, or anything else! -
Change material type - any warnings?
A material with very little history exists in the system as a semi-finished item with 1220 valuation class. One purchase order exists that is due in, in two days. No inventory exists. The problem is that the system is not configured to post goods against 1220 valuation class items. So it needs converted to a finished good since the plan is to sell it after it is received from a vendor.
No open orders or other movements exist in the system. Just one new open po that was created today, and could easily be deleted.
So, delete the po then change the material type using MMAM.
Are there any recommendations/warnings someone can offer before this is done?Hi,
Pre requisites for changing a material types:
1. If you use a material ledger the material ledger must be settled in it.
2.If the old material type did not require you to specify a price control for the material the new material type must not be configured such that it allows only
standard price as price control.
3.If the material is already in stock or reservations exists or purchase orders exists the following conditions must exist.
1. The stock values of the new material types must be updated in the same
G/L Account as the stock values of the old material types
2. Quantities and values of the new material types must be updated exactly as were by the old material types.
Regards,
nandha -
Task UWL and Warnings BPM process
Hi,
I have two questions about:
- Created Tasks in the UWL
- Warnings BPM process.
I have created a BPM process with a one human activitie. This human activity assigned to a task with one potential owner. When i start the process and open the portal UWL, two tasks has been generated!?. Both are the same because when i complete the first task and open the second task, i get the message: " Task has been already completed ".
Second question: when i open the created BPM process, the following warnings appears in the problem tab of NWDS:
Some of the data elements from input mapping of "Cancelled"is not initialized before used.
Some of the data elements from input mapping of "Completed"is not initialized before used.
How can i solve this warning?
Kind regards,
Martin GerritsenHi Martin,
Regarding the "double-task". How did you invoke the process? Via web service? Via NWA? Might it be possible that you submitted the request twice (e.g. double-click instead of a single click?) and that's the reason why 2 tasks are apparing? Or does this happen every time when you start the process?
Just a best guess.
Best regards,
Martin
Martin,
The process will be started by a web service. This service is created as a new WSDL in the BPM environment. This service is connected to the start event of the BPM process and contains a few import parameters. After that i called the service from a R/3 system which started the process.
The 2 tasks apparing everytime i start the process...
When i start the process from the process repository (Netweaver Administrator -> Configuration Management -> Processes and tasks), i get the same problem...
The process contains two human activity's. When the first activity is completed and the second human activity start, 2 tasks will be generated (both the same...)
Maybe you are looking for
-
Unable to Connect to database server
Hi All, I have installed Oracle 11g R2 database, I used it for almost a month now and then today when I tried to log in into it I am getting this error. An error was encountered performing the requested operation: Listener refused the connection with
-
Devide performance when debugging
Hi, I've developed some videogames to other mobiles using their own sdk and in that case when debugging the computer lanunched all the application to the mobile instead of being launched from the mobile directly. The hard work was made by the compute
-
F150 and problem with job deleted
Hi all, I have a problem with F150: we have made a dunning session, but the batch job was manually stopped and than deleted. Now I don't know how to delete the dunning run (all delete option are unabled), and if we execute another session the custome
-
Workbooks are getting corrupted
Hi, We have workbooks where the end user's open's them in both English and Japanese. If there are any changes in the workbook, we use to do only in English. But when we reassign the Dataprovider and save the workbook, the workbook is getting corrupte
-
How to call the U.S. from the Maldives?
I will be in the Maldives for 10 days and want to be able to call the U.S. via a Windows laptop. What's the best way to do this? Should I do the pay-as-you-go approach or get a subscription? If I use the pay-as-you-go approach with Skype credit, c