Change the status of a form

Hi All,
Can anybody tell me how to change the status of the form?
I want to exit the form with out committing the changes when the user click a button,
For it...
EXIT_FORM(NO_COMMIT);
will do but, only when the form is not in a query mode.
How do I change the status of the form or do something so that I can exit the form when I click the button irrespective of the form mode?
Thanks,
Naren.

You don't need to change the status, you just need to ignore it. Try:
exit_form(NO_VALIDATE)
Oracle Forms exits the current form without validating the changes, committing the changes, or prompting the operator.

Similar Messages

  • Sharepoint Designer - Two step List Workflow task item is not changing the status from not started to Complete

    Hi 
    Using SPD i am creating list workflow.
    Scenario: Employee submits a request . Task assign to manager. Manager can either approve/ reject. If approve then change the state column to "done". If rejected the state column to "Rejected".
    Problem is "Assign a to do item" is assigning the task to manager. But after manager approves the status in the task list not changed to "Completed". Still it is showing "Not started". I dont want to manually complete the task.
    Please help me for automatic process. 
    What i should do to change the status to "Complete" automatically after manager approval
    Regards
    Jhanani
    Janani.R

    Hi Janani,
    From your description, you would like to create an approval workflow for a list. When an employee submit a request to the list, an approval task should be assigned to manager, then manager could approve or reject the request. From the request list,
    we should be able to see the Approval task’s status.
    Not understand the reason of designing the workflow to two steps, an approval action should be enough from my understanding. For producing, I create a list named Request list, then customize it in InfoPath form to add a Request field for stating request
    content. Then add a workflow to list named Approval task, add the action of Start an approval process with administrator and make the workflow automatically start when item is added.
    The image below shows the status of Adding items, Approving and Rejecting. Please check if it could meet your requirement.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Changing the status of the sales order item based on reason for rejection

    Hi All,
    When a Sales order item is rejected then the status at the item level is changed as 'TECO'.When the reason for rejection is removed the status 'Teco' is reset.This status change can be achieved using the user exit 'MV45AFZZ'.But the exit does not allow re-atp calculation whenver a blocked item is release.I have use the exit 'MV45AFZB' ,through this the status change as well as re-atp calculation takes place.But the status changed(Based on reason of rejection) does not appear in the same screen.The change gets reflected only when the sakes order is saved and i open it again.
    I want the status change to appear in the same screen.I am doing my code in the form 'userexit_check_vbap' of the exit 'MV45AFZB'. Please let me know if there are any user exits or BADI's available for the same(Changing the status of the sales order item based on reason for rejection ).
    Regards,
    S.Subasree

    Hi subburamaiah
    If you want the report you can create a separate SIS report . In that take the input field  as a Reason for rejection.. and ask for the output the list of sales orders .Now when you check this user defined report you will give the reason for rejection and check what all orders got rejected on that reason for rejection.
    Regards
    Srinath

  • How to change the status of the system programmatically with Function Module

    I  Was trying to change the status of the notification through STATUS_CHANGE_INTERN function module .  But It is not changing the status of the notification.
    Can any one help to understand what is going wrong ... or any other function module to change status of Customer complaint notification ..

    Hi KK,
    Please can you take clues form the below discussion thread -
    http://scn.sap.com/thread/775169
    Thanks to all original contributors of this thread!!
    NOTE: Please note that the main point explain here is that, if you are willing to change to a status Ex, NOPR, NOCO, etc then you will need to pass on the value 'I0070', 'I0072', etc. I will also go ahead and like to add one more point here to make the language check as well like "EN", 'DE', etc as these statuses are language dependent too.
    Thanks,
    Arijit

  • FM to change the status od DSO Request

    Hi All,
    I need a Function Module (FM)  to change the status of the request in the DSO and subsequently able to delete that request.
    As I am unable to delete a request manully form the manage tab.
    Regards,
    Mayank

    Hi Dennis,
    Thanks your your reply.
    I tried giving the IP technical name and the requets ID. Nothing is happening.
    It remains in the same state. Any other pointers.

  • Changing the status of Equipment in a follow up action

    Hi All,
               I have a requirement in which a function module will be triggered for a particular Follow up action.
    In this FM we have to determine the equipment and the Maintenance Order , if both are available , status of the equipment
    should change to 'A' , status of maintenance - order = 'Technically completed' and Maintenance Notification = 'Notification Completed' .
    How can this be done.? I am able to change the status of Maintenance order and notification but can anyone help me in
    determining the equipment and changing its status to 'A'. ?
    Thanks in advance.
    Vasuki

    Hi Gajesh,
                     The process is as follows :
    1) During Calibration of a product,depending on the technician's User decision , 3 follow up actions are created.
    2) Each follow up action has one FM associated with it, which is customised in      SPRO > Display IMG > Quality Management > Quality Inspection > Inspection Lot Completion > Define follow-Up Action .
    3) In the first case ( first Follow up action when the inspection is successful) the first FM is triggered. In this FM we have to perform the following steps :
                                   a) Determine the Maintenance Order and the equipment.
                                   b) Incase both are available, status of equipmnt should be changed to 'A',
                                       Maintenance Order should be changed to 'Technically completed' and
                                       Maintenance Notification to 'Notification Completed' .
    If you need further info pls let me know.
    Thanks,
    Vasuki

  • Is it possible to change the status from Bid Rejected to Bid submitted?

    Hi there.
    We are working in SRM 4.0.
    One user rejected a bid, but it was a mistake. Is it possible to change the status from Bid Rejected to Bid submitted?
    We would like to modify the status from Bid Rejected to Bid submitted or Awaiting Approval to Bid submitted in order to solve errors.
    Thanks and regards.
    Raúl Moncada.

    Hi ,
    Use Function Module : BBP_PD_BID_STATUS_CHANGE
    Supply Activity = 'QOSU' .
    Regards,
    Sachin S M

  • Error in CV02N while changing the status.

    Hi Experts,
    We are getting a error while changing the status of technical change document that " Inconsistent characteristic value assignment" .The document is in status "in use" and we are trying to change it to " old version" using T code CV02N.
    when I tried to see the error desription it is telling that delete the inconsistencies. But I didn't find the list of incosistencies. What may be the problem? Please help me out to get ride of this problem.
    Thanks and best regards,
    Praveen

    Hi Pete,
    The full text message: Inconsistent characteristic value assignment
    Message no. C1821
    In diagnosis it is telling that "You want to change the value assigned to a characteristic. However, the change causes inconsistency, so the new value is not allowed."
    Actually I am just changing the status of the document. I am not changing any characteristic value.
    Actually it is appearing as information message. but while saving it pop up and not allowing to save.
    Please do the needful.
    Best Regards,
    Praveen

  • RE: Mail notification on changing the status of the spport desk messages

    Hi,
    I am facing problem with the automatic mail notification in service desk configuration.
    When i create a support desk message in the satellite system, the message appears in crn_dno_monitor in solution manager. When i change the status of the message from new to in process, i get a mail only with the subject line "MESSAGE IN PROCESS STATUS' and the pdf attachement (sapscript) is missing. I have checked all the configurations in SPPFCADM but i am not able to figure out the problem. Please help me out of this problem.
    Regards,
    Sowmya

    Hi,
    there is a SAP Note with a tutor for send_mail via action. See Note 691303 and the attached .zip-file.
    It shows step by step how to set it up and is a very good tutorial. You'll need additional (free) software to let it run.
    Regards,
    Dirk
    @Sowmya: what content does the mail have? None? There is a possibility in SolMan where you can choose whether you want the content as a .PDF-Attachment (which, in my eyes, isn't that sparkling) or as regular mail text.
    It is located in TA SCOT. Double klick on "SMTP", then klick on "Internet" and there choose in the Drop Down Menu of Sapscript. When you have trouble, look at my [screenshot|http://home.arcor.de/dirk.malas/solman/Mail_TXT_PDF.JPG].

  • Change the status of a Support Desk Message in Sol. Man.

    Hello,
    On the Solution manager system I have configured the service desk functionality. So end users are able to create support messages from the satellite systems as well on the solution manager system. For the confirmation of a proposed solution I want to use a workflow which asks the creator if the proposed solution is correct yes or no.
    Is there a BAPI or function which change the status of the support desk message? If so how does this BAPI or function work. An example would be great.
    Kind regards,
    Richard Meijn

    decveloped the custom rfc

  • While changing the status of content in Weblogic 10.3 programitically

    while changing the status of content in Weblogic 10.3 programitically is giving the error
    User is not authorized to check in the node.
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.handleWorkflowActions(InternalWorkspaceOpsBean.java:480)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.internalCheckIn(InternalWorkspaceOpsBean.java:420)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.checkIn(InternalWorkspaceOpsBean.java:343)
         at com.bea.content.virtual.internal.server.bean.WorkspaceOps_xe5vix_ELOImpl.checkIn(WorkspaceOps_xe5vix_ELOImpl.java:166)
         at com.bea.content.virtual.internal.WorkspaceOpsImpl.checkIn(WorkspaceOpsImpl.java:90)
         at com.bea.content.federated.internal.VersionManagerImpl.checkIn(VersionManagerImpl.java:239)
         at com.nab.portal.portlets.cmscontent.EndDateCMSContent.updateNodeStatus(EndDateCMSContent.java:243)
         at jsp_servlet._portlets._cmscontent.__sampletest._jspService(__sampletest.java:140)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
         at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
         at org.apache.beehive.netui.pageflow.faces.internal.PageFlowViewHandler.renderView(PageFlowViewHandler.java:203)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.continueChainNoWrapper(PageFlowPageFilter.java:455)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:432)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.nab.portal.filter.UserSessionFilter.doFilter(UserSessionFilter.java:176)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.nab.portal.filter.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:333)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2186)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    the node is checke odut by annoymous user biut its not checked in the status from 1 to 2 is updated but it not updated to published or retired
    are there any Entreprise scoped roles which sholud be created to set the visitor entitlements on the content
    Please do reply asap
    Thanks
    Regards
    Rani
    Rani Bhatia

    hi
    while changing the sttaus of content in weblogic 10.3 programitcally
    i have written this code List nodeIds=null;
         INodeManager iNodeManager= ContentManagerFactory.getNodeManager();
              try {
              ID nodeId = new ID();
              nodeIds = new ArrayList();
                   linkNode =iNodeManager.getNode(ctx,fileName);
                   log.info("Linknode"+linkNode);
                   String Encodedpath= linkNode.getURLEncodedPath();
                   log.info("Encodedpath"+Encodedpath);
                   com.bea.content.ID nodeid= linkNode.getId();
                   nodeIds.add(nodeid);
              log.info(nodeid);;
                   String repoName = nodeid.getRepositoryName();
                   log.info("repoName"+repoName);
                        IVirtualRepositoryManager repoMgr = ContentManagerFactory.getVirtualRepositoryManager();
                        com.bea.content.federated. IVersionManager iversionManager= ContentManagerFactory.getVersionManager();
                        com.bea.content.federated.IWorkflowManager iWorkflowManager= ContentManagerFactory.getWorkflowManager();
                   if(linkNode!=null)
                        int i= linkNode.getWorkflowStatus();
                                  log.info("Workflow Status"+i);
                                  int j=linkNode.getLifeCycleStatus();
                                  log.info("Workflow Status"+j);
                                  linkNode.setLifeCycleStataus(5);
                                  linkNode.setWorkflowStatus(5);
                                  //iNodeManager.save(ctx, linkNode);
    iversionManager.checkOut(ctx, nodeid, version.getVersionId());                         com.bea.content.virtual.version.VersionableContent versionableContent1 = iversionManager.getVersion(ctx, nodeid, "1");
                             versionableContent1.setStatus(5);
                             iversionmanager.checkIn(ctx, nodeid, versionableContent1);
                             log.info("checkin");
                             b=true;
                        else
                             b=false;
                             log.info("Node already retired ");
              catch (AuthenticationException auex) {
                   log.error("WEB1013IF-3 getLinkNode" + auex.toString());               
              } catch (AuthorizationException authex) {
                   log.error("WEB1013IF-4 getLinkNode" + authex.toString());     
              }catch (RepositoryException repoEx) {
                   log.error("WEB1013IF-5 getLinkNode" + repoEx.toString());
              return b;
    by default annoymous user check out the node
    if for any logged in user which api has to be used eg if i have created the weblogic user how to set this user through api , which apis are used to set this user programmitically so that this user can check out the node and check in the node so that its status can be updated
    Thanks
    Regards
    Rani Bhatia
    Edited by: user10309975 on Jul 5, 2010 10:29 PM

  • While Changing the status system gives error

    Dear Experts,
    In Solution Manger,  While changing the status from Tcode SE38 with Program CRM_SOCM_SERVICE_REPORT system gives error.
    Document 8000002519 refused for technical reasons: ERROR_FREE
    Message no. SOCM_ACTION_LOG203
    Diagnosis
    The status value cannot be changed.
    The document may no longer be modifiable as a result of its status, or it may be being edited by another user.
    System Response
    This change transaction is skipped during report processing.
    Procedure
    Analyze the corresponding document during transaction processing and perform the status change manually if necessary.
    Also if i select the status as in process, then it executes sucessfully.  Please help me in this.
    Ramesh Jaiswal
    9867936636

    Hi Ramesh,
    Pls check your SP level because till SP17 this (CRM_SERV_REPORT) Tcode is not present
    I just checked.
    So it seems this is availabe only after SP18.... we can use the above report.
    Kindly confirm once you solve your problem.
    Dirk
    Can you please tell us a document which wil tel us what technical things have been changed in this new SP18.for e.g the source for this information.
    Regards
    Prakhar

  • Restricting changing the status of an order

    Hello,
    When creating an order (tcode va01), it is possible to change the status of the object. Some of the statuses are for example:  
    u2022 1 Napp Not Approved
    u2022 2 App Approved
    u2022 3 Reje Rejected
    u2022 u2026.
    Is it possible to restrict people in choosing the status? For example  one can only choose Napp and the other one can only choose App.
    I have checked the va01 auth obj in su24, but did not find any auth obj related to this matter.
    Thank you very much for your help in advance.
    WR
    Salameh

    Hello,
    I think no status objects are present for customization in sap and for this you can use STATUS_OBJECT_CREATE (functional module) and it will generate for you a temporary OBJNR and you can fill at least OBTYP and replace it actual one, for replacement you can use function module STATUS_OBJECT_SWITCH_NUMBER.
    Hope this helps
    Dheeraj

  • How to change the status of clinical order header

    Hi all,
    I need to change the status (N1CORDER-WLSTA) of the clinical order header. I have found the way to change the status of the items and it works, but i dont know how to change the header status.
    Now, for the items i do:
    1- Create an object type cl_ishmed_prereg
    2- Load the item (n1vkg-vkgid)
    3- Use set_status method
    4- Save the object
    5- Commit work
    So, do you know how i can change the status of the header? Im looking for other methods but...
    Thanks,
    Manel

    In order to change the clinic order header status u have to:
    1- Obtain the instance from item instance:
        CALL METHOD lv_prereg->get_corder
          IMPORTING
            er_corder = lv_corder
            e_rc      = rc.
    2- Create a var type rn1_corder_x
    3- Modify:
    is_n1corder_x-wlsta = 'RE'. " new status
    is_n1corder_x-wlsta_x = 'X'.
    4- Use change mehod:
        CALL METHOD lv_corder->change
          EXPORTING
            is_corder_x     = is_n1corder_x
          IMPORTING
            e_rc            = rc
          CHANGING
            cr_errorhandler = cl_error.
    5- Save:
    CALL METHOD lv_corder->if_ish_objectbase~save
    6- Commit work
    Regards,
    Manel

  • How to change the status of a production order

    Dear All,
    May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
    Thanks and Regards,
    Varun Siddharth

    Dear,
    When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
    If you delete the operation created automatically and then do not have the status HOGAN.
    To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
    Regards,
    R.Brahmankar

Maybe you are looking for