Remove information message from CLM1 transaction

Hi,
In CLM1 transaction, when we go from 'assignment' tab to 'cost' tab, system displays a message 'The currency for the cost is adopted from the company code'.
How can i remove this message or can i change the message type to status message with modifying the standard program becuase information message interrupts the data entry process. Data entry user don't want to press enter every time.
Thanks,

Try to use.
        mmpur_business_obj_id ls_po_item-id.
        mmpur_remove_messages_by_id ls_po_item-id.

Similar Messages

  • How to Suppress information message from Function module ?

    Hello Every one ,
    I have a problem when executing the function module in RF Tranasaction ,   I have a requirement to create a handling units through COPAWA transaction, i am using few function modules  which is using by transactions ,  in that  the function module it is giving an information message from FM COHU_EXBEREIT_LINE_CHECK, i need to use this function module becuase it will validate the entries . that is the reason i am using it    
    but I want to suppress the message .,
    Any suggestions , please.
    Thanks in Advance.
    Nags

    Add an Exception error_message while calling your function module in the program. It will suppress S, I, W messages
    EXCEPTIONS
       CHECK_ERROR      = 1
       OTHERS           = 2
       ERROR_MESSAGE    = 3.                 "  Add this line also

  • Remove success message from VA01

    Hola buenos días,
    what i am looking for if it is possible to remove sucess message after calling transaction with call transaction abap statement, in the case i am asking for is to remove from status bar the message "Successfully sales order XXXXXX created", i do not see that posiibility in any of the options of this statement.
    Correct answer will be apprecciate.
    Saludos.

    Did you try
    Overwrite with your own blank message
    Replace the CALL TRANSACTION with FM ABAP4_CALL_TRANSACTION starting another task and waiting til completion (jackhammer to crack a nut...)
    Aaything else ?
    Regards,
    Raymond

  • Weblogic 10.3 Not Removing Expired Messages from JMS Queues

    Dear All,
    We have an application that is running on Weblogic 10.3.
    This application (let us call this application Y) receives messages on a JMS queue. These messages are placed on the queue by another application (let us call this application X). We would like to have these messages expire within a certain amount of time (i.e. 90000 ms) if they are not consumed.
    Now when application X places the messages onto the queue for application Y to consume, the JMS producer sets the time to live to 90000 ms. We can see that expiration time has been set appropriately in the weblogic console. If a message sits on the queue for longer than 90000 ms the state string of the message is changed to "receive expired". What we don't understand is why the expired messages still end up being consumed from the queue.
    We understand that Weblogic is supposed to have an 'Active Message Expiration' thread that will remove expired messages from the queue. The Expiration Scan Interval for the JMS Server is set to 30 (seconds).
    Can anyone tell us why our expired messages don't seem to be deleted from the queues?
    Tim

    Thank you for the response Rene.
    We have set up both the active expiration scan and the message expiration policy. The active expiration scan is set for every 30 seconds. The message expiration policy is set to "discard". However, the expired messages are still being consumed. Is it possible we are doing something wrong? See a portion of our configuration files below.
    We have set up the expiration scan time interval. See a portion of our config.xml below:
    <jms-server>
    <name>brokerJMSServer</name>
    <target>AdminServer</target>
    <persistent-store xsi:nil="true"></persistent-store>
    <store-enabled>true</store-enabled>
    <allows-persistent-downgrade>false</allows-persistent-downgrade>
    <hosting-temporary-destinations>true</hosting-temporary-destinations>
    <temporary-template-resource xsi:nil="true"></temporary-template-resource>
    <temporary-template-name xsi:nil="true"></temporary-template-name>
    <message-buffer-size>-1</message-buffer-size>
    *<expiration-scan-interval>30</expiration-scan-interval>*
    <production-paused-at-startup>false</production-paused-at-startup>
    <insertion-paused-at-startup>false</insertion-paused-at-startup>
    <consumption-paused-at-startup>false</consumption-paused-at-startup>
    </jms-server>
    <jms-system-resource>
    <name>broker-jms</name>
    <target>AdminServer</target>
    <sub-deployment>
    <name>EhrBrokerRequestQueue</name>
    <target>brokerJMSServer</target>
    </sub-deployment>
    <descriptor-file-name>jms/broker-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <admin-server-name>AdminServer</admin-server-name>
    We have set up the message expiration policy in our jms descriptor. See a portion below:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-jms xmlns="http://www.bea.com/ns/weblogic/weblogic-jms" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jms http://www.bea.com/ns/weblogic/weblogic-jms/1.0/weblogic-jms.xsd">
    <queue name="EhrBrokerRequestQueue">
    <delivery-params-overrides>
    <redelivery-delay>-1</redelivery-delay>
    </delivery-params-overrides>
    <delivery-failure-params>
    <redelivery-limit>-1</redelivery-limit>
    *<expiration-policy>Discard</expiration-policy>*
    </delivery-failure-params>
    <jndi-name>EhrBrokerRequestQueue</jndi-name>
    </queue>
    </weblogic-jms>
    What could we be doing wrong?
    Kind Regards,
    Tim

  • How do i remove recovered messages from my email

    I need help removing recovered messages from my email.

    I posted a very similar question.  The answers I received here did not help.  For anyone else looking, here is the solution that finally worked. My son found it via a Goolge search:
    Best answer - Sarah (Google Employee) Go to this answer
    chessop
    Please follow below steps.
    1.Take your gmail account offline from Mail and delete the recovered messages folder.
    2. Download the widget to show the hidden files fromhttp://www.apple.com/downloads/dashboard/developer/hiddenfiles.html
    3. Go to UserName/Library/Mail/IMAP-<username>@[email protected]/.OfflineCache
    4. Delete all the data under .OfflineCache folder - DO NOT DELETE the folder.
    5. Close Mail application and reopen.
    This should do the job.
    Best regards,
    Aadi
    338 of 359 people found this answer helpful. Did you? Sign in to vote. Report abuse
    See the answer in context

  • Removing superseded messages from the queue

    Does JSMQ provide any way for a producer to remove a message from the queue which it queued some time ago but which it no longer wishes to send?
    I am investigating the use of JSMQ in a military battlemap application connecting nodes over low bandwidth/unreliable connections. The reason we want to be able to remove messages is as follows: Say a producer sends a low priority message to the queue regarding a unit's position. Later on the same producer sends an update regarding the same unit to the queue. If the first message is still present in the queue (ie has not been sent yet) then we want the producer to be able to remove it as it is now superseded by the new message and we don't want to waste bandwidth sending the old message first.
    I know we can set an expiry time on messages, but this doesn't really solve our problem. We want the original message to stay in the queue indefinately (until it is read by the consumer) unless it is superseded by a new message in which case we want to remove it.
    Thanks
    Roger

    Hi Roger,
    JMS does not support the removal of messages from a queue
    as you described. I can't think of a way to not deliver the old
    message once it was already sent.
    Alternatives I can think of:
    - Adjust the interval at which the consumer reads the messages
    off the queue and/or the number of messages that are read;
    so that the consumer will see the old and new messages
    and can decide which one to use. This does not address the
    bandwidth issue but allows the consumer to behave smarter.
    - Similar to above, but on the producer side. The producer waits
    for some interval before sending a message, in case an
    updated position of a unit arrives at the producer. This might not
    be good if a consumer needs to know the location of a unit as
    soon as it is available.
    - Use a topic instead of a queue. When using queues, old
    messages (containing old positions) sent to a queue are kept
    until the consumer reads it. With topics, if no consumers are
    around, the message is tossed. However, if you really need old
    messages to lie around (e.g. need to know last position of
    unit), this won't suit your needs.
    Sorry I don't have a straight answer for you, hope this helps
    somewhat.
    -i
    http://wwws.sun.com/software/products/message_queue/index.html

  • Remove faces messages from context

    Hi,
    I am using below code to remove messages from context.
    But unable to remove messages.
    Please any one help me how to remove faces messages from context.
    Iterator iterator = FacesContext.getCurrentInstance().getMessages();
    while (iterator.hasNext()) {
            iterator.remove();
    }Thanks,
    sivareddy
    Edited by: sweetreddy2001 on Aug 26, 2009 6:56 PM

    Check the topic right below yours in the topic listing. The same question was asked and answered some hours ago.

  • Wrong remove information macbookpro from iphon finder , what can i do?

    wrong remove information macbookpro from iphon finder , what can i do?

    I advise to reply to the one you want to reply to.
    You have had good information here. I will not repeat that here.
    I would like to add:
    you have incompatible software: start in SafeMode, read Woodmeister and see if it is free of issues.
    Akamai is crap software needed or not, Huawei the same.
    It is very possible that the keygenerator you used for generating a key for some softwares has infected your mac.
    The non-regular software with the false key(s) are not compatible probably or generate malware. Luckily you can not update them automatically because the keygenerator blocked the software for contacting the developer... I propose to consider getting rid of those softwares by really good uninstalling.
    You have a beautiful mac, don't degenerate it with crapped software. There are alternatives for expensive software, for example Adobe Photoshop has a free alternative (with a less beautiful interface) in GIMP. And so on.
    Lex

  • Remove Information message for maximum rates check program

    When we set a maximum rate, we put that a business reason is required. This is working correctly but I am getting an information message u201CIf necessary, split up the receipt to not exceed the maximum rateu201D . The customer would like to remove this as it gives the employee a work around which should not be given.
    Please could you advise how I deactivate this message?
    THanks and regards
    Linda Harris

    I may have figured it out. I called apple (which you may want to do rather than try this alone). I had them stumped at first but then he had me force the phone into recovery mode. I held down both buttons until I got the apple logo and it went black at which point he said it is completely off.
    Then he had me unplug it which it already was. Then I held down the home button and plugged it in until I saw the usb plug again then I let it go. As I say, you may want to call them and tell them what I did to fix mine. I am sitting here watching it as it restores from my backup. Good luck and reply back if you have questions. I will try to answer them but I am no expert.

  • Removal of messages from persisted store

              Hi,
              If I'm using a JDBC store for my JMS server, are the messages removed from the
              DB when they are acknowledged? Are there config settings which play into this?
              Thanks,
              Bob
              

    Elias Sinderson wrote:
              > Tom Barnes wrote:
              >
              >> An acknowledge deletes the associated
              >> messages from the store, whether
              >> it is a JDBC store or a file store. There is no config
              >> setting to turn off this behavior - and you are the first
              >> customer to ever ask if there was such a beast.
              >
              >
              > Actually, I looked for such a configuration but have been put in the
              > position of archiving JMS messages myself as this option is not provided
              > out of the box...
              Ah. Yes, I understand this use case. We are keeping it in mind
              for the future. The future solution may involve simply sending
              a duplicate message to another destination in the same
              transaction. The adminstrative interface might simply
              be something like an "ArchiveDestination" parameter on the
              original destination's configuration. Would that be sufficient?
              >
              > There are a number of reasons one may want to do wuch a thing, ranging
              > from record retention to simply allowing an end user to browse through
              > the set of delivered messages.
              I agree.
              > Personally, I believe that it is a
              > shortcoming of the JMS specification that it does not address this issue.
              Well pub/sub can address this issue. The drawback is that a durable
              subscriber is not the same as a queue - only one consumer can use
              it a time.
              >
              > The long and the short of it, in my case, is that I've now reimplemented
              > a good portion of the JMS specification on top of BEAs implementation.
              With WL, you can use standard JMS pub/sub to replicate messages
              and then use a messaging bridge to forward a subscription to a queue.
              This, of course, does not give great performance, but many applications
              are not sensitive to JMS performance.
              Another approach is to have senders send two messages, one to a
              pub/sub "monitoring" topic and one to the queue. Optionally
              using a transaction to ensure that it is atomic. Again, this is
              not a great performer.
              >
              >
              > Elias
              >
              Tom, BEA
              

  • Regarding error message from a transaction

    Hello all,
          I have a scenario where i need to collect all the error message from a trasaction and display it in a pop up.
          i am calling a function module and inturn calling transaction 'FB08' using bdc. i may get one or more error message. if there are more than one messages from my function module then i need to display this messages in a popup.
        Currently i am displaying one message using 'message ID' syntax at the bottom. what should i do to display error messages in a popup if there are more message
    Thanks,
    Raju N.

    use following fm.  
    CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
          EXPORTING
          TASK             = 'DISPLAY'
            titel            = 'Creation Log'
        IMPORTING
          FUNCTION         =
          TABLES
            text_table       = i_documents_log.

  • Removing information message in creation of new contacts

    Hi,
    Under IC_AGENT role, when we confirm an account and create a new contact from Account Identification screen.
    Message "Relationsip is transferred" is shown after selecting any drop down or save button.
    I tried following code in do_prepare_output for deleting that information msg, that is still not working.
    data lr_msg_service type ref to cl_bsp_wd_message_service.
    lr_msg_service = cl_bsp_wd_message_service=>get_instance( ).
    lr_msg_service->collect_messages( exporting iv_message_type = 'I' iv_delete_read_messages = 'x').
    Help me out!!!

    HI shikha,
    If i m not wrong, this method is used to save the changes down the line.
    my concern is just that information message......
    Plz share ur id, if possible..

  • Re: Remove log messages from loop

    CURSOR cur_item_rev_child IS
    SELECT ffv.flex_value, --org code
    mp.organization_id
    FROM fnd_flex_values ffv,
    fnd_flex_value_sets ffvs,
    mtl_parameters mp
    WHERE ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'EMR Add Spec Org' -- Changed by WIPRO on 01-OCT-12 (SR # 1078990 )--
    AND NVL(ffv.enabled_flag, 'N') = 'Y'
    AND ffv.flex_value = mp.organization_code
    AND mp.master_organization_id = v_num_master_org;
    CURSOR cur_item_rev (i_num_organization_id NUMBER)
    IS
    SELECT /*+ index(xvasd XXINV_VLVS_ADD_SPEC_DETAILS_N1 )*/mirb.inventory_item_id,
    mirb.organization_id,
    MAX(mirb.revision) item_revision,
    msib.segment1, -- Added by Infosys on 19-May-09
    xvasd.spec_revision spec_revision -- Added by Infosys on 19-May-09
    FROM xxinv_vlvs_add_spec_details xvasd,
    xxinv_vlvs_item_add_spec xvias,
    mtl_parameters mp,
    mtl_system_items_b msib,
    mtl_item_revisions_b mirb
    WHERE xvasd.spec_number = xvias.spec_number
    AND xvasd.spec_type = xvias.spec_type
    AND xvias.spec_type = v_chr_spec_type
    AND xvasd.spec_status='ACTIVE'
    AND xvias.inv_item_id = msib.inventory_item_id
    AND mirb.inventory_item_id=msib.inventory_item_id
    AND xvias.organization_id = msib.organization_id
    AND msib.organization_id = mirb.organization_id
    AND mirb.organization_id = mp.organization_id
    AND mp.organization_id = i_num_organization_id
    --AND LPAD (xvasd.spec_revision, 3, 0) LPAD (b.revision, 3, 0)
    GROUP BY mirb.inventory_item_id,
    mirb.organization_id,
    msib.segment1,
    xvasd.spec_revision;
    BEGIN
    o_chr_errbuf := 'Program Completed Successfully';
    o_num_retcode := 0;
    fnd_file.put_line(fnd_file.output,
    fnd_file.put_line(fnd_file.output,
    ' EMR INV Item Revisions Update Program VLVS');
    fnd_file.put_line(fnd_file.output,
    fnd_file.put_line(fnd_file.output, '');
    --Starting the Program
    fnd_file.put_line(fnd_file.LOG,
    fnd_file.put_line(fnd_file.LOG,
    ' EMR INV Item Revisions Update Program VLVS');
    fnd_file.put_line(fnd_file.LOG,
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG, 'Input Parameter');
    fnd_file.put_line(fnd_file.LOG, '---------------');
    fnd_file.put_line(fnd_file.LOG, 'Debug Mode: ' || v_chr_debug_mode);
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG,
    -- Get the value of the spec type from the lookup. If no value is set then display the error message and raise exception
    IF v_chr_spec_type IS NULL
    THEN
    fnd_file.put_line(fnd_file.LOG,
    'Error: Set a value for the profile: XXINV : Additional Spec Type VLVS');
    RAISE excp_user;
    ELSE
    fnd_file.put_line(fnd_file.LOG,
    'Processing for the addition spec item type: ' ||
    v_chr_spec_type);
    END IF;
    -- Select all the eligible records for processing
    FOR rec_cur_item_rev_child IN cur_item_rev_child
    LOOP
    FOR rec_cur_item_rev IN cur_item_rev (rec_cur_item_rev_child.organization_id)
    LOOP
    -- v_chr_spec_rev := NULL;
    -- v_chr_item_number := NULL; Commented by Infosys on 19-May-09
    /* BEGIN --Start of comments by Infosys on 19-May-09
    SELECT segment1
    INTO v_chr_item_number
    FROM mtl_system_items_b
    WHERE inventory_item_id = rec_cur_item_rev.inventory_item_id
    AND organization_id=rec_cur_item_rev.organization_id;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_chr_item_number := NULL;
    fnd_file.put_line(fnd_file.LOG,'Item Number not found in MTL_SYSTEM_ITEMS_B Table for the inv item id '
    ||rec_cur_item_rev.inventory_item_id);
    WHEN OTHERS THEN
    v_chr_item_number := NULL;
    RAISE excp_loop;
    END;*/--End of comments by Infosys on 19-May-09
    /*BEGIN --Start of comments by Infosys on 19-May-09
    SELECT MAX(spec_revision)
    INTO v_chr_spec_rev
    FROM xxinv_vlvs_add_spec_details xvasd,
    xxinv_vlvs_item_add_spec xvias
    WHERE xvasd.spec_number = xvias.spec_number
    AND xvasd.spec_type = xvias.spec_type
    AND xvias.spec_type = v_chr_spec_type
    AND xvias.inv_item_id =rec_cur_item_rev.inventory_item_id
    AND organization_id=rec_cur_item_rev.organization_id
    GROUP BY xvias.inv_item_id,
    organization_id,
    xvias.spec_type;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_chr_spec_rev := NULL;
    fnd_file.put_line(fnd_file.LOG,'Spec Revision not found in Additional Specs Table for the inv item id '
    ||rec_cur_item_rev.inventory_item_id);
    WHEN OTHERS THEN
    v_chr_spec_rev := NULL;
    RAISE excp_loop;
    END;*/--End of comments by Infosys on 19-May-09
    IF LPAD (rec_cur_item_rev.spec_revision, 3, 0) LPAD (rec_cur_item_rev.item_revision, 3, 0)
    THEN
    BEGIN
    v_num_total_cnt := v_num_total_cnt + 1;
    --to take count of the total records processed
    v_chr_error_flag := 'N'; reset the error flag to N before processing each record
    v_num_revision_id := NULL;
    IF v_num_total_cnt = 1
    THEN
    v_chr_output_hdr := 'ORG CODE' ||
    RPAD('|ITEM NUMBER', 51, ' ') ||
    '|ITEM REV' || '|SPEC REV' ||
    '|ERROR REASON';
    END IF;
    -- Check if the revision on the spec is greater that the revision on the item
    IF LPAD (rec_cur_item_rev.spec_revision, 3, 0) > LPAD (rec_cur_item_rev.item_revision, 3, 0)
    THEN
    BEGIN
    SELECT mtl_item_revisions_b_s.NEXTVAL
    INTO v_num_revision_id
    FROM DUAL;
    EXCEPTION
    WHEN OTHERS THEN
    v_chr_temp_msg := 'Error when getting the new revision id from the sequence MTL_ITEM_REVISIONS_B_S: ' ||
    SQLERRM;
    RAISE excp_loop;
    END;
    -- begin block for assigning values and calling API to update the item revisions
    BEGIN
    v_rec_item_revision.inventory_item_id := rec_cur_item_rev.inventory_item_id;
    v_rec_item_revision.organization_id := rec_cur_item_rev_child.organization_id;
    v_rec_item_revision.revision_id := v_num_revision_id;
    v_rec_item_revision.revision := rec_cur_item_rev.spec_revision;--v_chr_spec_rev;
    v_rec_item_revision.revision_label := rec_cur_item_rev.spec_revision;--v_chr_spec_rev;
    v_rec_item_revision.revision_reason := 'Updated the Item Revision';
    v_rec_item_revision.implementation_date := v_dte_sysdate;
    v_rec_item_revision.effectivity_date := v_dte_sysdate;
    v_rec_item_revision.attribute_category := NULL;
    v_rec_item_revision.attribute1 := NULL;
    v_rec_item_revision.attribute2 := NULL;
    v_rec_item_revision.attribute3 := NULL;
    v_rec_item_revision.attribute4 := NULL;
    v_rec_item_revision.attribute5 := NULL;
    v_rec_item_revision.attribute6 := NULL;
    v_rec_item_revision.attribute7 := NULL;
    v_rec_item_revision.attribute8 := NULL;
    v_rec_item_revision.attribute9 := NULL;
    v_rec_item_revision.attribute10 := NULL;
    v_rec_item_revision.attribute11 := NULL;
    v_rec_item_revision.attribute12 := NULL;
    v_rec_item_revision.attribute13 := NULL;
    v_rec_item_revision.attribute14 := NULL;
    v_rec_item_revision.attribute15 := NULL;
    v_rec_item_revision.description := NULL;
    v_rec_item_revision.creation_date := v_dte_sysdate;
    v_rec_item_revision.created_by := v_num_user_id;
    v_rec_item_revision.last_update_date := v_dte_sysdate;
    v_rec_item_revision.last_updated_by := v_num_user_id;
    v_rec_item_revision.last_update_login := v_num_login_id;
    v_rec_item_revision.request_id := v_num_request_id;
    v_rec_item_revision.program_id := v_num_program_id;
    v_rec_item_revision.program_application_id := v_num_prog_appln_id;
    mtl_item_revisions_util.insert_row(p_item_revision_rec => v_rec_item_revision,
    x_rowid => v_chr_ret_rowid);
    v_num_succ_cnt := v_num_succ_cnt + 1;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    v_chr_temp_msg := 'Error when updating the revisions: ' ||
    SQLERRM;
    RAISE excp_loop;
    END;
    ELSE -- LPAD (cur_item_rev.spec_revision, 3, 0) < LPAD (cur_item_rev.item_revision, 3, 0)
    v_chr_temp_msg := 'Item Revision is greater than the Spec Revision';
    o_num_retcode := 1;
    v_num_err_cnt := v_num_err_cnt + 1;
    ROLLBACK;
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG,
    'Organization Code: ' ||
    rec_cur_item_rev_child.flex_value); -- added on 05-May-09 by infosys --
    fnd_file.put_line(fnd_file.LOG,
    'Item Number: ' ||
    rec_cur_item_rev.segment1);
    fnd_file.put_line(fnd_file.LOG,
    'Item Revision: ' ||
    rec_cur_item_rev.item_revision); -- v_chr_item_revision_child -- -- added on 05-May-09 by infosys --
    fnd_file.put_line(fnd_file.LOG,
    'Spec Revision: ' ||
    rec_cur_item_rev.spec_revision);
    fnd_file.put_line(fnd_file.LOG,
    'Error: ' ||
    v_chr_temp_msg);
    fnd_file.put_line(fnd_file.LOG,
    v_chr_output_msg := v_chr_output_msg ||
    RPAD(rec_cur_item_rev_child.flex_value, -- added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.segment1,
    50,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.item_revision, v_chr_item_revision_child, added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.spec_revision,
    8,
    ' ') || '|' ||
    v_chr_temp_msg ||
    CHR(10);
    v_chr_mail_body := v_chr_mail_body ||
    RPAD(rec_cur_item_rev_child.flex_value, -- added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.segment1,
    50,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.item_revision, v_chr_item_revision_child added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.spec_revision,
    8,
    ' ') || '|' ||
    v_chr_temp_msg ||
    -- Display the statistics details in the output file
    fnd_file.put_line(fnd_file.output, '');
    fnd_file.put_line(fnd_file.output,
    'Number of items selected for update: ' ||
    v_num_total_cnt);
    fnd_file.put_line(fnd_file.output,
    'Number of items updated: ' || v_num_succ_cnt);
    fnd_file.put_line(fnd_file.output,
    'Number of items not updated: ' || v_num_err_cnt);
    fnd_file.put_line(fnd_file.output, '');
    fnd_file.put_line(fnd_file.output, v_chr_output_hdr);
    * Print out the output message from CLOB variable "v_chr_output_msg"
    * Substr each line whenever we find the separator CHR(10)
    * Print each line with fnd_file.output function
    BEGIN
    v_num_offset := 1;
    v_num_instr := 0;
    LOOP
    EXIT WHEN v_num_offset > dbms_lob.getlength(v_chr_output_msg);
    -- Get the position of CHR(10) when first time appearence.
    v_num_instr := dbms_lob.instr(v_chr_output_msg,
    CHR(10),
    v_num_offset,
    1);
    v_num_line_length := v_num_instr - v_num_offset + 1;
    -- Substr the each line and print it out
    fnd_file.put_line(fnd_file.output,
    dbms_lob.substr(v_chr_output_msg,
    v_num_line_length - 1,
    v_num_offset));
    v_num_offset := v_num_offset + v_num_line_length;
    END LOOP;
    END;
    END IF; -- LPAD (cur_item_rev.spec_revision, 3, 0) < LPAD (cur_item_rev.item_revision, 3, 0) --
    EXCEPTION
    WHEN OTHERS THEN
    ROLLBACK;
    fnd_file.put_line(fnd_file.LOG,
    'Porcessing next record as a Error occured in cursor loop cur_item_rev : ' ||
    SQLERRM);
    END;
    END IF;
    END LOOP; -- cur_item_rev --
    END LOOP; -- cur_item_rev_child --
    -- calling the mail procedure --
    IF v_num_err_cnt > 0
    THEN
    BEGIN
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG,
    'Calling send_notification Procedure...');
    send_notification(o_chr_ret_code => v_chr_status,
    o_chr_ret_mesg => v_chr_temp_msg,
    i_chr_subject => 'EMR INV Item Revisions Update Program VLVS - ' ||
    v_dte_sysdate,
    i_chr_body => v_chr_mail_body);
    EXCEPTION
    WHEN OTHERS THEN
    v_chr_temp_msg := 'Error when calling Procedure send_notification .';
    fnd_file.put_line(fnd_file.LOG,
    'Error details : ' || v_chr_temp_msg ||
    ' - ' || SQLERRM);
    RAISE excp_user;
    END;
    END IF;
    EXCEPTION
    /*WHEN excp_loop THEN
    ROLLBACK;
    o_chr_errbuf := o_chr_errbuf ||
    'Program completed with error when getting the max revision';
    o_num_retcode := 2;*/
    WHEN excp_user THEN
    ROLLBACK;
    o_chr_errbuf := o_chr_errbuf || 'Program completed with error';
    o_num_retcode := 2;
    WHEN OTHERS THEN
    ROLLBACK;
    fnd_file.put_line(fnd_file.LOG,
    'Error in Item Revisions Update Program: ' ||
    SQLERRM);
    o_chr_errbuf := o_chr_errbuf || 'Program completed with error';
    o_num_retcode := 2;
    END update_item_revision;

    I need to remove the log messages from loop...As currently log file printing is in loop....Can you please tell how to remove log file messages from loop.

  • Regarding return message from custom transaction

    Hello all,
              i have a scenario where i am calling a custom transaction and trying to get return messages, but i am not getting any return message instead i am getting error message in that transaction even if i am using mode 'N' in my call.
            Do my custom transaction need to follow some methodology which will return error message, as messages are returned when standard call transaction is made.
    Thanks
    raju N

    hello abi,
            i am getting a empty message table, thing is that from the custom transaction they are calling other standard transaction and getting error message. if any error occurs they are using 'message id'  syntax and displaying and if any error occurs internally in that transaction they are using 'message e001'. this kind of error messages are returned to my call transaction but the other one is not getting populated.
    Thanks,
    raju N
    Message was edited by:
            krishnam Raju N

  • Dequeue with OCCI does not remove the message from the queue

    Hey there,
    I have this problem where no matter what dequeue option I try the messages never seem to be removed from the queue... I tried looking around and found only a similar un-answered question...
    Thanks in advance...
    void TryAnydataDequeue(oracle::occi::Connection * conn)
         try
              std::cout << "Dequeue Commence..." << std::endl;
              Consumer cons(conn);
              //Settings de dequeue
              cons.setCorrelationId("SPPC");
              cons.setQueueName("Anydata_queue");
              cons.setConsumerName("SNOOP");
              cons.setDequeueMode(cons.DEQ_REMOVE);
              //cons.setDequeueMode(cons.DEQ_LOCKED);
              std::cout << "Reception du message..." << std::endl;
              Message m2 = cons.receive(Message::ANYDATA);
              AnyData any(conn);
              any = m2.getAnyData();
              if(!any.isNull())
                   oracle::occi::TypeCode type = any.getType();
                   if(type == OCCI_TYPECODE_VARCHAR2)
                        std::string msg = any.getAsString();
                        std::cout << "Message Reçu: ";
                        std::cout << msg << std::endl;
                   else
                        std::cout << "Format du message invalide..." << std::endl;
                   std::cout << "Fin du message... (Press a key)" << std::endl;
              else
                   std::cout << "Message invalide..." << std::endl;
              System::String * theInput = System::Console::ReadLine();
         catch(SQLException ex)
              std::cout << "Exception: " << ex.getErrorCode() << " - " << ex.getMessage() << std::endl;
              System::String * tnput = System::Console::ReadLine();
    }

    The message from the queue will be removed when you do a commit after a successful dequeue call, depending upon your message retention settings.
    After you have done this processing and successfully performed a commit, what is the output of the following query:
    SQL> connect AQADMIN/password
    SQL> select msg_state from aq$<your_queue_table_name_goes_here> ;?
    If it is PROCESSED, check your queue retention settings.
    Additionally, make sure that the init.ora parameter AQ_TM_PROCESSES is set to a NON-ZERO value for this to happen.

Maybe you are looking for

  • Generating Excel file using PL/SQL

    Hi, I wanted to generate the excel file using the below pasted PL/SQL which I have downloaded from one of the tech sites. And as I have very limited knowledge about PL/SQL I really dont know how & where I should compile this below mentioned code and

  • Problems running a java program

    Hello, I have absolutely no java experience whatsoever, and I need to fix a program that suddenly stopped running properly after several years without problems. Basically, I have a perl script that calls a java program. Everytime I run this perl scri

  • JDBC Adapter error"no action attribute find"

    hi, thnks  i checked the structure for sending and receiving both for JDBC and file i m getting this error AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: No 'action' attribute found in XML document

  • I've got a new computer with windows 7 & i downloaded firefox yesterdayerday. there are no menu buttons/navigation buttons showing up.

    i downloaded firefox yesterday. it is only showing maps4pc and googlechrome. there are no navigations tabs. i don't want the above two features. i only want plain simple firefox with navigation tool bar. everything i tried to fix the issue following

  • Blackberry world connection error

    Good afternoon I am trying to access blackberry world but get the error 'an error has occurred and blackberry world must close. Try waiting a few minutes and then re-open Blackberry world'. I have seen several recommendations to turn off wifi but I a