How to Create Progress Bar in SAP

Hi!
        I need to know how to create a progress bar in Sap Business One with VB.Net to Show  a Scheduling Status.

Hi Parag,
The code you need to create a progress bar is:
Dim Progress as Integer
Dim oProgressBar As SAPbouiCOM.ProgressBar
oProgressBar = oApplication.StatusBar.CreateProgressBar("YOUR_TEXT", oRecordset.RecordCount, True)
oProgressBar.Text = "YOUR_TEXT"
and for each record:
Progress += 1
oProgressBar.Value = Progress
When all is finished
oProgressBar.Stop()
Regards,
vanesa

Similar Messages

  • How to create progress bar?

    pls,can anyone tell me? how to create progress bar?
    thanks,
    screen410099

    it is well documented how to create progressbars on page 173 in Solutions.pdf
    also you can find sample code in InDesign SDK\sources\sdksamples
    Regards
    Bartek

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • How to show progress bar in miniplayer?

    How to show progress bar in miniplayer? I play a lot of music podcasts and it would be very helpful if anyone could help me bring that feature back.

    i answered here:
    http://forum.java.sun.com/thread.jspa?messageID=9739423&#9739423

  • How  to  create an infotype in sap ecc6.0 ?

    Hi all,
    I know i how to create an infotype   in   sap 4.7, but i am facing the problem while
    creating an infotype in sap ecc6.0 version. could u plz provide me  the info with screen shots how to create an infotype and how to enhace that infotype ?
    Waiting for u r response.
    Regards,
    Ravi

    Hi ,
    To create OM infotype:
    1. Go to SE11 and create a structure HRI9XXX (9XXX --> name of the infotype). Add the required fields to this structure and save and activate. then come out of it.
    2. Go to PPCI and enter Infotype number (9XXX) and description.
    3. Click create.
    4. In the infotype category select details for the infotype.
    5. Click create button. It should create the infotype.
    6. Click on Check. A window with menu will open.
    7. In that window navigate to Table Entries.
    8. Under table Entries, select T777I and click on change.
    9. It opens SM30. Click on Maintain.
    10. Select the infotype and add information for "Time Constraint" and "Infotype Per Object Type".
    11. Save.
    12. Go back to check menu, see if all entries exist. Do not worry last 5 table entries. And you are done

  • HOW TO CREATE A VARIABLE IN SAP SCRIPT

    HI ALL,
    CAN ANYONE TELL ME HOW TO CREATE A VARIABLE IN SAP SCRIPT.
    THANK YOU,
    BYE
    TAKE CARE.

    Hi Ravi,
    You can use like this
    A text in the editor contains the following DEFINE commands:
    /: DEFINE &mysymbol& = 'xxx xxx xxxxx xxxx'
    &mysymbol&
    /: DEFINE &mysymbol& = 'yyyyy yyy yyyy'
    / &mysymbol&
    The printed text appears

  • Adobe premiere elements 12 - how to create menu bar action for my inserted image button

    adobe premiere elements 12 - how to create menu bar action for my inserted image button without using their movie menu theme

    forbemag
    I do not think that I am completely focused into this completely, so let us see if the following is going to help.
    You are going to need a base for your button. When you mention "image" button, I am assuming that you are using that term to differentiate between a text button and a thumbnail type button.
    The menus (main and scene) take their origin in .psd files on the hard drive and strict nomenclature and structure for Layers Palatte. And, the buttons on the menus trace back to the menu markers on the Timeline, main menu marker and order of placement of scene markers. The scene thumbnail will only appear when there is a scene marker on the Timeline to which it.
    In view of all that
    Where have you already inserted this "image (button)"...into the Layers Palette of a Photoshop document or other? Is this "image (button)" in a structured Layer Group in the Layers Palette with sublayer groups, text layers, graphic/background layer"?
    Let me give you an example
    If you have a button (with thumbnail) on the main menu and you want that to open to a specific scene in your movie, then you use a main menu marker on the Timeline at the spot that you want that button to target.
    If I am getting closer to what you seek, then please further clarify the DVD navigational envisioned scheme.
    Thanks.
    ATR
    Add On...I did not see the exchanges between us and SG until after I had posted mine. I thought that your discussions were concluded. Please excuse the interruption.

  • How to creat purchase register in SAP r/3 system?

    Dear All,
    Please tell me how to creat purchase register in sap R/3 system.

    HI
    I think there is no standard functionality in sap u need to develop with abaper help with proper logic
    if it is for venijula s_alr_87009936  try this t.code
    Thanks & Regards
    Phaneendra
    Edited by: phaneendra Reddy on Jun 12, 2009 9:24 AM

  • Proceedure of how to create a logo in SAP R/3

    Dear Techie's,
    Please tell me the Proceedure of how to create a logo in SAP R/3 and how to include in the ALV.
    I suppose its to be included in the ALV_comentary_write function module.
    Please guide me in full.
    Regards,
    -=Virendra=-

    HI,
    Please follow below steps
    (1)Create a class name
    SBDSV1 (TRANSACTION) --> New Entries --> Class name (SOME NAME) --> Class type (OT).
    2)After entering the above details and saving, the fields Class object name fields   will be blank, make entries as shown  below .
    1)     Class : BDS_LOC1
    2)     Class : BDS_POC1
    3)     Class : BDS_REC1
    4)     Object name : BDS_CONN00
    3)- Now next time logging in to OAOR you can directly refer to this Class name.
    4)1)     Go to transaction OAOR, give the class name created.
       2)     Give class type as OT
       3)     Give some name in object key it’s like sub folder
    5) a) Click on create drag down standard doc types will get no. of option chose one
        b) double click on the class name in this new screen.
        c)in the below screen are, you have tabs for  details,documentinfo,keywords,create, click on create TAB,
       d)By double clicking on screen you can browse the folder where image is located and select it
       e)Once the image is selected it will be stored in the folder that is created with object key
    6) now double click on the image you uploaded & in below screen area select the Details tab, you will get object id,use this object id & code as below
    7)form FILL_EVENTS .
    DATA: wa_events TYPE SLIS_ALV_EVENT.
    CLEAR: LS_EVENTS.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       IMPORTING
         ET_EVENTS             = LS_EVENTS
    wa_events-form = 'STD_TOP_OF_PAGE'.
    MODIFY ls_events FROM wa_events TRANSPORTING FORM WHERE NAME =
    'TOP_OF_PAGE'.
    CLEAR: wa_events.
    endform.                    " FILL_EVENTS
    FORM STD_TOP_OF_PAGE.
    DATA: it_listheader TYPE SLIS_T_LISTHEADER,
           is_listheader TYPE SLIS_LISTHEADER.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader[]
         I_LOGO                   = 'ZTEST'  "this is object id mentioned in 6 step
        I_END_OF_LIST_GRID       =
      ENDFORM.
    Regards,
    Raghavendra

  • How to create report writer in sap?

    Hi Anybody,
      I want to create new report writer for finance report for ex: (p & L or balance sheet), i don't know how to create report writer in sap.
    anybody please tell me with example?
    Thanks
    Regards,
    S.Muthu.
    IT Dept.

    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=createreportwriter&adv=false&sortby=cm_rnd_rankvalue

  • How to create a condition in sap

    Hi all,
    How to create a condition in sap
    i want to create a condition in sap quotation. how to solve this issue please give me idea step by step.
    [http://www.4shared.com/document/MQiBd3bP/screenshot.html]
    Thanks & Regards
    Ambrish
    Edited by: ambrish dwivedi on Feb 28, 2011 12:29 PM
    Moderator message: not related to ABAP development, please do some research before asking.
    Edited by: Thomas Zloch on Feb 28, 2011 9:21 AM

    Hello Ambrish,
    Which condition are you talking about ?
    is it the calculation you want to do in ur driver program or kind of routines which are used in Pricing ?

  • How to create user groups in SAP

    Hello Gurus,
    Can anyone let me know how to create user groups in SAP-HR Module and who will be creating  the user groups.
    plz provide me the steps.

    Hi Stephanie,
    IMG --> Personnel Mgmt --> Personnel Administration --> Basic Setting s --> Maintain User Parameters
    Please refer the below links:
    http://scn.sap.com/thread/1653026
    http://scn.sap.com/thread/1682721
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5?QuickLink=index&overridelayout=true&44478681629499
    Thanks,
    Madhav.

  • Sap script '' how to create table frame in sap script"""

    i have some problem in sap script''  how to create table frame in sap script"""

    Hi,
    you can use BOX command..
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
    1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
    3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
    4. FRAME: Thickness of frame.
    Default: 0 (no frame).
    5. INTENSITY: Grayscale of box contents as % .
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    • TW (twip)
    • PT (point)
    • IN (inch)
    • MM (millimeter)
    • CM (centimeter)
    • LN (line)
    • CH (character).
    The following conversion factors apply:
    • 1 TW = 1/20 PT
    • 1 PT = 1/72 IN
    • 1 IN = 2.54 CM
    • 1 CM = 10 MM
    • 1 CH = height of a character relative to the CPI specification in the layout set header
    • 1 LN = height of a line relative to the LPI specification in the layout set header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    check the fallowing link also
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803293454211d189710000e8322d00/content.htm
    Mark the points if u find it useful...
    Regards,
    Omkar.

  • How to create a map in SAP BI???

    Dear SAP BI Experts,
    I have a difficulties to make a map in BI and missed the steps procedure how to create a map.  I have an ESRI CD Map and Arc VIew application.  What is the first step if i want to create a map and is there any procedures or manuals from the beginning "how to create a map in SAP BI" ???
    So sorry for stupid question!!!
    Thank you very much for your time and help.
    Best Regards,
    Rudy (SAP BI Team)

    Hi Nirmansyah,
    Please check the below link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/step-by-step%20procedure%20for%20creating%20customized%20bex%20maps.pdf
    Hope this helps.
    Veerendra.

  • How to create interactive map in SAP Visual Business using SAP UI5 SDK

    Hi,
    Please tell me,
    How to create interactive map in SAP Visual Business using SAP UI5 SDK.
    Is it possible to create interactive map using VB Control in SAP UI5 SDK..?
    if possible please any one let me know.

    Hi folks, one question:
    We have our development close moved and now it is earlier than originally planned. 
    That means that we maybe can't finish our convenient API and you have to wait till we will release it - early 2015 is planned.
    But there is another option:
    Currently we have a API based on json. The developer has to create json and  to transfer it to the Visual Business control.
    This interface is more used as a low level API and we are developing on top the more convenient one. So all the features are the same.
    It will stay stable & compatible in the future and you can build on it.
    Do you want to use this interface?  
    Then I will publish the documentation.
    Let me know.
    Thanks

Maybe you are looking for

  • Camera and ipod shuffle do not show up on desk top when connected

    Kodak camera and ipod shuffle do not show up on desk top when connected.  Trying to download pictures and adding my music to ipod shuffle, Anyone have any suggestions.

  • USB ports going loose.......

    Hi, I have a 2 months old USB modem which i use to connect to internet. I have an HP netbook(1 month old) and a Samsung laptop(2 months old) on which i use the USB modem. Now this USB modem Huawei EC150 has an issue, it fits a bit tightely in the USB

  • What is the use of SMARTFORM_CODE trancaction

    Hi , i trying to find how  exactly SMARTFORM_CODE transaction  will help developers.kindly help me if any one workrd on it. Regards Anwar

  • Making backups of client's website

    Recently I designed, and a freelance colleague produced, a website for a clent of mine. Note: I have very little website production knowledge - my field is print design. This client (who also has little web use knowledge) uses Macromedia Contribute 3

  • Error when to test documents_print.htm in HAP_DOCUMENT

    Hi,     I'am using HAP_DOCUMENT BSP's for Appraisal.I created BSP iview in Portal and it is workin fine for Creation and even am able to see the Appraisals created through documents_created.htm.   When i open a created Appraisal.it is giving me the d