Returning Error Status back from Form to external program

Question,
I am trying to run a form essentially from the command line. I need to programatically catch any error codes that might have occured in the form by an external program. I can find nothing about returning errors back from the form or how to display it.
Any assistance is appreciated.
Andy Hendrickson
null

Hello Andreas,
Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
Cheers,
Mike

Similar Messages

  • Zone shutdown error - SNMP request returned error status 6 (no access)

    When trying to shutdown a zone though SunMC it get the following error from the web page
    SNMP request returned error status 6 (no access) snmp://xx.xx.com:nnnn/mod/scm-container/Zones/ZoneTable/ZoneEntry/zoneState#zonename
    the log on the agent has
    [0000008f 00a8 ]warning Nov 28 12:20:10 agent preValidateSetPDU: zoneState(zonename) [1.3.6.1.4.1.42.2
    .12.2.2.85.6.1.1.10.10.98.111.116.97.110.105.120.45.97.100] - noAccess
    I probably am missing a simple undocumented permissions problem.
    Any help would be appreciated
    Thanks

    marcusj99 wrote:
    When trying to shutdown a zone though SunMC it get the following error from the web page
    SNMP request returned error status 6 (no access) snmp://xx.xx.com:nnnn/mod/scm-container/Zones/ZoneTable/ZoneEntry/zoneState#zonename
    the log on the agent has
    [0000008f 00a8 ]warning Nov 28 12:20:10 agent preValidateSetPDU: zoneState(zonename) [1.3.6.1.4.1.42.2
    .12.2.2.85.6.1.1.10.10.98.111.116.97.110.105.120.45.97.100] - noAccess
    I probably am missing a simple undocumented permissions problem.
    Any help would be appreciatedSCM security can be tricky to get right the first time you use it. Have you performed these operations in the global zone?:
    - run es-config to add your SunMC userID to the scm-container ACL?
    - made sure the Project Managment and Pool Management entries are in /etc/security/prof_attr and exec_attr files?
    - added your SunMC userID to the Zone/Pool/Project entries in /etc/user_attr (or used the 'usermod' command to add the entries for you)?
    If any of those steps were missed then SunMC (or Solaris) may not believe you have permisson to make changes to zones/pools etc. There are a couple of SCM docs listed in with the SunMC doc set:
    http://docs.sun.com/app/docs/coll/810.8?l=en
    Regards,
    [email protected]
    http://www.HalcyonInc.com
    New !! : http://forums.HalcyonInc.com !!

  • BRCONNECT returned error status E

    Below is my Developmwnt platform
    Windows NT
    Oracle 8.1.7
    SAP R/3 4.6C
    When I am trying to run Check DB..I am getting the following error.Please help me to resolve this.
    Job started                                                                  
    Step 001 started (program RSDBAJOB, variant &0000000000009, user name BASIS) 
    Execute logical command BRCONNECT On host alstdev                            
    Parameters: -u / -c -f check                                                 
    BR801I BRCONNECT 6.10 (76)                                                   
    BR805I Start of BRCONNECT processing: cdxiuimv.chk 2008-02-26 18.50.45       
    BR280I Time stamp 2008-02-26 18.50.47                                        
    BR301E SQL error -12540 at location db_connect-2                             
    ORA-12540: TNS:internal limit restriction exceeded                           
    BR310E Connect to database instance ALD failed                               
    BR280I Time stamp 2008-02-26 18.50.47                                        
    BR301E SQL error -12540 at location thr_db_connect-4                         
    ORA-12540: TNS:internal limit restriction exceeded                           
    BR310E Connect to database instance ALD failed                               
    BR806I End of BRCONNECT processing: cdxiuimv.chk 2008-02-26 18.50.47         
    BR280I Time stamp 2008-02-26 18.50.47                                        
    BR804I BRCONNECT terminated with errors                                      
    External program terminated with exit code 3                                 
    BRCONNECT returned error status E                                            
    Job finished                                          
    Regds,
    Mofizur

    Hello Satadal,
    The error is due to Oracle the reasons could be:
    1. Number of open connection that Oracle Net can process simultaneously
    2. Number of memory buffers which can be used simultaneously
    3.Number of processes a particular database instance is allowed
    In case of 1 and 2 its a harware bottle neck
    In case of the 3rd point the number of process that the OraTNSlistener can listen to can be increased in the Initsid.ora file (but since this is for SAP i would suggest init<DBSID>.ora file.
    But either ways check the logs files sqlnet.log or listener.log
    for details of the error.
    In most cases waiting for the open connections to close and then trying BRCONNECT should do it.
    Regards,
    Prashant

  • I had to erase my hard drive and then reinstall everything back from my passport external hard drive. Now my iPhoto edit is not working. I get a blank screen when I want to edit. The photos show up in the library but I cannot edit them. Help?

    I had to erase my hard drive and then reinstall everything back from my passport external hard drive. Now my iPhoto edit is not working. I get a blank screen when I want to edit. The photos show up in the library but I cannot edit them. Help?

    There are several possible causes for the Black Screen issue
    *1. Permissions in the Library* : Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    *2. Minor Database corruption*: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    *3. A Damaged Photo*: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    *4. A corrupted iPhoto Cache*: Trash the com.apple.iPhoto folder from HD/Users/Your Name/Library/ Caches...
    *5. A corrupted preference file*: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help:
    As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Regards
    TD

  • Exist RFC Function or Bapi for insert Records form a external program?

    i create a Ztable same as tell me here:
    http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
    5 String Fileds 2 Date Fields 2 Numeric Fields
    my question is exist a RFC Function or Bapi for insert Records form a external program (Delphi/Visual Basic)?
    Any advices?
    Thanks.

    hi madhurao123 thanks for answer.
    But Why block the Thread?
    This question is no so basic, yet never learn, the forum must be open to these questions maybe open a forum somewhere basic but must be able to do these basic questions.
    IT Toolbox commented the same thing, but if not here or ITtoolbox or where else can ask basic questions?
    Advise me, thank you.

  • Error "Status change from READY to COMMITTED is not allowed"

    Dear experts,
    once again SAPs workflow environment drives me crazy with mysterious error messages.
    Some time ago I posted a question here concerning the problem that I cannot put back a workitem by using function module SAP_WAPI_PUT_BACK_WORKITEM due to a lock on this workitem which has been set right after it has been double clicked in the business workplace workflow inbox:
    [How can I put back a workitem before I'm back in the business workplace?;
    Since I do not want to dequeue the lock for the workitem in my application (where the user finds the appropriate detail information along with the function buttons for approval, rejection and F3/BACK) I tried it with calling a POPUP_TO_CONFIRM ("Do you want to put back the workitem?") directly from within the BO-method, right after returning from the FM that called my application. From here (the popup then shows in front of the business workplace instead of the application) the locking doesn't seem to be a problem any more! But whatever I do after the users decision to put the WI back - calling the FM SAP_WAPI_PUT_BACK_WORKITEM or trying to leave the method with macro EXIT_CANCELLED - leads to the error message "Status change from READY to COMMITTED is not allowed" and the workitem changes to status ERROR, too. This message seems to be bull***t, since the status of the item is supposed to go back to READY.
    Does anybody have experience to help me on that ?
    Thanks in advance
    regards
    Andreas

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • Returning error to Javascript from Webkit plugin

    Hi all,
    I want to return an error and possibly error string using exception or any other means from a web kit plug-in to Java script. In the success case these functions returns NSString, NSNumber,... etc. Can some one pls. provide a sample code to return error code and/or error string, so that Java script can detect the error condition.
    Thanks
    Akhilesh

    Found it,
    [WebScriptObject throwException: @"There is an error"];

  • How to get error information back from Office Web Apps server?

    I'm developing a web application with an embedded Word iframe that interfaces with an Office Web Apps server; I am trying to implement the MS-FSSHTTPB protocol for my WOPI server.
    More details here. When I send a bad response back to the OWA server it stops making requests to the WOPI server and sends the following error message back to the browser client: "Sorry, there was a problem and we can't open this document. If this
    happens again, try opening the document in Microsoft Word."
    Is there a way I can get additional information about what went wrong so that I can correct it?

    Yes, this is closely related to SharePoint.
    I'm trying to embed a Word editor in our web app. The Word iframe is served from the OWA server. It typically communicates with a SharePoint server to receive information about the document its trying to display.
    I'm trying to implement the SharePoint portion. The servers communicate via the MS-FSSHTTPB protocol (among others) which I'm struggling to implement. When I send a response to the OWA server that it doesn't like then it stops replying. I'm wondering how
    I can retrieve the exact error the occurred.
    I believe I originally posted this question to Open Specifications  >  SharePoint Server Protocols.

  • How to open Workflow status monitor from form personalization

    I am trying to open workflow status monitor page from special menu using form personalization and encountering below error message.
    Any help or guidance in this regard will be much appreciated. Here are the personalization details that I have set.
    Builtin Type : Launch a Function
    Function COde: FND_FNDWFIAS
    Function Name: Monitor Activities List
    Parameters:
    I tried both the below in parameter field and both are returning null point exception while opening page.
    =SELECT 'FUNCTION_NAME='||'FND_FNDWFIAS'||' OPEN_FLAG='||'Y'||' SESSION_FLAG='||'Y'||' ITEM_TYPE='||'XXOMCP'||
    ' ITEM_KEY='||:GLOBAL.XXG_WF_KEY||' ADMIN_MODE='||'NO'||' ACCESS_KEY='||'Y' FROM DUAL
    =SELECT 'FUNCTION_NAME='||'FND_FNDWFIAS'||'OPEN_FLAG='||'Y'||'SESSION_FLAG='||'Y'
    ||'OTHER_PARAMS ='||'ITEM_TYPE=XXOMCP'||'&ITEM_KEY='||:GLOBAL.XXG_WF_KEY||'&ADMIN_MODE=NO&ACCESS_KEY=Y' FROM DUAL
    Regards,
    Sree

    Sorry Phil,
    but that's all you got.
    Frank

  • Error executing reports from forms

    Hi,
    Iam trying to launch reports9i from forms9i,
    Iam getting following error,
    500 Internal Server Error
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
         at java.lang.String.charAt(String.java:444)
         at oracle.reports.rwclient.ServletCmdMgr.getJobId(ServletCmdMgr.java:3131)
         at oracle.reports.rwclient.ServletCmdMgr.handleCmdGetjob(ServletCmdMgr.java:1255)
         at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:92)
         at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:278)
         at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:915)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1398)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Can anyone help me in this regard,
    Thanks and regards,
    Avinash,
    Pune.
    India.

    "Iam trying to launch reports9i from forms9i"
    your forms version is 10g :-)

  • Error calling Report from Form

    Hi,
    I'd like to call a report using a Form.
    I have Oracle Form 10.1.2 in Oracle Database 10g.
    I create a button and specify a PL/SQL in the when-button-pressed
    declare
    rep_id REPORT_OBJECT;
    v_rep VARCHAR2(100);
    begin
    rep_id := FIND_REPORT_OBJECT('report9');
    if not id_null(rep_id) then
    v_rep := RUN_REPORT_OBJECT(rep_id);
    else
    message('report not available');
    end if;
    end;
    but after I click the button in the form, it gives an error message in the status bar
    (in the bottom of the form)
    error : FRM-41211: Integration Error: SSL failure running another product
    Any help would be grateful.
    Thanks,
    Buntoro

    I have tried your suggestion.
    I create my own report server using rwserver server=repsrv.
    Another java-based windows showed up. It shows that repsrv is ready.
    I do the following:
    1. Navigate to http://localhost:8889/reports/rwservlet using web browser.
    It showed OracleAS Report Services - Servlet Command Help page.
    But there is no other window popup.
    2. Navigate to http://localhost:8889/reports/rwservlet?userid=PRACTICE/PRTC@MYDB&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html&paramform=no&p_1=P1&p_1=P2
    my schema is PRACTICE, password PRACTICE, and database instance MYDB
    the report path = C:\FORM\MODULE1.JSP
    The following error occured
    REP-51002: Bind to Reports Server rep_<computer_name> failed
    3. Finally,
    http://localhost:8889/reports/rwservlet?server=REPSRV&userid=PRACTICE/PRTC@MYDB&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html&paramform=no&p_1=P1&p_1=P2
    The following error occured
    REP-51002: Bind to Reports Server repsrv failed
    I don't understand.
    It seems that the Report Service is not recognized although the java-based window state that the Report Server (repsrv) is ready.
    My questions:
    1. Does it means that my report server is not running?
    Or it is running but the browser didn't recognize it?
    I use Internet Explorer 6 and Netscape 7, both of them showed the same error message.
    2. I have read the PDF you've pointed out.
    The paper said there is supposed to be 2 type of server, 'In process' and custom server.
    Both of them will create a configuration file in /reports/conf in DevSuiteHomeDirectory.
    I can see the custom report server's configuration file which I create using rwserver (repsrv.conf)
    but I can't see the 'in process' server's configuration file (rep_<computer_name>.conf).
    What am I supposed to do?
    Many thanks,
    Buntoro

  • Error ORA-06502: FROM forms

    I have medical application developed by forms 9i, But its responds error
    ORA-06502 while running a form with enter query mode. it displys the said
    error while execute the query . I dont the exeact SQL query returns this error. How to debug this? Is there any way how to find the sql text returns this error. Kinldy note that, I dont have the forms source code. Only executable available(fmx). I have TOAD too. can i use the toad to traceout it.
    thanks.

    Its an application error.If you don't have the source code,you need to ask for the source code.

  • CRX operations giving error when invoking from Form

    Hi All,
    I am facing a weird problem while invoking CRX operations from the form.
    I have a submit button on the form where on clicking that button I am calling a LiveCycle process. The LiveCycle process which I am calling contains CRX opeartions like CreateFolder and StoreContent. I have a string variable that is the input to this process and the issue is that when I am calling this process from the form I am getting a error saying "Unable to locate [/]". But if i call the process by giving the input string within the workbench then the process is getting executed without any error.
    I am not able to figure the reason behind this since I am giving the same input to the process from the form and within the workbench.
    Could anyone please let me know if you have any inputs on this?
    Thanks,
    Balaji

    Hi Wasil,
    Thanks for your response.
    I have checked in the form and the URL that is pointing to is correct. I am able to call the process from the form, only when executing the CRX operation I am getting the error. I have other few operations in the same process which are getting executed without any issues. Let me know your inputs on this.
    Thanks,
    Balaji

  • Segmentation fault error while connecting from forms server

    Hi,
    From Oracle Forms application client, if I give sqlplus /nolog it works fine where as if I give sqlplus username/password@DATABASEBNAME, it is giving Segmentation fault error.
    Could any one help? This problem is existing if I execute the command as oracle account. If I execute as non-oracle user (who has all privileges to run oracle stuff and all environment varilables like HOME, LD_LIBRARY_PATH, CLASS_PATH etc all stuff are correctly set)
    Thanks in advance.

    Hi David,
    What is Gateway, How I have to setup, Please let me know.
    I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
    Can u please let me know.
    Regards,
    Kumar.

  • To more specific class: all return error after upgrade from LV2011 to 2012

    I have working projects/executables built in labview 2011. When loading the exact same project in 2012 EVERY 'to more specific class' returns an error.
    For example, making a generic control reference into a 'numeric'.
    Redoing the exact same action makes no difference. What has changed in LV2012?

    Can you post an example VI containing such code? Please post the original 2011 code.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • Most videos do not play in FF; work fine in Chrome. Maybe started when I was having a FB video repeat and clicked on something to make it stop.

    Some time back I clicked on a video on FaceBook. It kept repeating. I got tired of it and clicked on something on FB that stopped it. Since then Firefox does not play vids. For example http://senateconservatives.com/site/post/1160/video-new-scf-ad-pr

  • Totally empty prompt box

    I've somehow managed to screw up my installation and so far uninstalling/reinstalling (both the SAP GUI 6.4 and Office 2003) hasn't helped.  My problem is that when I open anything in BEx Analyzer and hit Refresh Query, the box that pops up normally

  • Globle table  data  problem with pragma autonomous_tranaction

    hi gurus, i have  two globle table both having   preserve  row on commit g_emp ; g_hop_brk ; in  procedure    i m populating   g_emp  then  on this table  doing some manipulation    loop i m calling function  which  have  pragma autonomous_tranaction

  • Can't back up my ipad 2

    my ipad will not backup, these are the symptoms and the stuff I've tried - when I right click my menu on the left there is no "backup" option on the tab - when I sync my itunes will skip the backup - there is no MobileSync/Backup folder on /Library/A

  • Slight slow-motion for music video with Canon 6D

    Hello. I'm wondering how I should capture and edit my video to get slight slow-motion in a music video I'm creating. Obviously I would need a proportionally sped up track, like 120%. That I can do. The question is, what frame rates should I be using?