Display a message while processing

Hi,
I am processing a lot of files and it take some time to do it. I want to display a message when a file is processing. And one message when the process of all files is finished.
LOOP AT LT_FILES.
  CONCATENATE 'File processing: ' LT_FILES-NAME INTO LV_MSG
  MESSAGE LV_MSG TYPE 'S'.
  PERFORM F_PROCESS_FILE USING LT_FILES-NAME.
ENDLOOP.
MESSAGE 'The files are been processed' TYPE 'S'.
But it doesn't show anything while the files are been processing, just at the end the last message appears. Someone knows how can I do this? Like parallel tasks or something like threads?
Regards,
Isaac Melendez

Hi,
Try using the FM  
Increase the percentage for each loop        
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
              EXPORTING
                PERCENTAGE = 50
                TEXT       = text-025.

Similar Messages

  • Message while processing Adobe form

    Hi,
             I am trying to display error message while running through an adobe form. Am using the below code to display the message but its running through the code and not display any kind of message. Just wondering if am missing any thing.
    DATA message_handler TYPE REF TO cl_hrbas_message_list.
    DATA: message_dummy1 TYPE string.
      DATA new_message TYPE symsg.
    CREATE OBJECT message_handler.
    MESSAGE e115(z_msg) INTO message_dummy1.    
    MOVE-CORRESPONDING sy TO new_message.    u201Cgetting the desc of msg. in new_message
    CALL METHOD message_handler->if_hrbas_message_handler~add_message
                      EXPORTING
                        message = new_message.
    Thanks,
    Kumar

    Hi,
    I have used the same kind of code as shown below. For me it triggers perfectly.
    data :      MESSAGE TYPE SYMSG,
                     MESSAGE_DUMMY TYPE STRING.
    MESSAGE E003(Z_EE_TEST) WITH INTO MESSAGE_DUMMY.
              MOVE-CORRESPONDING SY TO MESSAGE.
              MESSAGE_HANDLER->ADD_MESSAGE( EXPORTING MESSAGE = MESSAGE ).
              RETURN.
    Also please confirm whether the message class has been created correctly.
    Regards,
    Prabu

  • Mod_hlshttp [500]: Invalid timestamp found in the message while processing /hls-live/streams/rd-mp4

    Hi,
    We use  FMS 4.5.1 for streaming MP4 (H264/AAC) live streams to flash clients and iPads. Occassionally iPad viewers get error messages indicating that the video cannot be played. On these occasions we see error messages like this in our Apache logs:
    mod_hlshttp [500]: Invalid timestamp found in the message while processing /hls-live/streams/rd-mp4/events/noordoostpolder_1/liveevent/livestreamNum4390.ts
    Strangely enough this error message cannot be found anywhere in Adobe's documentation or anywhere else on the net (or perhaps I haven't searched well enough...)
    Has anyone else here encountered this problem and/or does anyone have an idea as to what causes these messages and this problem?
    Message was edited by: GRO-NIC: Does anyone have any idea? And/or can someone from Adobe respond? We are still receiving complaints from several of our customers about this.

    Hi,
    We use  FMS 4.5.1 for streaming MP4 (H264/AAC) live streams to flash clients and iPads. Occassionally iPad viewers get error messages indicating that the video cannot be played. On these occasions we see error messages like this in our Apache logs:
    mod_hlshttp [500]: Invalid timestamp found in the message while processing /hls-live/streams/rd-mp4/events/noordoostpolder_1/liveevent/livestreamNum4390.ts
    Strangely enough this error message cannot be found anywhere in Adobe's documentation or anywhere else on the net (or perhaps I haven't searched well enough...)
    Has anyone else here encountered this problem and/or does anyone have an idea as to what causes these messages and this problem?
    Message was edited by: GRO-NIC: Does anyone have any idea? And/or can someone from Adobe respond? We are still receiving complaints from several of our customers about this.

  • Problem while displaying popup message while using inputfile component

    Hi
    I am using JDEV 11.1.1.2.0, using ADF i developed and application
    in my page i have a input file component, from which i am taking a csv file and reading it through valuechangeevent of inputfile component. I have used myfaces.trinidad-UploadedFile to get the selected file and read it using inputstream.
    I have put some validation check (validation check is done while reading the file using valuechangeevent of the inputfile component), while reading the file and incase i receive any error (validation mismatch), the reading of file stops ... and before doing that i used to display error message using below method:-
    public String ValidationCheck(String attrname, String attrvalue, int rownumber) {
    String msg="Validation error found in "+attrname+" with value "+attrvalue+" of row "+rownumber+" in the file. Please correct the file and retry/";
    FacesContext ctx = getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(null,fm);
    return null;
    i have used the same method to display message in other places where its showing correctly but fails in inputfile component.
    Please help me out how can display messages from inputfile component??
    Thanks
    Sudeep
    Edited by: SKD on Feb 21, 2012 12:02 PM
    Edited by: SKD on Feb 21, 2012 4:08 PM
    Edited by: SKD on Feb 21, 2012 4:11 PM

    It works fine for me (albeit on 11.1.2.1). Here is my complete test case:
    FileUploadTest.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:document title="FileUploadTest.jsf" id="d1">
        <af:form id="f1" usesUpload="true">
          <af:inputFile label="Label 1" id="if1" valueChangeListener="#{TestBean.vcl}"/>
          <af:commandButton text="commandButton 1" id="cb1"/>
        </af:form>
        <af:messages id="m1"/>
      </af:document>
    </f:view>TestBean.java:
    package view;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.share.logging.ADFLogger;
    public class TestBean
      private static final ADFLogger _LOG = ADFLogger.createADFLogger("view.TestBean");
      public TestBean()
      public void vcl(ValueChangeEvent valueChangeEvent)
        _LOG.severe("in the value change event");
        FacesContext ctx = FacesContext.getCurrentInstance();
        FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "This is a message", "Message");
        ctx.addMessage(null, fm);
    }adfc-config.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean id="__1">
        <managed-bean-name>TestBean</managed-bean-name>
        <managed-bean-class>view.TestBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
    </adfc-config>John

  • Prb display error message while creating PR at ME51n in ME_PROCESS_REQ_CUST

    Hi All,
    I have this requirement to check the cost center availability in PR screen (ME51n).
    If cost center in the Account assignment tab is not empty, display error message  and not able to create the PR.
    With my code below, it doesn't triggered the error message and PR created.
    Could anyone help?
    METHOD if_ex_me_process_req_cust~process_account.
    DATA: w_account_ref TYPE exkn.
    w_account_ref = im_account_ref->get_data( )
    IF w_account_ref-kostl IS NOT INITIAL.
      MESSAGE e303(ME) WITH text-001 w_account_ref-kostl text-002.
    ENDIF.
    ENDMETHOD.
    Thank you.
    SW

    Hi,
    You have to use definition MMPUR_MESSAGE 'E'  ME 303   text-001 w_account_ref-kostl text-002.
    This will throw the error during check and save instead of message e303(me) .
    Hope it helps.
    Sujay
    Edited by: Sujay Venkateswaran Krishnakumar on Oct 5, 2010 2:54 PM

  • How to display a modal message while processing in a thread.

    I have difficulty in display a modal dialog while in processing in a background.
    I have created the following class.
    package fedex.screen.component;
    import java.awt.*;
    // This infobox is a modal dialog which display static text and stay
    // on screen without blocking proceeding code from execution and can
    // only close by issuing close method.
    public class ProcessInfoBox implements Runnable
         // Display dialog box
         private InfoBox dialog = null;
         // Thread to enable showing of Dialog Box
         private Thread thread = new Thread(this);
         // Determine if to close dialogbox
         private boolean isFinish = false;
         public ProcessInfoBox(Frame frame) {
              dialog = new InfoBox(frame,"Performing Operation","Processing...");
    thread.setPriority(Thread.MAX_PRIORITY);
         public void setTitle(String title) {
              dialog.setTitle(title);
         public void setText(String text) {
              dialog.getMessageLbl().setText(text);
         // The reference return will be ProcessInfoBox.InfoBox
         public InfoBox getInfoBox() {
              return dialog;
         // Thread method
         public void run() {
              dialog.setVisible(true);
              // If true return from thread and exit.
              while ( isFinish == false )
                   try
                        Thread.sleep(500); // 500 msec
                   catch ( InterruptedException e )
         // Start showing dialog
         final public void show() {
              thread.start();
              isFinish = false;
         final public void hide() {
              isFinish = true;
              dialog.setVisible(false);
         // Dialog box which show text.
         public class InfoBox extends Dialog
              private Label messageLbl = new Label("Processing ...");
              public InfoBox(Frame frame, String title, String message) {
                   super(frame,title,true);
                   initInfoBox();
              public Label getMessageLbl() {
                   return messageLbl;
              private void initInfoBox() {
                   setLayout(new BorderLayout());
                   add(messageLbl,BorderLayout.CENTER);
                   setSize(250,150);
    FormUtility.centerForm(this);
         public static void main(String[] args) {
              Frame frame = new Frame("BigMac");
              frame.setSize(600,600);
              frame.setVisible(true);
              ProcessInfoBox box = new ProcessInfoBox(frame);
              box.show();
              for ( int i = 1; i < 10000; i++ )
                   System.out.println(i);
              box.hide();
    To test the code I used the following section to test
    The main method in the class is used. In the simple
    example, the message did correctly update itself while
    i is increment. However, when I try on more complex
    application, the message just stalk there without
    updating itself as it is hanging.
    I have try to set piority to highest but without effect.
    Is there anything to rectify the situation
    thank

    The "please wait" dialog is a modal dialog. When u
    show it, the following code can not executed!
    That's the problem

  • Want to show a "Please Wait" message while processing

    Hi,
    I'm developing an image-processing tutorial applet where the user selects an image and then sets some parameters before pressing an update button which will run a JPEG compression on the image and show the compressed image.
    The compression takes a few seconds, so I want the program to show an image saying "Please wait" in the position that the compressed image will appear while the compression is done.
    Here is the relevant code:
    public void paint (Graphics g) {
      if (updating) {
        updating = false;
        g.setColor(getBackground ());
        g.fillRect(575, 370, 250, 250); //clear the area where the image will appear
        g.setColor(Color.white);
        g.drawImage(updatingImg, 575, 370, 250, 250, this); //updatingImg just displays a "Please Wait" message
        doImage = true;
      if (doImage) {
        doImage = false;
        //perform the compression to get the new image and then show it
        newImg = imagetest.compressImage(origImg, quantizationMat);          
        g.setColor(getBackground ());
        g.fillRect(575, 370, 250, 250);
        g.setColor(Color.white);
        g.drawImage(newImg, 575, 370, 250, 250, this);
    public void actionPerformed(ActionEvent evt) {
      if (evt.getSource() == update){
        //perform some error checking
        if (errorFound == false){
          updating = true;
          repaint();
    }The problem is that the "Please wait" image never gets shown.. while the compression is carried out that part of the screen remains blank and then the new image is shown.
    Can anyone tell me how to fix this?
    Thanks.

    Never mind, I've figured it out.. needed to put the time consuming code in a new thread.

  • Display a message while loading using EMBED tag

    Hi
    I am using an Embed tag to pull a pdf from the backend. the pdf files are huge so it takes time to load and I want a loading message to be displayed till the form is completely loaded, so i am using onload attribute of Embed tag, but i dont think its firing because i still see the "loading" message even after the page has loaded...
    Can any one help me plzzz...

    Hi,
    Try using the FM  
    Increase the percentage for each loop        
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
                  EXPORTING
                    PERCENTAGE = 50
                    TEXT       = text-025.

  • How can you display interim messages while procedure running

    How can you show messages after every step via SQLPLUS(ex: a procedure) while it's running rather waiting it to complete??? (Not using temp tables)
    EX: a procedure has 5 steps. I want to see message as soos as step-1 completed, then Step-2 and so rather waiting untill at th end of procedure.

    Check out [DBMS_APPLICATION_INFO|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_appinf.htm]

  • Update Control message while processing VL10*

    When processing VL10A or VL10B in 'Background' a random 'Update Control' message will break on the screen. Pressing F3 will Esc this 'break' and continue with the process. I am unable to determine why this error is breaking on the screen and which orders are not getting deliveries created. Has anyone come across this before? and how did you resolve/fix the error? I am unable to find a OSS Note on this.
    Thank you Janelle

    Does this message has a class and a number (e.g. V2 100)? If so, you could set up a watchpoint in debugger for it and see where it appears...

  • Displaying error message while entering selection screen fields

    Moderator message: don't offer points
    hi experts...
    i generated a report.
    in that report, the selection screen fields are plant and material type..
    now my rqmt  is like this :
    if user enters any plant except '8210' in  the selection screen, then a pop up should appear like.. enter 8210 plant only, and the cursor should remain in the same screen allowing user to enter correct plant.
    and then same with the case of material type also..user should enter 'mcfe' material type only..
    im using message classes like this:
    if so_bwkey-low ne '8210' or so_bwkey-high ne '8210'.
      message i000(zts).
      endif.
    if so_mtart-low is not initial and so_mtart-high is not initial and so_mtart-low ne 'mcfe'
       or so_mtart-high ne 'mcfe'.
      message i001(zts).
      endif.
    with this logic, when i enter plant..it is prompting
    1) enter plant 8210 only..
    and then when i press enter key it is again prompting
    2)enter material type mcfe only..
    but iam not entering material type here..
    i want to get 2nd error message if and only if i enter material type..
    help me regarding this issue..
    <<text removed>>
    thanks in advance,
    harini.
    Edited by: Matt on Feb 9, 2009 10:14 AM

    Hi,
    Use Error type message in SELECTION SCREEN EVENT.It will place the cursor in the relevant Field.
    At SELECTION-SCREEN ON SO_BWKEY-Low.
    if so_bwkey-low ne '8210' .
    message E000(zts).
    endif.
    At SELECTION-SCREEN ON SO_BWKEY-HIGH.
    if  so_bwkey-high ne '8210'.
    message E000(zts).
    endif.
    At SELECTION-SCREEN ON so_mtart-LOW.
    if so_mtart-low is not initial and  so_mtart-low ne 'mcfe' .
    message E001(zts).
    endif.
    At SELECTION-SCREEN ON so_mtart-HIGH.
    if so_mtart-high is not initial 
    and so_mtart-high ne 'mcfe'.
    message E001(zts).
    endif.
    This will resolve the issue..
    Regards,
    Gurpreet

  • Error Message while processing in invoice verification

    I am getting a error message as  " Address doesn't exist 22983".
    Can someone let me know why it is coming and how to rectify it?

    The address was already present. There was use of t code SM34 by a user which has made modification in the plants and vendors. And now when I try to open the change vendor transaction, there is a runtime error.

  • Mysterious message while processing PO in SRM 4.0

    Hi
       We have a proxy communication between SRM 4.0 and XI 3.0 setup inorder to send out approved POs to vendors from SRM through XI.
    The SRM business system has been setup in the SLD with the proper logical system name attached to the business system defn on the SLD -depicting the backend SRM system. The SLDCHECK done from the SRM system works fine and returns the name its entry from the SLD. The entries in SLDAPICUST also looks fine.
    When we try to send out a PO from the SRM system - we get the following error message :
    <b>An SLD system has not been assigned to logical system QBHCLNT180</b>
    Any idea as to what we are missing here ?

    Hi
       Thanks for your quick response. Yes, SRM system's logical name was there in the SLD' entry of the SRM business system . There is no problem in the SLD entry for the SRM business system.
    For some strange reason, SAP has provided a configuration mapping between the SRM logical system and its business system name - this mapping entry has to be maintained as a part of the SRM config ( SPRO -->)why ?? why do we have SLDCHECK, SLDAPICUST etc - inorder to facilate SRM box accessing the central SLD ??
    Anyway , that backend mapping is being referred when the PO is sent out - inorder to for the SRM system to get its business system name - to be passed on the outbound proxy message header....

  • How to display a message on status bar while an LOV is active?

    Hi,
    Can any suggest me that how can I display my custom message on the status bar of my form, while an LOV is displayed on the screen.
    I populate an LOV in an Item in the form. I need my status bar to display a message while my LOV is Displayed and also this message to be there on the screen when we moves between the records on the LOV.
    This can be partially achieved by 'message' built-in, but the text message so displayed disappears as soon as u move between the records displayed by the LOV.I want this to be retain there even when we move between records(the data displayed in the LOV) in LOV.
    Can anyone suggest the solution?
    Many thanks in advance.
    Cheers
    Naresh

    hi i am not sure about displaying the information on status bar , what i feel is u can do something like this.
    take one display item which shud be non database item and u can assign the message u want to display to this display item when ever u navigate thro' records.
    i hope this can solve ur problem
    thanks and regards
    chaitali

  • Error while processing csv file

    Hi,
    i get this messages while processing a csv file to load the content to database,
    [SSIS.Pipeline] Warning: Warning: Could not open global shared memory to communicate with performance DLL;
     data flow performance counters are not available.  To resolve, run this package as an administrator, or on the system's console.
    [SSIS.Pipeline] Warning: The output column "Copy of Column 13" (842) on output "Data Conversion Output" (798) and component
     "Data Conversion" (796) is not subsequently used in the Data Flow task. Removing this unused output column can increase Data Flow task performance.
    can someone please me with this.
    With Regards
    litu Here

    Hello Litu,
    Are you using: OLEDB Source and Destination ?
    Can you change the source and destination provider to ADO.NET and check if the issue still persist?
    Mark this post as "Answered" if this addresses your question. 
    Regards,
    Don Rohan [MSFT]
    Regards, Don Rohan [MSFT]

Maybe you are looking for

  • One download link for 2 diffferent reports on a Dashboard page Obiee 10g

    Hi All, I have a requirement where in I have 2 different report in 2 sections on a Dashboard page. Is it possible to have a single download link so that the user downlaods the 2 reports by clicking on a single button. At present we are having 2 downl

  • Apple calendar not synching in iTunes

    Aloha, Upgraded iTunes to 11.1.2 last week.  Upgraded to Maverick's yesterday.  I had not noticed until this morning that I no long can select how my Calendar updates when connecting either my iPhone or iPad to iTunes.  Neither is updating after chan

  • Add User Input in Email Notification Template

    Hi all, I'm new to SM and in need of anyone's assistance. I've created a service request and in the template under User Input, I have it requesting the "New Users Name" and the "Start or Termination Date". I'd like to add these 2 inputs into my Email

  • Authorising a computer that's not on line?

    How can I authorise an ordinary Windows computer to play purchased music, when that computer is not on line? Thanks, BC

  • How to add a product to my support profile?

    Hi I have an iPhone and Macbook Pro. When I looked at my Support Profile, I just saw the iPhone registered. When trying to add the serial number of my MBP, it asks me the exact date of purchase. I really can't remember exactly when I bought it ( I ju