Issue on deleting error message in WebUI
Hi Experts,
I have deleted one standard error message in DO_PREPARE_OUTPUT with some condition in header level but I am having below issues.
Issue one :
Now error is not showing in webui at header overview screen but allocated space for that error message is showing in output screen with white space.
Please help me how to remove that space.
Issue two:
When I open Item overview screen, again that message is showing in Item overview screen.
I am using the below code to delete the message and its successfully deleting the message but when I switch to other screen its again showing.
Please help me how to delete it completely on one go.
Code:
zcl_crm_ic_tools=>delete_message( iv_number = '419' iv_id = 'CRM_PRODUCT_I' ).
Method: delete_message
ls_message-number = iv_number.
ls_message-id = iv_id.
ls_message-type = iv_type.
APPEND ls_message TO zcl_static_reference=>gt_delete_msg.
endmethod.
Appreciate your help.
Kind Regards,
Shaik
Hi Shaik,
Refer to the following links
How to remove Std. CRM Messages
Delete UI Messages
You can also use COLLECT_MESSAGES with Delete Flag of CL_BSP_WD_MESSAGE_SERVICE class.
Thanks,
Chirag.
Similar Messages
-
How to populate a Error message in WebUI Screen
Dear Experts,
I have a small issue in Lead creation screen. I need to restrict the followup document if the lead end date is lesser than the system date, if the end date lesser than the system date system should through a error message in web Ui Screen and the lead follow up creation should be stoped.
We found an enhancement spot in backend(GUI) of lead creation we raised the error message in the backend screen. Here its working fine, But we are not able to get any error message in WebUI lead creation screen.
We written the code in CREATE_ORDER Method of lead creation in GUI ( tcode : CRMD_ORDER). We tried to debug the program using external debuger from webui but its not getting triggered.
Pls suggest me, how to raise a error message for WEBUI lead follow up creation validation.
Kindly do the needful.
Reg,
AnandhanHI Anandhan,
Try this way,
This should work.
lr_global_messages type ref to cl_crm_genil_global_mess_cont,
lr_core type ref to cl_crm_bol_core,
"Instantiate the error message class.
lr_core = cl_crm_bol_core=>get_instance( ).
if lr_core is bound.
lr_global_messages ?= lr_core->get_global_message_cont( ).
endif.
if lr_global_messages is bound.
call method lr_global_messages->add_message
exporting
iv_msg_type = lv_msg_type
iv_msg_id = '
iv_msg_number =
iv_show_only_once = 'X'
iv_msg_v1 =
iv_msg_v2 =
endif. -
Deleting error messages in ABAP stack and JAVA stack
Hello,
found some useful answers here about deleting messages
which are successfully delivered!
What I miss is an answer about:
a) Error messages in RWB
In Component monitoring -> Archiving you can plan a job to delete messages in status "successful" or "Cancelled with errors".
To cancel jobs you have to do this one by one. With reaction time from page manual cancellation needs hours for 100 messages (Ok, there is a multiple selection button you can use to tag per list screen!).
Now I have lots of message here
- System error
- to be delivered
- cancelled with errors (from system, special case, see next question)
ready to be erased (yes, sure about that!)
Is this the only way here to proceed?
Other question: looks like there is a default time frame for the job which looks like it is more than two months for "successful". "Cancelled with errors" is only deleted from list when reaching this status with the available button "Cancel" but not for messages with status "Cancelled with errors" set by the system.
Any chance to change that time frame.
And what about the messages "Cancelled...." by the system?
b) ABAP stack
OK, delete job is running. But looks like there is a default time frame "delete older than 2 months" (different from a! where it is more than 2 months)
I tried to delete some error messages with function "Cancel message with errors".
Now these messages are cancelled in SXMB_MONI (displayed with different status sign "Pencil").
Starting deletion job has no effect on them. Why? Because they are cancelled today and are not considered by the time frame of the deletion job?
Any help is appreciated!
(This tool is confusing me more and more! )
Hm, looks like nobody knows about this issue?
Regards
DirkHi Dirk,
I am also facing the issue for deleting the messages with errors or if i have cancelled them.
Did you find any solution for these issues. Kindly let me know if you have find out any solution.
thanks
Gopesh -
How to solve error message in webui
Hi ,
Please find the attachment.Ho
I am getting this error in webui level. How to solve the error messages in webui level.
Item 30 : Access to changed configuration data is not possible.
What procedure i will follow can you tell me.
Regards,
SaiDear Sai,
please consider note 1647590, this note might help you tol solve the situation.
Best regards
Rene -
Version 11.1.4.62 on WinXP issue: I have re-installed iTunes according to instructions. iTunes give me the error message "AppleMobileDeviceHelper.exe has found an error and terminates. Restarting service does not help. Re-installing does not help. iTunes cannot update iPhone4S, iTunes hangs when trying after iPhone syncronization.
See the user tip: https://discussions.apple.com/docs/DOC-6562 for resolution
-
Deleting error messages in PI 7.1
Hi ALL,
I cancelled system error messages from Message monitoring of RWB I need to know what happens to that message is that completely removed from the tables if yes how does it happen.
Is there any other method of removing messages which are error and successfully processed...I am told there is a method of archiving and deletion of messages can you send some document for that we are using PI 7.1.
What will be the retention period of messages ideally.?
Thanks
SouzThe archiving and deletion of messages happens from the DB and the configuration is the same as it happened for lower versions.
So the document for PI7.0 should hold good for PI7.1 also.
Regards,
Abhishek. -
ABAP query issue when logoff error message query not created
Hi All ,
I created a ABAP query using SQ01 . I saved it and i'm able to see the output . But , if i logoff from the system and relogin again to system and trying to execute the query , it is showing an error message
" The query has not been created " Please help me , is there any settings change or i have to do any thing else ?
Thanks & Regards ,
SabuHi ,
Yes you are right , when i try that way i can see , is it the correct solution ?
i have one more issue , i created the query , i can display and execute the query , but no one in the same system able to display or execute the query . What should i do .
Thanks & Regards ,
Sabu. -
How do you resolve an issue when creating groups on a Mac Mini Server when this error message appears.
"Unable to get Users & Groups State, The Open Directory master was created, but a problem was encountered trying to refresh the state of the server. Check log files for more info."Most likely, the Server was not configured correctly - DNS is a common issue, If DNS is not configured properly, OD will not be happy. You can run
sudo changeip -checkhostname
in Terminal to see of DNS is up and running.
Here's a great tutorial (not mine) for setting up OS X Servers. The page says it's for a typical school environment, but it can be applied in many other environments.
http://www.wazmac.com/servers_network/fileservers/osxserver_setup/index.htm
hth
Jeff -
Hello,
I'm hoping I can start getting answers to some big issues I've been having running Premiere pro. I've had similar issues with CS6 but it seems like with CC and every recent update, the problem hasn't been resolved, its even worse.
The main issue I have is seeing the 'unknown error' message everytime I try to export a file. I'm working with RED footage. When I turn off the CUDA support, I can export without the error but my export time goes from a few minutes to sometimes hours in the render time!
I've looked through pages and pages of forums and there are so many people saying the same thing, with millions of opinions of what the problem is. Regardless, the only thing I tried that worked so far is turning off the CUDA support.
Now something I recently noticed, is that the difference isn't the GPU usage, I still show GPU being used at 500mb or 1gb out of the 2gb that it has (GTX 680)
The strange thing is without the mercury playback option, I'm seeing that disk usage and I/O go way down to kbs from a very high number. This would make sense why I'm seeing such huge changes in render times even though it still shows my 6 core CPU maxed out and ram over 40gb out of 64 that are installed.
Does anyone have a suggestion on what may be happening here? Its the only thing that has plagued my system using Premiere since day one and there seems to be no way around it..Best way to get a real answer is go to the Tweaker's Page, download the most recent PPBM benchmark test, and run it. It's a folder that has a resource monitoring/logging program and a PrPro project with files that is short but HEAVY in effects, both AE and PrPro, so it tests all parts of a system's capabilities from disc in/out to GPU capability/use to CPU, fsb, RAM, you name it ... and after sending that back in you get a complete report on where your computer did well and what the choke-points were.
Also ... over on the Hardware forum is the place where the techies amongst us hang ...
Neil
Tweaker's Page ...
http://ppbm7.com/index.php/tweakers-page
Hardware Forum ...
https://forums.adobe.com/community/premiere/hardware_forum -
Display error message in WEBUI using BADI - ORDER_SAVE-CHECK_BEFORE_SAVE
Hi,
I am trying to display error message using BADI - ORDER_SAVE (Method-CHECK_BEFORE_SAVE) based on certain conditions when the document is saved from WEB UI.
I have written it like below:
If (some conditions).
Message E000 with 'Error in SAVE' RAISING DO_NOT_SAVE.
endif.
I mentioned my message class everything in class, and it is fine.
However, it is not displaying my error message. It is displaying standard information message saying "Document Could not be saved'.
Could you please help me out, how can I display my custom message.
Thanks,
SandeepHi Sandeep,
U can use FM to raise a message from order save badi.
Inside the if condition, u can raise do_not_save.
If (some conditions)
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = 'ORDERADM_H'
iv_ref_object = iv_guid
iv_ref_kind = 'A'
iv_msgno = '000'
iv_msgid = 'zcrm'
iv_msgty = 'A'
iv_msgv1 = c_text1
iv_msgv2 = c_text2
iv_msgv3 = c_text3
EXCEPTIONS
not_found = 1
appl_log_error = 2
OTHERS = 3.
IF sy-subrc NE 0.
ENDIF.
RAISE do_not_save.
ENDIF. -
Deleting error messages from EOIO Queue Automatically at run time
Hi Experts,
I am sending data from proxy to database. In case of error message i want that mesage to be cancelled at the run time and the remaining messages in queue should be processed, whether the error is in Integration engine or adapter engine. Please suggest me how to cancel the error or failed messages automatically (Alert has to be raised for the failed messages) so that my queue is processed successfuly
and failed messages can be sent manually.
Thanks
Ajay GargHi,
for creating and sending Alert check the links.
Alert Configuration
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Alert Inbox
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Alert Notification Step-by-Step
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Defining Alert Classifications
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Triggering Alerts
http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
Setting up alerts
Setting up alerts in RZ20
Alert Management
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
Alert Notification
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
Regards,
Phani -
An issue with DAQmx Error messages
Greetings,
I'm using a 6602 counter board with DAQmx 7.4, ANSI C API. A strange issue concerning the errors due to faulty attribute values keeps occuring, that being no error is reported when the (faulty) attribute value is set but only when it is read back afterwards. Shouldn't the faulty value be reported by the Set function?
To be specific, I'm creating a period measurement counter input channel with implicit timing, sample mode = finite, then setting the number of samples per channel to 0 (bear with me, I know the 0 value makes no sense here, the point is how the errors are being reported so that they can be handled in a reliable and consistent way). While DAQmxSetSampQuantSampPerChan(taskHandle, 0) does not produce an error, calling DAQmxGetSampQuantSampPerChan(taskHandle, &SampPerChan) for verification on the very next line returns Error -200077 : "Requested value is not a supported value for this property". So, my question is why the error is reported by the Getter instead of the Setter? Is this normal behavior (if so why?) or is something amiss here?
JeffThis is the expected behavior. Validating attributes is tricky when attributes are dependent upon other attributes. There are two main approaches that can be taken by NI-DAQmx.
One, when every attribute is set, NI-DAQmx could verify the value of that attribute in the context of the task (i.e., in the context of all other attributes). This is problematic for at least a couple of reasons. One, validating the task after every attribute is set is time consuming and not efficient. Two, validating the task after every attribute is set requires that customers set attributes in a specific order such that dependent attributes are set after their dependencies. This would dramatically decrease the usability of NI-DAQmx. In fact, if attributes are mutually dependent, this approach is impossible.
The second approach is that NI-DAQmx doesn't verify the task until it is forced to do so. Starting a task forces it to be validated. Querying an attribute also forces the task to be verified since the value of an attribute may be dependent upon the value of another attribute.
As you've noticed, we've taken the second approach with NI-DAQmx. This approach leads to a more efficient execution as well as allow customers to set attributes in an arbitrary order. If you want to force the task to be verified in order to check for errors, you can do so explicitly at the desired time. However, the need to check attributes for errors is most often needed when the application is under development and the NI-DAQmx error reporting features makes it easy to determine which attribute has been set to an invalid value even when that error is not reported immediately.
Now, in reality, the way NI-DAQmx handles attributes is a bit more complicated than what I just described. Since some attributes are not dependent on other attributes or, since some attribute values can never be valid regardless of the values of other attributes, these attributes are verified when they are set and errors are returned immediately. We refer to this as coarse attribute verification. For example, if you set the sample rate to 100 MHz on an E-Series device you will immediately get an error.
Hope this helps clarify the behavior.
geoff
Geoffrey Schmit
Fermi National Accelerator Laborary -
Have an issue with iMail error message
Every now and then, there doesn't seem to be a reason for it, but it is frequent, I get an error message as follows:
"mail can't connect to account "Noel Arnold"
Enter password for "[email protected]"
Password and a box already has the proper password entered, although it is indicated with asterisks
I just have to hit ok, and it will download new messages.
I'd like to eliminate this message from popping up, but I don't know how to do it.
I know the proper password is entered in the box, because when I click on ok, it allows the program to continue, any suggestions are appreciated.Its odd, I tried this on another Arch Linux box, and it builds fine!
-
What is the procedure to delete Error messages in SXMB_MONI?
How to schedule an archiving job / delete job in SXMB_ADM?
How to get rid of the messages with errors in SXMB_MONI?
Thanks,
BhaskarHi Bhaskar,
<i>>> How to schedule an archiving job / delete job in SXMB_ADM?</i>
Have a look at the following link :
http://help.sap.com/saphelp_nw04/helpdata/en/cd/20bc3ff6beeb0ce10000000a114084/frameset.htm
Regards
Suraj -
Issue Tracker App - Error Message
Hello, all,
I'm trying to learn, basically by following the steps to produce the Issue Tracker application from the Tutorials section in Apex 3.1. The application was written for Apex 2.x and at one point wants me to put the following query into a report:
DECLARE
q VARCHAR2(32767); -- query
w VARCHAR2(4000) ; -- where clause
we VARCHAR2(1) := 'N'; -- identifies if where clause exists
BEGIN
q := 'SELECT "ISSUE_ID", '||
' "ISSUE_SUMMARY", '||
' "IDENTIFIED_BY", '||
' "RELATED_PROJECT", '||
' "ASSIGNED_TO", '||
' "STATUS", '||
' "PRIORITY", '||
' "TARGET_RESOLUTION_DATE", '||
' "ACTUAL_RESOLUTION_DATE" '||
' FROM "#OWNER#"."HT_ISSUES" ';
IF :P6_IDENTIFIED_BY != '-1'
THEN
w := ' IDENTIFIED_BY = :P6_IDENTIFIED_BY ';
we := 'Y';
END IF;
IF :P6_RELATED_PROJECT != '-1'
THEN
IF we = 'Y'
THEN
w := w || ' AND RELATED_PROJECT = :P6_RELATED_PROJECT ';
ELSE
w := ' RELATED_PROJECT = :P6_RELATED_PROJECT ';
we := 'Y';
END IF;
END IF;
IF :P6_ASSIGNED_TO != '-1'
THEN
IF we = 'Y'
THEN
w := w || ' AND ASSIGNED_TO = :P6_ASSIGNED_TO ';
ELSE
w := ' ASSIGNED_TO = :P6_ASSIGNED_TO ';
we := 'Y';
END IF;
END IF;
IF :P6_STATUS != '-1'
THEN
IF we = 'Y'
THEN
w := w || ' AND STATUS = :P6_STATUS ';
ELSE
w := ' STATUS = :P6_STATUS ';
we := 'Y';
END IF;
END IF;
IF :P6_PRIORITY != '-1'
THEN
IF we = 'Y'
THEN
w := w || ' AND PRIORITY = :P6_PRIORITY ';
ELSE
w := ' PRIORITY = :P6_PRIORITY ';
we := 'Y';
END IF;
END IF;
IF we = 'Y'
THEN q := q || ' WHERE '|| w;
END IF;
RETURN q;
END;
When I do, I get the error "PLS-00372: In a procedure, RETURN statement cannot contain an expression." I googled the error and got the simple advice to turn the query into a function. Simple to many, yes, but not to me. Also, 3.1 does not allow the selection "SQL function returning a query" or some such, only an anonymous PL/SQL block.
Any help (at a very elementary level, please), please?
Thanks!Hello,
the problem with your code is that it is designed as an PL/SQL body returning an SQL query not as an anonymous PL/SQL block.
Which version of ApEx are you using? I have taken a look into version 3.1 and there is the possibility to select 'SQL Query (n PL/SQL body returning an SQL query)'.
Regards, Tine.
Maybe you are looking for
-
Hi all Just learning about Java Reg Exp's but falling at the first herdle!! Please view the following test code: import java.util.regex.*; import java.lang.*; public class RegTest public static void main(String [] args) String regex = "[A-Za
-
Upgrade 10.5 to 10.7 now?
Is it worth upgrading from 10.5 to 10.7 now? or will the price drop when 10.8 is released this summer? The first reason is that I live in Denmark, and our public login feature has made an update that requires 10.6 or higher to be able to use it agai
-
'Add files/folders to library...' comes up short
Long long long time MusicMatch User and have started using iTunes thanks to Pepsi's promotion. When trying to import my existing music into iTunes, the process comes up about 20% short. A vast majority of my song files are in mp3 with a handfull of u
-
PGI Should get block - without material cost in material master
Hi All, The scenario is we want to show error message while doing PGI if the material does not have any material cost in material master. How it is possible? Will we able to do with standards? Scenario: Material cost is nil in the material master, sy
-
How to set a reason for locked account throught source code with the API
Hi all, I need to set the lock reason of an user account. When we lock a user account at identity management, the system shows us a text edit and keep that lock reason on the account data tab. I need to simulate that, anybody could help me with this?