Populating error message based on search help
Hi team,
How can we populate error message in a shopping cart account assignment "order " field for the bellow two senarios. I am adding a custom field called "Operational Activity" in account assignment. based on which search help has to be done
the 2 senarios are
1. When user does not select the "Order" but tries to search for the operational activity, he should get error .
2. When user selects the "Order" and this order has an operational activity linked to it, then give error message to input the OA The logic will be to do a RFC call to ECC by sending the SRM Order number BBP_PDACC-ORDER_NO to ECC table AFKO and see if there is AUFPL.
Edited by: goutam kolluru on Nov 16, 2011 5:48 AM
Hi Anshu,
Thank for u replay.
yes it can be done using doc_check_badi, but my question is how can we display error message by comparing search help values.
if user is not entering value of order field and select search help for custom operational activity field how it can be done in check badi.
Edited by: goutam kolluru on Nov 16, 2011 6:54 AM
Edited by: goutam kolluru on Nov 16, 2011 6:59 AM
Similar Messages
-
The Favorite Content Portlet could not be populated.Error Message
Hi all,
I am new in PORTAL, I made an Instant portlet which was working fine. But then started an error occuring when I view the Portal Page: "The Favorite Content Portlet could not be populated.Error Message." This error is show in a dialog box when ever I view page or navigate to other tabs(subpages) of portal.
When I diagnose I got that this error is in "Main Navigator". If I delete the Main Navigator from Portal this error does not occur. But without Navigator subpages(tabs) cannot be visible.
This is the case when I make new INSTANT PORTAL. Please Help urgent!!!!!!!!!!!!
Thanks,
FahimI strongly recommend upgrading to the 3.0.9 release (iAS
1.0.2.2) with the 3.0.9.8.2 patch (this patch should be
available for NT/2000 this week). Also, the database should be
running 8.1.7.1 (or later), as explained in the iAS release
notes.
Regards,
Jerry -
My Adobe Reader XI 11.0.09 fails to open pdf's. Error message - "because the associated helper application does not exist." Can anyone help me?
Okay. I will try this again. I did remove and reinstall earlier, but will
do it now.
regards, Mike
On Wed, Oct 15, 2014 at 12:55 PM, Sabian Zildjian <[email protected]> -
In Elements 12, I cannot open Contact Sheet II. I keep getting an error message. Can anyone help with this?
That's a different file.
Try this:
1. Click on your desktop
2. Then in the Go menu click on Go To Folder
3. Paste the following line in the Go To Folder dialog and press Go
~/Library/Preferences/Adobe/Plugins/Adobe Contact Sheet II PSE12/Elements
4. That should open a finder window something like below.
Drag the Adobe Contact Sheet PSE12 Prefs to the Trash on the dock
5. Start the pse 12 editor and see the contact sheet II works. -
my iphone 3g fails to restore. i have tried to restore many times and in different computers but at the end of the restore process it keeps giving me an error message- 1015. can anybody help? thx.
The phone was jailbroken. That's what that error indicates. You can't get help here. You can't get help from Apple.
Try Google. -
TS3694 I am trying to restore my iphone 4s and i get an error message 21,can u help pls
II am trying to restore my iphone 4s and i get an error message 21,can u help pls
gregoryfromnzl wrote:
i get an error message 21,
See here > http://support.apple.com/kb/TS3694#hardware -
Clear the webdynpro error messages in Dictionary serach help window
Hi ,
I have a search help attached to one of the table column in table control. In the On Enter event of search help i am trowing some error messages. I am using Dictionary standard search help....
On enter event is working fine. My issue is when some error messages are thrown in the webdynpro view those messages are also displaying in the search help window. Whatever may be the message is showing in the webdynpro view at runtime all those messages are getting displayed when i open a searchhelp in the table control.
How can i clear those messages ? When its standard searchhelp where can i write the code to clear the webdynpro meesages.
Could anybody suggest me on this....?
Thanks & Regards
Sireesha...Hi Sireesha,
As far as I know there is no direct way to track the event of F4 window opened, so that we can clear the messages...
Below is one solution.
WD Standard fires an event when ever a window is opened in the application.
The event that is fired is CL_WDR_WINDOW->IF_WD_WINDOW~WINDOW_OPENED
This is an instance event. Please follow the below steps to handle this event
1) Store the message manager reference in a class as a Static variable
2) Create a Event handler for all instances (A Static event handler will suffice)
3) Give importing parameter Sender (it will be automatically identified by the class builder and the corresponding CL_WDR_WINDOW reference will be populated into this at runtime)
4) Now use the below code to clear the messages
DATA lcl_window_ref TYPE REF TO cl_wdr_internal_window.
TRY.
lcl_window_ref ?= sender.
CATCH cx_sy_move_cast_error.
RETURN.
ENDTRY.
IF lcl_window_ref->is_value_help = abap_true.
CALL METHOD gr_wd_msg_mgr->clear_messages
EXPORTING
including_permanent_msg = abap_true.
ENDIF.
below is how u can set the handler
Assuming handler method is clear_msgs_on_f4wd_window_open
SET HANDLER clear_msgs_on_f4wd_window_open FOR ALL INSTANCES.
Please let me know if you need more help
Thanks,
Anand -
Outlook causing 'connection was reset' error message, need my email, help!
I have looked through so many troubleshooting questions that are similar but nothing is helping.
So far;
Turned it off and on again.
Deleted cookies, searched for corrupted files left behind but found nothing.
Cleared the cache.
Checked the anti virus software (bitdefender)
Uninstalled Flash player.
Disabled add ons.
Threatened to hit it.
All my other webpages work.
Cant make it work in IE either.What is the web page / site address you are having problems with?
https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message
https://support.mozilla.org/en-US/kb/connection-untrusted-error-message
'''This Connection is Untrusted''' is sometimes caused because the
computer system clock is wrong. Check the time / date / time zone settings. -
Error Page with my own Error Message based on table
<p class="MsoNormal"><span style="" lang="EN-AU">Hi All<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">I want to share my code (based on Apex_Lib code. Thanks Patrick) , maybe can help somebody else<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Purpose: Replace the DB errors messages ( i.e ORA-00001- primary constraint ) with my own Message fetched from a table.<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Components: 4 components<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1. Java Script function ( MyErrorPage )<o:p></o:p><br>2. My Custom Error Page Template<o:p></o:p><br>3. Application item ( you can use any item )<o:p></o:p><br>4. Application Process ( getErrorMsg )<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> 5. My Error Table.<span style=""> </span>( Provided just as example )<o:p></o:p><br>6. Display example<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> Integration:<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> 1 Identify your Error Page Template and Go there. In my case for example is LOGIN<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1.1 Under Definition / Header. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> Copy the follow JS<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> <script type="text/javascript"><br><br>function MyErrorPage(p_err_item,p_err_process)<br>{<br><br> var vElementList = null;<br> var vErrorStack = null;<br> var vOraError = null;<br> var vOraCode = null;<br> var vAjaxRequest = null;<br> var vAjaxResult = null;<br> var vMyMsg = '';<br><br> vElementList = window.document.getElementsByTagName("div");<br> for (i=0; i < vElementList.length; i++)<br> {<br> if (vElementList.className == "ErrorPageMessage")<br> {<br> vErrorStack = (vErrorStack ==null?"":vErrorStack+"<br/>")+vElementList[i].innerHTML;<br> vElementList[i].innerHTML = '';<br> vOraError = vErrorStack.split("ORA-");<br><br> for(var i=1; i < vOraError.length; i++) {<br><br> vOraCode = vOraError[i].substring(0,5);<br><br> vAjaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS='+p_err_process,0);<br> vAjaxRequest.add(p_err_item,vOraCode);<br> vAjaxResult = vAjaxRequest.get();<br><br> if (vAjaxResult) {<br> vMyMsg = vMyMsg + vAjaxResult + '<br>' ;<br> } else {<br> vMyMsg = vMyMsg + 'ORA-'+vOraError[i].substring(0) + '<br>' ;<br> }<br><br> }<br> document.getElementById('ORA').innerHTML = vMyMsg;<br><br> }<br> }<br>}<br></script><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1.2 Under Definition / Header. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"><body onload="MyErrorPage('F103_ERR_CODE','getErrorMsg')" #ONLOAD#>#FORM_OPEN#<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">You can replace with your own ITEM and APPLICATION PROCESS<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">2. Under Error Page Template Control<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"><table summary=""><tr><td><img src="/i/error.gif" border="0" /></td><o:p></o:p><br></tr><o:p></o:p><br><b id='ORA'>Error</b><o:p></o:p><br><tr><td><a href=#BACK_LINK#>#OK#</a></td><o:p></o:p><br><td><br /></td></tr></table><o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">3. Application Item <o:p></o:p></span></p><p class="MsoNormal"><span style="" lang="EN-AU">F103_ERR_CODE<span style=""> </span><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">4. Application Proccess.<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Name : getErrorMsg<o:p></o:p><br>Process Poing : ON DEMAND<span style=""> </span>( Make sure about this )<o:p></o:p><br>Process Text :<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">declare<o:p></o:p><br><span style=""> </span>l_msg<span style=""> </span>varchar2(500);<o:p></o:p><br>begin<o:p></o:p><br><span style=""> </span>for i in (select msg_code, msg_desc from apex_message<o:p></o:p><br><span style=""> </span>where msg_code = :F103_ERR_CODE ) <o:p></o:p><br><span style=""> </span>loop<o:p></o:p><br><span style=""> </span><span style=""></span>l_msg := 'GEN-'||i.msg_code||': '||i.msg_desc;<o:p></o:p><br><span style=""> </span>end loop;<span style=""> </span><o:p></o:p><br><span style=""> </span>htp.prn(l_msg);<o:p></o:p><br>end;<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">5. Create Apex_message (<o:p></o:p><br><span style=""> </span>id<span style=""> </span>number,<span style=""> </span>-- PK<o:p></o:p><br><span style=""> </span>msg_code<span style=""> </span>varchar2(10)<span style=""> </span>-- UK<o:p></o:p><br><span style=""> </span>msg_desc<span style=""> </span>varchar2(100) );<o:p></o:p><span style=""> </span><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">6. Scenario: Table or View does not exist coming with 3 "ORA" errors<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">There is only one record in Apex_message with msg_code = '00942' therefor it will replace error message for ORA-00942.<span style=""> </span>( note that value for msg_code is<span style=""> </span>'00942' and not 'ORA-00942' )<o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Before<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">ORA-06550: line 1, column 28: PL/SQL:<o:p></o:p><br>ORA-00942: table or view does not exist<o:p></o:p><br>ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 247.8pt; text-indent: -247.8pt;"><span style="" lang="EN-AU"> After<o:p></o:p><br></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">ORA-06550: line 1, column 28: PL/SQL:<br>GEN-00942: My own Message <o:p></o:p><br>ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">I did this because I do not want to create my own DML process for each table<o:p></o:p><br>I hope this can help. <o:p></o:p> <o:p></o:p></span></p> <p class="MsoNormal">Regards</p> <p class="MsoNormal">Marcelo</p>
True the main method does not throw any exceptions, that's because there is no higher level to throw them to (actually it implicitly throws any uncaught exceptions to the JVM). That does not mean that you can't write your own try catch block around the code in the main method.
-
Error message for Adobe update helper
Since upgrading to Lion, I get the following message:
You can't open the application Adobe Reader Updater Helper because PowerPC applications are no longer supported.
I migrated from a PPC Imac to an Intel based i5 in February. But, this error just started after Lion upgrade. How do I stop it from continuing to pop up? Help!I need to finish the last post. I also migrated a PPC G4 Powerbook running 10.5.8 to a new MBP running 10.7, and got the same Adobe Reader updater helper message mentioned at the beginning of the thread. I did the Adobe Reader install, with no change on the error message, and couldn't find the item to either disable or delete. Any way to get rid of this bogus error?
-
My iMac 8.1 (10.6.8 ) was slowing down and had recurrent permissions problems, mostly with Java. I backed everything up, and then re-installed from time machine. Now all I get is a black screen which says I need to reboot. Power+D gives me a hardware error message: 4 MOT/1/40000003: HDD-1336 or HDD-1327. When I reboot from the OSX CD and start disc utilities everything checks out OK. When I reload 10.5.2 from the OSX CD everything seems to work OK and no more permissions problems. But then I loose all my email and safari stuff. Anyone have any ideas short of going back to my old PC?
DonM. wrote:
Hi
Thanks for the help. No point in fooling around with it any more. Will I be able to use it as a monitor if I get a mimi mac?
Cheers. Don
No unfortunatley it's too old, you are referring to Target Display Mode which became avialble in 2009, your 2008 needs to have the HD replaced. I'd still do that if everything else is OK or you can simply buy a new MM and display or even a new iMac or an Apple refurbished iMac to save money. -
Error Message When Installing Download Helper 4.8.2 Add-On
I've updated to Firefox 3.6.13. The Add-on tab shows that there are add-on updates to be installed. When I download these flash download updates (Download Helper and Flash Video Downloader) and then try to install them I get an error message saying they can't be installed due to an "error in parsing value" message, "declaration dropped." All other updates are fine.
Any idea what may be the problem?See Troubleshooting issues with iTunes for Windows updates.
tt2 -
Error message while burning/ please help!!
I am getting an error message when I am trying to burn a dvd this is probably the 10th movie project I have made into a dvd, never had this problem. Here is the message:
There was an error during rendering/encoding of the menus/slideshows. The burning process has been cancelled.
Please help i need this dvd by 2pm tomorrow.I know you said you have made slideshows before, but does this article have anything that applies to you?
http://support.apple.com/kb/TS2303
I hope this helps. -
My Itunes will not start at all... When I try to start it I get a Windows Error Message saying below:
*iTunes has encountered a problem and needs to close. We are sorry for the inconvenience.*
*In the Error Window The following is there...*
_AppName: itunes.exe AppVer: 8.0.1.11 ModName: quicktime.qts_
_ModVer: 7.55.90.70 Offset: 00990007_
Can Anyone help me as I can’t use my ITUNEs and am Handicapped when it comes transferring ITEM on and OFF my IPHONE...
ThanksThat error suggests you may have a QUicktime problem rather than an iTunes problem.
Have you installed any of the following:
ACE & K-Lite mega codecs package, QT alternative, Storm codec, WinAVI video converter, Mpcstar, (possibly starcodec pack, 3ivx)
If so uninstall them. They are bad news for Quicktime.
Then download the version of Quickime without iTunes:
http://www.apple.com/quicktime/download/win.html
Now Remove Quicktime using the method for Quicktime in this article (just Quicktime):
XP
http://support.apple.com/kb/HT1925
Vista
http://support.apple.com/kb/HT1923
When you come to your C:\Windows\system32\ folder you can delete any file or folder with Quicktime in the name.
Restart you computer
Install the stand alone Quicktime and check if it starts.
If it does you are in a position to find out if iTunes is OK. -
My iPOD comes up with 13019 error message file missing please help!
My iPOD Nano will not sync and comes up with an error message 13019 file missing can you pelase help?
Try rebuilding your iTunes Library:
(This will cause all devices to see your library as a "new" library)
1. Open iTunes.
2. File>LIbrary>Organize Library: Consolidate Files.
-This process may take some time.
3. Quit iTunes.
4. Browse to your iTunes Folder.
5. Drag the files to the desktop, but leave the folders in place (folders will be iTunes Media, Album Artwork, Previous iTunes Libraries)
6. Open iTunes.
7. File>Library>Import Playlist.
8. Direct iTunes to import the "iTunes Library.xml" that is sitting on your desktop.
9. Once the process is complete attempt to resync your iPod.
EE
Maybe you are looking for
-
How can I redirect USB from Sun ray to Win2003 terminal server
Hi I am running Sun Ray 4.2 in Solaris with SRWC 2.2 in a Kiosk mod to Windows terminal server 2003 , how can I allow users to use their USB divices from Sun Ray and appear automatically in their Windows desktop ..I try adding the following line to m
-
How to set up Internet Explorer 9 to show pdf in Adobe Reader instead of web browser
Hi, I'm using Windows 7 (64-bit), Internet Explorer 9 and Adobe Reader IX (v.11.0.00). I would like to set up Internet Explorer 9 to show pdf-files in Adobe Reader program windows instead of viewing pdf-files within the web browser. Adobe Reader IX d
-
HTTPS Port for SOAP Adapter PI 7.1 (XI)
Hello Colleagues, we plan to configure an Sender SOAP Adapter (without SOAP envelope) as HTTPS message receiver with HTTP Security Level "HTTPS with Client Authentication". Does anyone know if this works and which port will be used. For my understand
-
Why do I get a message telling me my photos that I am trying to download from my canon 60d and 7d into Lightroom5,that it cant read these files. I have downloaded the Addons for Raw files and also Coverting to DNG, but still cant load pics into libra
-
How to determine is it SMB - Remote SAM server access , false positive?
How to determine is it SMB - Remote SAM server access , false positive?