Supressing message

Hi all,
my problem is:
I have used a push button to populate record in a block;
i have another push button to clear that clock before ay commit being made:
IF :SYSTEM.RECORD_STATUS IN ('NEW', 'INSERT') THEN
     Go_Block('mob_app_conditions');
     Clear_Block;
END IF;
However each time that i clear the block then i get the message
Do you want to save the changes you have made?
How can i supress this message

<p>If you want to clear the block without commit, just modify your coding as follows:<br>
IF :SYSTEM.RECORD_STATUS IN ('NEW', 'INSERT') THEN<br>
Go_Block('mob_app_conditions');<br>
<b>Clear_Block(NO_COMMIT); </b><br>
END IF;<br>
</p>
Thanks,
<br>
Raj
<br>
<p>
http://www.oraclebrains.com</p>

Similar Messages

  • Urgent. doubt on supress message on forms

    in form, Record bas been updated by another user. Re-query to see change. message came.
    But the form is working with single user only...
    Can we supress this message? is it possible...
    if so tell me code and syntax...
    regards
    madhava

    You may be able to suppress some of the messages. Please see documentation for 'system.message_level'.

  • Supress message in status bar when using Call Transaction

    Hi,
    I have designed a RF program and I am using a BDC program to call LT11 transaction for confirming TO.
    As this was a Flowrack storage type we will assign Source HU during TO confirmation. So I went for a BDC.
    But after confirmation I am getting a Status message TO XXX confirmed in the status bar which is also displayed in the RF Screen for every line item confirmed. I want to supress this message.
    I am getting this message in the messtab table as well by using Call Transaction. So how can I supress this message in Status bar.
    Please let me know for more information.
    Thanks,
    Manoj.

    >
    kaka79 wrote:
    > I have designed a RF program and I am using a BDC program to call LT11 transaction for confirming TO.
    > But after confirmation I am getting a Status message TO XXX confirmed in the status bar which is also displayed in the RF Screen for every line item confirmed. I want to supress this message.
    > I am getting this message in the messtab table as well by using Call Transaction. So how can I supress this message in Status bar.
    The CTU (CALL TRANSACTION ... USING ...) captures and stores all the messages into the message internal table (... MESSAGES INTO itab ...), but they are not displayed. So, if one of them appears in the status bar, it's because there is an additional MESSAGE ... statement in the program using the CTU. So look at it and add a condition before the MESSAGE statement to not output this exact message (click the message on status bar to get the message number, or debug the program to get it from the message internal table).

  • Supress Message using Personlization in Oracle Forms

    All,
    Is there a way to supress the message using Personlization in Oracle Forms 11i.
    Thanks,

    Hi;
    Please check below thread which could be helpful
    Forms Personalization Document
    Re: Forms Personalization Document
    Re: Form Personalization
    Regard
    Helios

  • To supress messages in Costing Run

    Hi
    My requirement is to supress particular messages in costing run. I have achieveied it using BADI COPCMESSAGECONTROL
    While running online and batch it is working properly but during parallel processing the messages are not supressed.Please help me on this.
    Regards
    Step

    HI,
    Whats the CO-area currency type? I guess for the case you've mentioned there is no currency conversion possible with ex rate type "P", so ex. rate type "M" is taken as a 2nd best option.
    To check if converison is possible use SE37, function module "convert_to_local_currency", use the "test" button (F8) and key in the data required for currency conversion (type of rate "P").
    Best regards, Christian

  • Supress message in VA01

    Hi All,
    We are using z tables to get BOM data and not using standard tables. So I have to suppress the message that comes when it does not find any data in standard tables. The message is "The system did not find a valid bill of material". Which exit can i use for message handling for VA01.
    Thanks in Advance,
    Shailly

    "The system did not find a valid bill of material".
    Since this message is related to item, you can try with any of the following:-
    1)  User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP
    2)  User-Exits in program MV45AFZB - USEREXIT_CHECK_VBAP
    thanks
    G. Lakshmipathi

  • Supress message during Batch sequence run

    Hello, I have a Batch sequence that runs on a batch of files. Intermittently, it stops and displays messages like "Some difficult images where encountered...". Once I click on OK the processing continues. How can I suppress these messages? I could like my batch process to run without any human intervention. Thank you.

    Hello,
    I tried to use
    App = CreateObject("AcroExch.App")
    App.Hide()
    to suppress the new version warning message(as I am using acobat 6 to open acrobat 8 file), and it works fine. But when I test on the corrupted pdf file, then it will hang forever, as AvDoc.Open will wait for user to press "ok" to pass the return code back to continue run the statement 2.
    AvDoc = App.GetActiveDoc
    If AvDoc.Open(PDFPath, "") Then
    statement 1
    else
    statement 2
    end if
    I am not sure if you problem "Some difficult images where encountered..." fall into the same catagory or not. I am still looking for a solution for the corrupted file...
    MK

  • How to make mail show a message accurately?

    I recently upgraded to OS X 10.9.
    Now, when I open a message in Mail, it is doing two things that are creating significant difficulty for me:
    1. It is grabbing other, unrelated messages, and showing them as though they are part of the message I clicked on, even though they are not.
    2. It is supressing messages that are part of the thread of the message I clicked on.
    I have never experienced behavior like this with Mail from the older operating systems.
    Is there any way to cause Mail in OS X 10.9 to behave like a normal email client? By this, I mean:
    1. When I click on a message, it shows me the message I clicked on, and
    2. The content of the message contains the actual content of the message (i.e. nothing is taken away, nothing is supressed), and
    3. The message reflects the actual message, and does not include any other messages added into it by Apple which were never part of the message
    Is this possible?
    I have tried the following:
    Mail, Preferences, Viewing
    - Use classic layout
    - Unchecked "include related messages"
    I can't find any other setting that seems relevant to this behavior.

    I can get my mail to go full screen if i hold it 'portrait' (tall way up instead of short and wide). click on a message and it fills the whole screen.

  • Error Message BRAIN:541 - Interactive Reporting

    Hello,
    I'm activating Interactive Reporting and other reports in CRM Webclient 7.0. Followed instructions of BB C41 but now when trying to test some reports and create new ones, it's retrieving the following error:
    I:BRAIN:541 /CRMBW/CSAL_C01_Q0001
    Well, this error is retrieved with almost every query, when i try to execute it. The query above is related to campaigns.
    Some reports or interactive reports created with our own criteria only retrieves this error and say that no results were found.
    Also, in RSRT Tcode (in Supressed Messages) the msg text for this error is:
    &CAUSE&&V1&
    You need to replace variable &V1& from &V2& as a boolean value. It can
    therefore only have the values 0 and 1.
    Entering (MWKZ = &V3&, WAERS = &V4&, ...) under <LS>Currency/Unit</> is
    therefore not advisable. Only dimension = number is allowed.
    &SYSTEM_RESPONSE&
    The query cannot be generated and executed.
    &WHAT_TO_DO&
    Change the definition of the variables.&1&
    &SYS_ADMIN&
    Anyone knows how to solve this problem?
    Search all over for this kind of messages but not many ppl with this error.
    Thanks,
    Regards,
    João Ribeiro

    Hello Susana,
    We can associate manually transport requests to BI Content.
    In RSA1>Transport Connection.
    But we still have to define new RFC's in the new QAS/productive systems.
    We first activate the data sources in BW System in development system, but when we want to transport the BI content to the target systems, these data sources should be mapped with the corresponding source systems and that's accomplished in RSA1>Tools>Conversion of Logical System Names.
    In RSA1, when you activate the datasources the system asks how do you want to activate them.
    If you select background there will be no transport connection.
    If you select instead to activate as dialog there will be a transport connection and the transaction will start.
    Hope it helps you out on your problem.
    Best Regards,
    João Ribeiro

  • Suppress messages

    How can I supress messages (for example in portal using standard Web Template for Web Analyzer) which are not listed in RSRT under messages. For example BRAIN 160?
    Best regards,
    Vitaly Antoshkin.

    Hi,
    Please have a look ...
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bi/howtosuppresswarningmessagesonweb+applications
    Thanks

  • Unix shell - how to remove files in the cron which are N days old

    Hey guys:
    I know it's unix question rather then oracle.
    I have to gzip my archive logs due to the lack of space. Because of that, RMAN command "delete noprompt obsolete" (on the cron) does not delete the gzipped arch logs and I have to do it with rm command.
    I have this line in my file which runs on cron:
    find /db/oraarch/PROD1/arch*.arc.gz -mtime +2 -print |xargs rm
    It sends an error:
    Subject: cron
    Usage: rm [-Rfir] file ...
    Cron: The previous message is the standard output
    and standard error of one of your crontab commands:
    Any suggestions - maybe even to somehow delete compressed arch logs from inside RMAN?
    TIA,
    Greg

    Greg, what about:
    find /db/oraarch/PROD1/arch*.arc.gz -mtime +2 -exec rm {} \;
    If this does not work then trying adding the -f option to rm to supress messages
    HTH -- Mark D Powell --

  • Clling a Compiled HTML HelpFile Topic from Web Form

    Ben:
    I'm a project manager on a development project in a client's Oracle environment. We want to deliver help files from the unix server when a user presses the F1 key or the ? button. The application runs on the server and users have access to it through web forms. In the new web-based application, we want to be able to access compiled HTML Help files (.chm) AND a specific topic in the file - a context sensitive approach. Our developers are using the WEB.SHOW_DOCUMENT call and the help file name to get just the help file, but we can't figure out how to call a specific topic in the file (topic ID's and numbers have been assigned to each topic and the file is compiled with the ID's in it). Do you have any way to do this? If so, can you provide a script that works?
    Also, when the file is delivered, the users get the Open/Save dialog box prior to delivery. Have you ever heard of a way to supress this dialog programmatically so the user won't see the dialog? I have seen this work in the real world but have never been able to figure it out.
    Thanks.
    Eric Blythe ([email protected])

    Eric,
    You are asking a Forms/Microsoft Help related question.
    The Oracle Help Technologies Forum is intended to be a resource for OHJ (Oracle Help for Java) and OHW (Oracle Help for Web) product related issues. This forum is not intended for general help discussion.
    Having said that, here is a blurb from the Ehelp (RoboHelp) help system:
    "For context-sensitive Help to work properly, both the Help author and developer need to use the correct topic IDs in the same map files. This sounds fairly simple and straightforward except that the HTML Help engine requires a topic ID plus something known as a map number.
    The topic ID is matched with its corresponding map number in the map file. The entire string (known as a map ID) looks something like this:
    #define ID_PizzaDeliveryForm 101
    Any number between 0 and 4294967294 is valid, but the same map number cannot be used more than once in a Help project."
    For more info about Microsoft Help (HTML Help), visit the Microsoft site.
    Btw, Forms provides you with the ability to programmatically supress messages. See the Forms help system for details.
    Thanks,
    Ken

  • Uploading DBF file

    Dear friends,
       I'm trying to upload DBF file.
       I can easily convert DBF to CSV in excel and upload the CSV file by standard FM. But client wants to upload directly from DBF, no conversion in between.
       I resoted to following techniques:-
       1. Tried WS_UPLOAD, UPLOAD, GUI_UPLOAD without any successful results.
       2. Convert DBF to DAT using include ole2incl but no conversion happening.
       The above mentioned ways were of no help. Please suggest a way to crack this problem.
    Regards,
    Deva Jyothi Singh.

    Hi Deva Jyothi Singh,
    Try the below code...
    This form does is: opens .dbf in Excel,saves it as .dat file ,uploads .dat file into internal table,deletes .dat file.
    *&      Form  load_dbf_file
          text
    -->  p1        text
    <--  p2        text
    FORM load_dbf_file TABLES input_table
                       USING value(t_filename) LIKE rlgrap-filename.
      DATA: application TYPE ole2_object,
            workbooks TYPE ole2_object,
            fworkbook TYPE ole2_object,
            fsheets TYPE ole2_object,
            fsheet TYPE ole2_object,
            dsheet TYPE ole2_object,
            frange TYPE ole2_object,
            frow TYPE ole2_object.
      DATA: return,
          filename(128)   TYPE c,
          l_filename TYPE string.
    Filename conversion
      MOVE t_filename TO filename.
      TRANSLATE t_filename TO UPPER CASE.
      REPLACE '.DBF' WITH '.DAT' INTO t_filename.
      IF sy-subrc NE 0.
    error - filename extension is not DBF "TODO
        MESSAGE w899(f5) WITH 'Error - filename extension is not DBF'.
        EXIT.
      ENDIF.
    check file existence
      CALL FUNCTION 'WS_QUERY'
           EXPORTING
                filename       = filename
                query          = 'FE'
           IMPORTING
                return         = return
           EXCEPTIONS
                inv_query      = 1
                no_batch       = 2
                frontend_error = 3
                OTHERS         = 4.
      IF ( sy-subrc NE 0 ) OR ( return EQ 0 ).
    error - file does not exist "TODO
        MESSAGE w899(f5) WITH 'Error - file does not exist'.
        EXIT.
      ENDIF.
    Working through OLE (MS Excel) *****
    OLE initialization
      CREATE OBJECT dsheet 'Excel.Sheet'.
      IF sy-subrc NE 0.
    error - OLE initialization of MS Excel "TODO
        MESSAGE e899(f5) WITH 'Error - OLE initialization of MS Excel'.
        EXIT.
      ENDIF.
    supress messages from MS Excel
      CALL METHOD OF dsheet 'Application' = application.
      SET PROPERTY OF application 'DisplayAlerts' = 0.
    opening DBF-file
      CALL METHOD OF application 'Workbooks' = workbooks.
      CALL METHOD OF workbooks 'Open' EXPORTING #1 = filename
      #2 = 0
      #3 = 1.
    remove header line from DBF data
      GET PROPERTY OF application 'ActiveWorkbook' = fworkbook.
      CALL METHOD OF fworkbook 'Sheets' = fsheets.
      CALL METHOD OF fsheets 'Item' = fsheet EXPORTING #1 = 1.
      GET PROPERTY OF fsheet 'Rows' = frange.
      CALL METHOD OF frange 'Item' = frow EXPORTING #1 = 1.
      CALL METHOD OF frow 'Delete'.
    save as DAT file
      CALL METHOD OF fworkbook 'SaveAs' EXPORTING #1 = t_filename
      #2 = 20.
    close the book without saving
      CALL METHOD OF fworkbook 'Close' EXPORTING #1 = 0.
    &#1086;&#1095;&#1080;&#1089;&#1090;&#1082;&#1072; &#1089;&#1089;&#1099;&#1083;&#1082;&#1080; &#1085;&#1072; OLE-&#1086;&#1073;&#1098;&#1077;&#1082;&#1090;
      FREE OBJECT dsheet.
    Filling internal table with data *****
      REFRESH input_table.
      l_filename = t_filename.
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                filename                = l_filename
                has_field_separator     = 'X'
           TABLES
                data_tab                = input_table
           EXCEPTIONS
                file_open_error         = 1
                file_read_error         = 2
                no_batch                = 3
                gui_refuse_filetransfer = 4
                invalid_type            = 5
                no_authority            = 6
                unknown_error           = 7
                bad_data_format         = 8
                header_not_allowed      = 9
                separator_not_allowed   = 10
                header_too_long         = 11
                unknown_dp_error        = 12
                access_denied           = 13
                dp_out_of_memory        = 14
                disk_full               = 15
                dp_timeout              = 16
                OTHERS                  = 17.
      IF sy-subrc NE 0.
    error - loading DAT file "TODO
        MESSAGE w899(f5) WITH 'Error - loading DAT file'.
        EXIT.
      ELSE.
    the loading was successfull "TODO
      ENDIF.
    Delete temporary DAT-file *****
      CALL FUNCTION 'GUI_DELETE_FILE'
           EXPORTING
                file_name = t_filename
           EXCEPTIONS
                OTHERS    = 1.
      IF sy-subrc <> 0.
        CALL FUNCTION 'WS_QUERY'
             EXPORTING
                  filename       = t_filename
                  query          = 'FE'
             IMPORTING
                  return         = return
             EXCEPTIONS
                  inv_query      = 1
                  no_batch       = 2
                  frontend_error = 3
                  OTHERS         = 4.
        IF ( sy-subrc NE 0 ) OR ( return EQ 0 ).
          EXIT.
        ELSE.
    error - deleting temporary file "TODO
        ENDIF.
      ENDIF.
    ENDFORM.                    " load_dbf_file
    You can even try this...Foxpro can be output in comma delimetered mode, so why not use it ?
    There's a standard foxpro (DBF) export tool for this.
    Regards,
    Raj

  • BEx query logging off

    Hello All,
    I am trying to execute a query in BEX. It does execute but after 10-15 minutes, I get automatically logged off.
    The SAP GUI 710 and patch level is 16. What might be the problem?
    And what role does the .dll file play in these query executions?
    Kindly help.
    Regards,
    NIKEKAB

    Hi NIKEKAB & PRASHANTHK
    Sorry to jump into your conversation, but i was wondering is this really a missing .dll issue?? or there is problem with query itself.
    NIKEKAB are you able to run any other query or you can't run any query at all??
    if you can run other query, then go to RSRT and then try to run this query with execute & debug with option "do not supress messages" there you can what exactly the problem is.
    there could be possibility that if any the query changed, or some of the query elements not available then BEx will disconnect. but as u said it runs for 10-15 min then i doubt this could be the reason.
    another possibility is there could be some objects which you dont have authorizations to use, but even in this case it wont run for 10-15min, you can see this in RSRT as well.
    If you can give us more info that will be helpful to figure out what exactly the reason is.
    Best Regards
    Robyn.

  • Scripting InDesign Server

    I understand that when scripting the server, there is no such thing as an activeDocument, so app.activeDocument should be replaced with:
    app.documents[0].getElements()[0]
    if you want a resolved reference (app.documents[0] is usually good enough, though).
    But what happens to commands like:
    alert(Msg)
    and it's confirm() and prompt() brethren? Do these cause a message on the server thereby bringing things to a halt? Or is the server intercepting these and moving on?
    Is there a place a scripter can go to get information on what can or cannot be done on the server? Or should that be "what should or should not be done"?
    Dave

    Hi Dave,
    There's a scripting guide and scripting reference that come with the server -- they're a little different than the desktop version... unfortunately the guide isn't quite different enough, so there's also 'trial and error'. :(
    Alert, confirm, etc... Adobe InDesign Server will supress these.
    Unfortunately they don't show up in the errorList so you don't have access to the supressed messages. If you do want the message to show up in the server console and to be available in the error list you can use these:
    app.consoleout(Msg);
    app.consoleerr(Msg);
    Paul

Maybe you are looking for

  • Syncing PDF files into my iPad Mini, but will not show in iBooks

    I am trying to sync PDF files into my iPad Mini but it will not appear in the iBooks app on my iPad Mini. I have tried to unselect the book and reselect, sync all or sync selected through iTunes. Still have not figured it out! There is 9.75gb left on

  • Operations manager console shows old alerts

    Hi All, I Have this issue regularly, I am using SCOM 2007 R2 CU4. But recently this issue has become very frequent.  I see more number of old alerts rather than new alerts in my SCOM console. Below is a screen shot. Is there any specific reason for t

  • Removing old sources from source list

    Between all the members of the family we've synched up quite a few machines with our Apple TV. But now many of them are gone, yet they are still listed as grayed-out "sources" in the AppleTV menu. Any ideas on how to remove them from the list?

  • Tracing execution and standard Forte message filters

    Hello, During the process of tuning an application, or just of making it work, it is useful to trace the flow of processing. There are two ways of doing it : 1) add your own trace instructions (calls to the LogMgr) at the appropriate places, 2) use t

  • WCF vs Web API, Deeper details?

    Before I continue, I just want to mention I have heavily researched and searched on this topic, but I need the opinion of people who have worked/and or have practical knowledge with regards to this topic. We are currently looking at developing an API