Issue with SRDemo error handling

Hi All,
Glad the forums are back up and running. In debugging some error-handling issues in our own application, I found an issue in the error handling code of SRDemo. I thought I'd post the issue here, as many of us (myself included) use some SRDemo code as the basis for our own applications.
The issue can be found in the oracle.srdemo.view.frameworkExt.SRDemoPageLifecycle class, specifically in the translateExceptionToFacesErrors method. I'll show the code that has the issue first, and explain the issue afterwards:
        if (numAttr > 0) {
            Iterator i = attributeErrors.keySet().iterator();
            while (i.hasNext()) {
                String attrNameKey = (String)i.next();
                 * Only add the error to show to the user if it was related
                 * to a field they can see on the screen. We accomplish this
                 * by checking whether there is a control binding in the current
                 * binding container by the same name as the attribute with
                 * the related exception that was reported.
                ControlBinding cb =
                    ADFUtils.findControlBinding(bc, attrNameKey);
                if (cb != null) {
                    String msg = (String)attributeErrors.get(attrNameKey);
                    if (cb instanceof JUCtrlAttrsBinding) {
                        attrNameKey = ((JUCtrlAttrsBinding)cb).getLabel();
                    JSFUtils.addFacesErrorMessage(attrNameKey, msg);
            }Now, this bit of code attempts to be "smart" and only show error messages relating to attributes if those attributes are in fact displayed on the screen. It does so by using a utility method to find a control binding for the attribute name. There are two issues with this code, one obvious, and one that is a bit more subtle.
The obvious issue: if there is a binding in the page definition, it doesn't necessarily mean that the attribute is shown on the screen. It's a good approximation, but not exact.
The other issue is more subtle, and led to errors being "eaten," or not shown, in our application. The issue comes if you are using an af:table to display and update your data. In that case, the findControlBinding will not find anything for that attribute, since the attribute is contained within a table binding.
Just posting this as a word to the wary.
Best,
john

somehow, this message got in the wrong thread....
Hi Frank,
Yes, I simply scripted it out this way to contrast the behaviour if the first attribute was read-only vs not read-only. I found the issue on a page in our app that was simply drag-and-drop the VO from the data control on the page.
It's quite annoying, because our particular use case that hit this error is a "save" button on the page. If the commit operation doesn't return any errors (and it doesn't in this use case!), we add a JSF message saying "save successful" - then the attribute errors are further added later in the page lifecycle, so we get 3 messages: "Save successful" and "Fix this error" and "Tried to set read-only attribute" - quite confusing to the end-user when the only message they should see is "fix this error."
At any rate, the fix is to simply re-order the attributes in the page definition - that doesn't affect the UI at all, other than to fix this issue.
John
it was supposed to be something like:
Hi Frank,
Thanks for the reply. I was simply posting this here so that people who use the SRDemo application techniques as a basis for developing the same functionality in their own apps (like me) can be aware of the issue, and avoid lots of head-scratching to figure out "what happened to the error message?"
John

Similar Messages

  • Issue with User decision handler in UWL

    Hi Friends,
      I am facing an issue with user decision hander in UWL. We have modified the XML file to show up the comments box to enter the rejection reason, this is working fine with two approval tasks already but the same thing is not working now with a new task id. In the back end(R/3) everything is the same for both the tasks, in the Portal side my portal consultant says the same. But we were not able to figure out the issue. I even created a new task and tried to use implement the handler changes, but still it is not working. Please advice what could be the issue

    Hi,
    can you elaborate what the issue, what do you mean by not working. you are not getting the reason box, or it's giving error,something like that.
    Hope we'll be more clear then about your requirement.
    venu

  • 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?
    Jeff

    This 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

  • LV7.1 Strange behavior with Automatic Error Handling occuring when it shouldn't [LV 7.1 Pro on WinXP for Tablet PC's]

    [LV 7.1 Pro on WinXP for Tablet PC's]
    I recently let a rather large LV app of mine run in the development environment while I was out for a couple of days. Upon returning I found that the app had hung for ~22 hours waiting for an answer to an Automatic Error Handling (AEH) dialog proclaiming an Error 7 in New File without any indication of the VI hierarchy that called New File.  I set about ensuring that AEH dialogs would not pop up and have not been able to discover how I could have possibly received one in the first place.
    Subsequent investigation revealed:
    Neither AEH option in Options>Block Diagrams were checked.
    Network problems had occurred around the time that the app had hung.  All file paths are network paths when running in the development environment, so the cause of the error was most likely valid, even if the AEH dialog appearance wasn't.
    My app has only one instance where the New File primitive is used by me. That subVI and all others above it in the hierarchy DO NOT have the AEH property enabled.  The error out cluster of New File in my subvi is wired.
    My app has three instances where New File is called from a vi.lib vi (Open/Create/Replace File.vi, Open Config Data.vi, and Prompt Web Browser Path.vi), none of which have the AEH property enabled.  Nor does any of their calling VI's.  All three instances also have their error out cluster wired.
    A utility to examine the AEH property of all VI's (with all top level and dynamic VI's loaded) in memory reported that only 1 of 308 vi's ( RGT Does File Exists.vi from the Report Generation Toolkit) had that property true.  That vi has no subVI's other than the File/Directory Info primitive and no calling VI's in common with any of the vi's that call New File, except a top level VI.
    As long as 'Enable automatic error handling dialogs' remains unselected in options>block diagram, I am unable to get an AEH dialog for either the New File or File/Directory Info primitives in a test VI with AEH property enabled and their error out clusters unwired no matter what invalid path I pass to the functions.  As soon as the options>block diagram>Enable AEH dialogs' is selected, both primitives fire AEH dialogs with no error out wired and don't when wired. i.e. works as advertised.
    In other words I can find no reason why I should have gotten the problem AEH dialog...
    I cannot afford for this app to hang because of a network problem, other portions of the app that were running concurrently correctly handled the error and, had the AEH dialog not appeared, the app would have made corrections or shutdown in an orderly fashion.
    Any ideas?

    Very good.
    Write Characters to File.vi>Open/Create/Replace File.vi>New File
    New File throws the error.  Open/Create/Replace strips the hierarchy from the source of the error.  Write Characters passes it to the General Error Handler.  I never looked above O/C/R file in the hierarchy except for enable automatic error handling property.  The tip-off should have been to realize that O/C/R file was stripping the hierarchy from the error and look above that. 
    The real irony is that Write Characters was being used to log error cluster data to an error log file...
    Save as... Copy without updating... the OEM 'Write Characters to File' is gone from this app.
    Thanx (a bunch)

  • Issues with itunes error -50, determining gapless playback, missing speaker options, home sharing not working

    In the last few weeks I have been experiencing multiple issues with my iTunes.
    I believe it began when my itunes library corrupted and I had to start again.
    By starting again I mean I went to previous itunes libraries and used the most recent backup.
    After I noticed a large number of unknown error (-50) messages I thought I better copy the backup I was using from the previous libraries folder over to the itunes folder (in case the error related to failed attempts to back up the library).
    This problem in itself wasn't too bad as I am able to close and relaunch iTunes and carry on however I have noticed some less desirable side effects - the loss of home sharing. I am unable to pick speakers to broadcast to (I have 2 airport express units plugged in and working and an Apple TV2) and I am unable to access the iTunes library on Apple TV.
    I've done some basic troubleshooting: creating rules to allow the home sharing ports, temporarily disabling antivirus/firewall, uninstalling antivirus/firewall, setting up rules on the router for homesharing ports, uninstalling iTunes, rebooting, reinstalling iTunes and retrying, disabling home sharing and reenabling, disabling peerblock, deauthorising itunes and reauthorising and rebooting both the pc and Apple TV, checking sharing settings under preferences and verifying both the entire library is shared and that the status of home sharing is on but no devices connected, created a new library and reimporting my media and the problem still exists.
    I noticed that occasionally when I switch between libraries, deauthorise and reauthorise I do get access to home sharing and Apple Tv gets full access to the library BUT iTunes quickly becomes unresponsive and when I close and relaunch Apple TV can no longer see my library or iTunes.
    I have checked the network I am running on is marked as a home network, I have tried connecting the Apple TV via LAN instead of WiFi but this makes no difference. What I do find interesting is that I have iTunes running on another pc and on a virtual machine and as soon as I run either their libraries appear on Apple TV so there must be something about the installation on my pc and nothing wrong with the Apple TV, airport express, router etc.
    With that in mind I retried an uninstall and this time deleted as many tmp files as I could see in the iTunes library folder, rebooted and reinstalled. I also checked the permission levels on the iTunes application folder and the iTunes library folder (located on an additional internal drive), I then tried running iTunes as an administrator (which my user account is already set as) but all the problems are still evident.
    The determining gapless playback has no effect on how I use iTunes but it clearly does not need to run for every single recently added track any time I make a minute change to other library entries. I tried looking up one of the files it was determining gapless playback for but it wasn't corrupt or read only so I don't see why it needs to retry continually.
    I'm running Windows 7 64bit with all latest updates installed and iTunes 64bit 10.6.3.25, all apple devices are running the latest version of firmware and I'm running out of ideas. I did try running CCleaner to clear up and registry issues if there were any and I ran Appcleaner to remove any iTunes cache that may have been left between installs. I'm running out of ideas - what am I missing here?

    I have found the problem was in part caused by Windows firewall.
    Exactly how Windows firewall can cause the problem when I wasn't even using it I don't know.
    What I do know is that when I checked 'allow a program through the firewall' I found 4 rules set for iTunes, one of which was public network access.
    I deleted the superfluous rules and the Home Sharing problems are solved.
    All that needs sorting now is the 'determining gapless playback'.

  • Issue with sync error: Sync encountered an error while syncing: Unknown error. Sync will automatically retry this action.

    Hi, i have just recently started having an issue with Sync on my desktop. My associated Android and Mac Laptop do not experience any issues when attempting to sync, but the desktop constantly gives the same error. I have tried unpairing the desktop, clearing all files, restarting and then adding the desktop to sync once again, but the error persists.
    All of the bookmarks on the desktop have vanished, but are still in my sync data and have no problems being viewed on the other paired devices. This also tells me that the issue isn't the sync server and is something unique to the desktop machine.
    I am hoping that this won't require a reinstall, but if all else fails, it is an option. I will try to attach a log file once i have submitted the question.

    I agree. Too many issues lately with sync errors and flash crashes. I'm going back to Google Chrome for a few months. Don't have time to be bothered with the nonsense and slow fixes.

  • How does BPEL Fault Management Framework gel with ESB Error Handling ?

    I see that BPEL 10.1.3.3 has pretty neat Fault Management Framework (although I have to admit it is not very well advertised).
    The next logical question is: what about ESB ? Would that help in ESB error handling ? I understand that ESB has its own Error Hospital etc.; however, we have to constantly grapple with two distinct paths for any piece of integration functionality (1. ESB 2. BPEL). I guess, all of this will be moot in the 11g timeframe. Still wondering if anyone out there has somehow unified error handling for these two distinct offerings ?

    It's not available in ESB, you have to implement/extend that by your self. Off course in the next release everthing will be better :-)
    But, if you are able to use Oracle AIA (http://edelivery.oracle.com) You could use Oracle AIA Foundation, that has a fault 'hospital' implemented both for BPEL and ESB.
    Marc
    http://orasoa.blogspot.com

  • IE / Spry Bug with custom error handler

    Ok, as I was looking through SpryData.js I noticed these
    wonderful lines:
    Spry.Utils.loadURL.callback = function(req)
    if (!req || req.xhRequest.readyState != 4)
    return;
    if (req.successCallback && (req.xhRequest.status ==
    200 || req.xhRequest.status == 0))
    req.successCallback(req);
    else if (req.errorCallback)
    req.errorCallback(req);
    In particular the "errorCallback()" method interested me as I
    wanted to introduce my own error handler. As I went about testing
    this I came up with a quick try of:
    var url = "/cfcs/mycfc.cfc?method=IsValidPath&path=" +
    encodeURIComponent(sl.value + sd.value);
    var optionsObj = new Object();
    optionsObj.errorCallback = ShowError;
    Spry.Utils.loadURL("GET", url, false, ValidateForm,
    optionsObj);
    And this works great in FF, but not IE. When I cause an error
    to occur from ColdFusion I pass a status code of "500". In FF the
    error code causes my "ShowError" function to fire, but not in IE. I
    tracked it to this bit of code in SpryData.js:
    Spry.Utils.loadURL = function(method, url, async, callback,
    opts)
    var req = new Spry.Utils.loadURL.Request();
    req.method = method;
    req.url = url;
    req.async = async;
    req.successCallback = callback;
    Spry.Utils.setOptions(req, opts);
    try
    req.xhRequest = Spry.Utils.createXMLHttpRequest();
    if (!req.xhRequest)
    return null;
    if (req.async)
    req.xhRequest.onreadystatechange = function() {
    Spry.Utils.loadURL.callback(req); };
    req.xhRequest.open(req.method, req.url, req.async,
    req.username, req.password);
    if (req.headers)
    for (var name in req.headers)
    req.xhRequest.setRequestHeader(name, req.headers[name]);
    req.xhRequest.send(req.postData);
    if (!req.async)
    Spry.Utils.loadURL.callback(req);
    catch(e) { req = null; Spry.Debug.reportError("Exception
    caught while loading " + url + ": " + e.message); }
    return req;
    Apparently running (req.xhRequest.send(req.postData);) in IE
    will throw an error if the requested page throws an error status
    code. This causes the try/catch in the Spry function to catch the
    IE error and never allows my own error handler to run. Hopefully a
    fix for this will be in the works because I really like the idea of
    being able to use my own error handler.
    --------Edited after initial post.--------
    Ok, I figured out another item of interest. My requests
    earlier were set to "async = false". If I set "async = true" then
    it does work. I realized that because I was using sychronous mode
    and IE was throwing the error, it was preventing the call to the
    "Spry.Utils.loadURL.callback" method from occuring, while asynch
    mode uses the onreadystatechange to call the function and thus
    causes my own error handler to function. I am still interested to
    know if there is a bug here somewhere and if it is just IE or Spry
    or both. Looking forward to reading any posts.

    Hi WraithBudde,
    Thanks for all the details. In my opinion this is indeed a
    bug in Spry for the synchronous case. I'll file a bug and fix it.
    > You know you love me.
    Heh, yeah, I love anybody who takes the time to report bugs
    ... especially when they've narrowed it down to the exact set of
    lines in the source.
    Once again ... THANKS!
    --== Kin ==--

  • Receiver Feedback with no Error Handling (Input Design Requested)

    Hi Community,
    Today we have a pretty standard integration scenario that takes in flat files and converts them to Idocs for target SAP systems.  We are looking to redesign the current IDoc interface (posts a customized FIDCC1) under the principle that IDocs in errors on target are always corrected by a change in the source, so essentially we want to report errors back to the source and completely delete the IDoc.  I guess this looks like a synchronous call?, but I want to remain as loosely coupled for this.  Since we also process these files in batches (i.e. each file contains 1 to many invoices), we would like to return the results back to the source based on each file.  For example, the message back to the source (in email so a user can act on it, not a system) could be:
    a) file failed because structure is incorrect (like an XSD type check).
    or of the file makes it through XI,
    b) list of invoices failed because xxx is incorrect and list of invoices that processed.
    We are open to using proxies, any kind of IDoc error handling that could do this, workflows, status idocs, etc.  Every option is on the table. 
    Thanks!
    Peter

    peter
    if u are open to proxes then u might haveone interface that will send the data to proxy and thru proxy u update the idoc....if idoc goes fpor an error u can have another interface triggered that will update/delete the soruce data...for this u might need to pass the soruce files details to proxy and back

  • Proxy issue with SCM - Error code: 400  ICM_HTTP_CONNECTION_FAILED

    We have recently added an SCM system to our landscape.  I am trying to upload data to BI within SCM.  I have set up the method and tested it and it works fine.  I am pulling the data in to XI from a flat file and converting it to XML, which works fine, I have tested the payload in the message mapping test tab.  When it trys to connect to the SCM system it looks like it hangs forever in sxmb_moni with the error message.
    Error when receiving by HTTP (error code: 400,
    error text: ICM_HTTP_CONNECTION_FAILED)
    I have also created my proxy in SCM, that seems to be fine as well when I test it.
    The communication channels are as follows...
    Transport Protocol: HTTP 1.0
    Message Protocol: XI 3.0
    Adapter Engine:     Integration Server
    Addressing Type:   URL Address
    Target Host:           <hostname>
    Service NUmber:     8000
    Path:                     /sap/xi/engine?type=receiver
    Auth Type:            Use Logon Data for SAP System
    SECOND
    I cannot see any errors on the Runtime either because my communiation is not showing up...  I have saved it and activiated it.  The adapter type is XI.
    Any help would be appreciated.
    Skip Ford

    Hi
    Error when receiving by HTTP (error code: 400,
    error text: ICM_HTTP_CONNECTION_FAILED)
    I have also created my proxy in SCM, that seems to be fine as well when I test it.
    The communication channels are as follows...
    Transport Protocol: HTTP 1.0
    Message Protocol: XI 3.0
    Adapter Engine: Integration Server
    Addressing Type: URL Address
    Target Host: <hostname>
    Service NUmber: 8000
    Path: /sap/xi/engine?type=receiver
    Auth Type: Use Logon Data for SAP System
    I think the parameter Path for the server proxy should be
    /sap/xi/engine?type=entry
    Thanks
    Gaurav

  • Please Help! I have a subscription/replication issue with the error - Replication-Replication Distribution Subsystem: agent (null) failed. The publication 'blah' does not exist.

    I keep getting this error and my subscription table isn't populating:
    The publication 'publish_playerSession_off_serverABC' does not exist.
    Other setup items: 
    1) Both servers are on the same domain Windows Server 2008 running SQL Server 2008 and the SQL agent is running under a network account. 
    2) I have the publication destination on a shared network drive & the network account mentioned above has access to this drive. 
    Thanks in Advance! Carl 
    Carl

    Thanks Tracy - I was able to delete the subscription on the publication server and was able to recreate most of the subscription on the subscription server but so far have been unable to start the subscription agent. 
    I ran the command exec sp_link_publication yesterday and received the error: "The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service." 
    WTF? Anyhow - Googled this issue for awhile and was advised to run a command with a utility called subinacl.exe but the command failed stating that access is denied even though i'm an admin on my computer & I ran the command promp with elevated privileges. 
    I also downloaded a tool called DTCping.exe and was able to dtcping each server when the utility was running on the publication & subscription servers after tweaking some registry settings on the subscription server & restarting. 
    Well now i'm still stuck because the subscription agent is failing to start stating (this is the last error in the job that kicks off the agent): 
    Agent message code 21056. The subscription to publication 'publish_igt_period_data' has expired or does not exist.
    Whew! Well i have other priorities this morning but will update this thread if I make any progress on this issue later... 
    Carl

  • Issues with DRM Error Codes (OSMF2+FMS+FAX)

    Hi,
    We've been having problems with our DRM implementation for FMS / OSMF2 / FAX.
    Having investigated the problem, we've worked out that the root cause is that the NetStream obect within the LightweightVideoElement class triggers a DRMErrorEvent with the errorID 3304 which is not handled in the onDRMErrorEvent function of the same class.
    Looking at the code, OSMF2 has been developed to handle only the error 3330 and therefore the end result is that our DRM authentication process (normally triggered by event listeners added to the DRMTrait) is not fired.
    Changing the value of DRMServices.DRM_NEEDS_AUTHENTICATION and LightWeightVideoElement.DRM_NEEDS_AUTHENTICATION to the values 3304 as apposed to the programmed 3330 value resolves all our problems and by adding an event listener to the DRMTriat for the changes in value (DRMEvent.DRM_STATE_CHANGE) and then switching on the event.drmState value, we can now send our authentication details when the drmState  = DRMState.AUTHENTICATION_NEEDED.
    Here is a stack trace up to the point where we send our DRM authentication based on the changes above.
    Main Thread (Suspended)
    com.redbeemedia.redplayer::AbstractMediaPlayer/onDRMChange
    flash.events::EventDispatcher/dispatchEventFunction [no source]
    flash.events::EventDispatcher/dispatchEvent [no source]
    org.osmf.net.drm::NetStreamDRMTrait/onStateChange
    flash.events::EventDispatcher/dispatchEventFunction [no source]
    flash.events::EventDispatcher/dispatchEvent [no source]
    DRMServices/updateDRMState
    DRMServices/onDRMError:425
    flash.net.drm::DRMManager/issueDRMErrorEvent [no source]
    flash.net.drm::DRMManager/onDownloadVoucherError [no source]
    DRMManagerSession/issueDRMErrorEvent [no source]
    DRMVoucherDownloadContext/onSessionError [no source]
    DRMManagerSession/onCheckStatus [no source]
    flash.utils::Timer/_timerDispatch [no source]
    flash.utils::Timer/tick [no source]
    Does anyone know why we might be getting the 3304 error on the netstream and not the expected 3304?
    Cheers,
    Mat

    Hi Mat,
    DRM Error 3304 is AuthorizationFailed error. The "Current user not authorized to view content, login as a different user"
    Thanks,
    Apurva

  • ISE 1.2 issue with CWA (Error : Your session has expired)

    Hii
    we have ISE deployment with two administration nodes and two service policy nodes running 1.2.1.198 , with CWA for wireless guest users (Cisco WLC) . Suddenly , many guest users faced an issue where login page is redirected but after inserting user/password  it gave ""Your session has expired. Sign on again""
    authentication logs on ISE shows:
    Event  5418 Guest Authentication Failed
    Failure Reason  86017 Session Missing
    Resolution  Please contact your Administrator
    Root cause  SessionID is missing. Please contact your System Administrator
    we suspected the bug CSCul10677 , but it is fixed in 1.2.1.198 . We reloaded the two service policy nodes and that resolved the issue temporarily , but it showed back after couple of hours . The issue appeared with some users not all , and with no specific devies or operating systems.
    Any idea ?
    Regards,
    Mohammad

    Please refer the link : https://supportforums.cisco.com/discussion/12131531/ise-12-guest-access-session-expired
    Workaround:
    Terminate session from admin UI and type in the original URL to redirect to guest portal with a new session-id.
    Disconnect SSID, wait for a few minutes, reconnect and enter the original URL to redirect to guest portal with the new session-id.

  • Agent determination issue with no error, cant use SWPR?

    Hello gurus.
    We currently have 81 invoices that have workflow status "in process". However, the last line of this status is "agent determination issue". I've assigned the appropriate user in PFOM and i want to restart the workflow item, but i cannot use SWPR.
    Normally it should be in error and you can use SWPR, and that fixes everything- however why is the workflow still "in process" and not in error? and how can i complete the workflow item now that the agent has been assigned? do i just create a new workflow using SWUE and delete the old one? Many thanks.

    Hi,
    OK then try like this , as you said you do not have authorizations to SWI1_RULE right so do teh below steps,
    1. Execute SE37 and execute the fucntion module ALINK_CALL_TRANSACTION.
    2. Now mention the txn name as SWI1_RULE.
    3. Now you should be able to see teh initial screen of the txn.
    4. Now enter teh workitem ID which is in ready state not the top workitem ID, the workitem for which the agent is not assigned. Click F8.
    5. Now choose that workitem ID and click CTRL + SHIFT + F11.
    it should re evalutae the agents, if this is also not determing then make a note of the RULE ID from activity step and open the txn by using the above function module and try to simulate the rule or please let us know what is the rule type.
    Regards
    Pavan

  • File Sender with CC Error handling

    When using the file sender with content conversion we often receive
    Parsing errors in the AFW monitoring due to bad messages.
    Q: how can we monitor and e-mail this errors from the AFW,does the CCMS covers everything? Alert monitoring?.
    another Q: In higher SPs of  XI there is the option to archive error messages,is it possible to raise an alert for the parsing problem even though the file was removed by the Comm. channel to the archive folder.
    points will be rewarded.
    Regards,
    Nimrod.G

    hi,
    Q: how can we monitor and e-mail this errors from the AFW,does the CCMS covers everything? Alert monitoring?.
    yes it is possible thru CCMS
    check the below links
    Configuring scenario specific E-mail alerts in XI-CCMS: Part - 1,2,3
    /people/aravindh.prasanna/blog
    XI : Configuring CCMS Monitoring for XI- Part I                              
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i                              
    XI : GRMG Customizing for XI CCMS Heartbeat Monitoring Part II                                   
    /people/sap.user72/blog/2005/12/05/xi-grmg-customizing-for-xi-ccms-heartbeat-monitoring-part-ii                         
    regards'
    chandrakanth

Maybe you are looking for