Function module to display % complete message

Many moons ago I remember seeing a fn module that can display the % complete message as a 'S' type message. Can't seem to find it now. I need to know the name of the fn module.
Thanks.
Rohan

Hi Nir,
U can refer to ABAP FAQ..
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/library/uuid/840ad679-0601-0010-cd8e-9989fd650822
It has an example of the same ...
Showing a progress bar in ABAP
This process is very easy but a lot of programmers don't know how to do it. You just have to call the ABAP FM SAPGUI_PROGRESS_INDICATOR, at the appropriate points.
Below is a simple example, give it a try !!
REPORT zdany_progress_bar.
DATA: percentage_text TYPE c LENGTH 5.
DO 100 TIMES.
    WAIT UP TO '0.5' SECONDS.
    percentage_text(3) = sy-index.
    percentage_text+3 = '%'.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
        percentage = sy-index
        text = percentage_text.
ENDDO.
Regards,
Tanveer.
<b>Please mark helpful answers</b>

Similar Messages

  • RFC Function module-With Only Request message

    Hi
    i need a RFC with only Request message and Response message is not required.
    please help me, how to create a RFC function module with out Response message, and it should contain only Request message.
    i have created RFC in this way:
    RFC doesn't contain neither import nor export parameters. and i have defined one table in TABLE tab which refers to a ztable created already.
    when i imported RFC into XI i came to know that RFC has both Request and Response messages, but i don't need Response message.
    Thanks in advance..help would be appreciated
    Regards,
    Rajesh

    Thankx Michal,
    I have written ZRFC this way:
    insert ZMM_AUTO_GR from INPUT_TABLE .
      if sy-subrc = 0.
        commit work.
      else.
       rollback work.
    im not using neither import nor export parameters..but using only tables parameters. but when imported in XI im getting same table  structure in both request an response.
    please suggest what changes required in above code to invoke my ZRFC in async way.
    you will not get any response in XI- what chages required in my code to dnt get .reponse in XI.
    appreciate your help.
    Regards,
    Rajesh.

  • Function module for displaying the location

    Hi,
          Could anyone tell  the Function module for displaying the location in our system  without a  file name while downloading, when the user press f4.
    thanks

    * read the default pathname on application server
      call function 'FILE_GET_NAME'
           exporting
    *           CLIENT                  = SY-MANDT
                logical_filename        = lc_logical_filename_ftappl
                operating_system        = sy-opsys
    *           parameter_1             = ' '
    *           PARAMETER_2             = ' '
    *           USE_PRESENTATION_SERVER = ' '
    *           WITH_FILE_EXTENSION     = ' '
    *           USE_BUFFER              = ' '
           importing
                emergency_flag          = l_emergency_flag
                file_format             = l_file_format
                file_name               = l_file_name_ftappl
           exceptions
                file_not_found          = 1
                others                  = 2.

  • Function Module to display Campaign

    Dear SAPiens,
    I need a Function Modul, which displays the campaign.
    In my Report I have the GUID or the Object ID of the campaign.
    Regards,
    Ahmet

    The solution
        DATA lv_cpg       TYPE REF TO cl_crm_mktpl_application.
          CREATE OBJECT lv_cpg.
          CALL METHOD lv_cpg->start_application
            EXPORTING
              im_select_object = l_f_guid
              IM_MODE          = 'D'.

  • Function module to display the time and date in the report-sy-udate And s

    Hi.
    wish to have a function module which can display the system time and date through function module.
    the format that this function module should display should be like this:
    if its today-date and time then:
    05-Jan-08 01.25.57 PM
    please note that i want them to be in one single row in the top-of page
    kinldy help on this.
    thanks!

    hi,
    check this.
    https://forums.sdn.sap.com/click.jspa?searchID=19175181&messageID=4628668
    Thanks

  • Function modules to display graph in a container

    Hi,
       Can anyone suggest me is there any other function module to display graph in a container other than "GFW_PRES_SHOW_MULT"  why because when I am displaying the graph using that function module I am getting boxes in the graph display which is not needed so please send me other function module or tell me whether there is any way to remove the boxes in the graph at the time of display by using the same function module given above.
    Thanks in Advance.
    Bhushanam.

    Hi,
    To add a graphics functionality to ALV Grid;
    1. Add a user button on the ALV Grid control, utilizing "toolbar" event and "set_toolbar_interactive" methods of the class "cl_gui_alv_grid".
    2. As the function of this button, your routine should use GFW objects or "GRAPH_MATRIX..." function modules to display your graph. You implement your routine at the event "user_command".
    Additionaly, you can have a look at this
    SAP Graphics Help
    http://help.sap.com/saphelp_46c/helpdata/en/a1/d9883672d57c73e10000009b38f889/frameset.htm
    data: begin of i_tab occurs 0,
           name(5) type c,
           value   type p,
          end of i_tab.
    i_tab-name = 'SAP'.
    i_tab-value = '40'.
    append i_tab.
    clear  i_tab.
    i_tab-name = 'MSN'.
    i_tab-value = '30'.
    append i_tab.
    clear  i_tab.
    i_tab-name = 'CNN'.
    i_tab-value = '27'.
    append i_tab.
    clear  i_tab.
    i_tab-name = 'ABC'.
    i_tab-value = '56'.
    append i_tab.
    clear  i_tab.
    call function 'GRAPH_2D'
    EXPORTING
        TYPE                     = 'PI'
        TITL                     = 'My Graph'
      tables
        data                     = i_tab
    EXCEPTIONS
       GUI_REFUSE_GRAPHIC       = 1
       OTHERS                   = 2
    if sy-subrc <> 0.
    endif.
    Also,Check the fun modules
    GRAPH_2D Calling up the 2D business graphics
    GRAPH_2D_MENUE DO NOT USE (use 'GRAPH_2D' and 'GRAPH_BUSG_MENU_SET')
    GRAPH_3D Calling up the 3D presentation graphics
    GRAPH_BUSG_COLOR_SET Definition of color pallets for business graphics
    GRAPH_BUSG_MENU_SET Pushbutton menu (tool bar) for all BUSG modules
    GRAPH_MATRIX Calling up SAP Business Graphics (2D, 3D and 4D)
    GRAPH_MATRIX_2D Calling up the 2D graphics (user-friendly version)
    GRAPH_MATRIX_3D Structure of 3D graphics (user-friendly version)
    GRAPH_MATRIX_4D Calling up a 3D graphic (4th dimension stacked representation)
    Regards,
    Padmam.

  • Function Module output display

    HI Frnds,
         When I am calling the function module and displaying the output the column name is displayed as field name but my requirement is to diplay the field description of that field how to do it tell me
    Thanks in advance
    Y.Ravikumar

    hi,
    if you are displaying using ALV.
    then in fieldcatalog you can use .
    d_fieldcat_wa-fieldname = 'MATNR'.
    d_fieldcat_wa-seltext_l = 'material number'.   * user defined fieldname.
    d_fieldcat_wa-edit = 'X'.
    d_fieldcat_wa-col_pos = 1.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    data : gd_repid like sy-repid.
           gd_repid = sy-repid.
    call function module reuse_alv_grid_display.
    exporting.
    program name = gd_repid.
    t_fieldcatalog = d_fieldcat.
    importing.
    t_outtab = itab.
    exceptions.
    Reward with points if helpful.

  • Function module to display message

    Hi,
    I want a function module in ECC60 Unicode system which can display given Error message in status bar, and stop the processing.
    Thanks,
    Shivaa.....

    Try MESSAGE statment with addition DISPLAY LIKE.
    Like:
    message 'Test' type 'E' display like 'S'.
    Regards,
    Naimesh Patel

  • Table or function module from for complete physical file path?

    Hi All,
    I know the Logical file and Logical path name, i can see the complete path also from logical path name i.e. the physical file address through transaction FILE, e.g. /USR/TMP/ , but i want to display this path in one of the report output,
    so please help me with the table or the function module which can give me the complete physical file path.
    I checked the the table ADMI_FILES but it contains the file name or the Logical path name but the complete physical file address e.g /USR/TMP?, like this is not available. More over i tried function module file_get_name, still the physical address is not correct one, it is giving same address for all logical paths.
    Kindly Guide me for this
    Regards,
    Nikesh Kumar

    try sth like this:
        CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH'
          EXPORTING
            LOGICAL_FILENAME = LDS_NAME
                IMPORTING
            FILE_NAME        = sfile
            LOGICAL_PATH     = pth
          EXCEPTIONS
            FILE_NOT_FOUND   = 01.
        IF SY-SUBRC NE 0.
          MESSAGE E300(BD) WITH LDS_NAME.                         " TODO MG
        ENDIF.
                                                                                    SELECT single PATHEXTERN FROM path INTO expth
               where pathintern = pth.
        replace '<FILENAME>' with space into expth.
        concatenate expth '/' sfile into sfile.
        open dataset sfile for output in text mode encoding default.
    A.

  • ABAP Function module for Display amount in word

    Dear all,
                Suppose amount is 100 and currency is USD then text display like 0ne hundred dollar. and suppose amount is 100
    and currency is INR then text display like One hundred rupees.can you please suggest me what is the function module to used in smart forms.
    Thanks and Regards,
    Raheem.
    Moderator Message: THE MOST FAQ question in SCN forums. And you never bothered to search.
    Edited by: kishan P on Mar 1, 2012 2:19 PM

    fm SPELL_AMOUNT

  • Function module to display the programe name , title, linesize..etc

    hi Guru's,
    My requirement is to create a fuction module  for displaying the classical report header and footer.
    in header i need Program Name,Program Title ,page no, date , time , user..
    Can any one provide me with function module.
    cheers,
    kumar.

    hi,
    you can make this type of FM or take help from this...
    CALL FUNCTION 'Z_Z00_STD_HEADER'
           EXPORTING
                line_size           = sy-linsz
                listtitle           = sy-title
           EXCEPTIONS
                mandt_not_found     = 1
                line_size_too_small = 2
                OTHERS              = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                 
    FUNCTION Z_Z00_STD_HEADER.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(LINE_SIZE) DEFAULT 80
    *"     REFERENCE(LISTTITLE) DEFAULT SPACE
    *"     REFERENCE(PARAM1) OPTIONAL
    *"     REFERENCE(PARAM2) OPTIONAL
    *"  EXCEPTIONS
    *"      MANDT_NOT_FOUND
    *"      LINE_SIZE_TOO_SMALL
      data : pos_center1(3) type n,
             pos_center2(3) type n,
             pos_right1(3)  type n,
             pos_right2(3)  type n,
             tit_len type i.
    Table to store the client name
      DATA iT000 type T000.
    Clear Internal Table
      CLEAR it000.
    Get client name from the T000 table
      SELECT SINGLE MANDT MTEXT INTO iT000 FROM T000
             WHERE  MANDT  =  SY-MANDT.
      IF SY-SUBRC NE 0.
        RAISE MANDT_NOT_FOUND.
      ENDIF.
      if line_size < 75.
        raise line_size_too_small.
      endif.
    Initialize values of the position counters
      pos_center1 = ( LINE_SIZE / 2 ) - 5.
      pos_right1 = LINE_SIZE - 19.
      pos_right2 = LINE_SIZE - 12.
      tit_len = strlen( listtitle ).
      pos_center2 = ( LINE_SIZE / 2 ) - ( tit_len / 2 )  - 1.
    Write the standard header
    First Line
      uline at (line_size).
    Second Line
      WRITE:            /3 text-010,                 "Report Text
                        12 sy-cprog.   "PERIASAS on 19/04/2004
      WRITE AT pos_center1  iT000-Mtext.
      WRITE AT pos_right1   text-006 RIGHT-JUSTIFIED. "Date Text
      WRITE AT pos_right2  sy-datum RIGHT-JUSTIFIED.
    Third Line
    WRITE:            /3 text-009,                 "Report Owner
                       10 sy-uname.
      WRITE  AT  /3 param1.      "PERIASAS on 19/04/2004
      WRITE  AT  pos_center2 listtitle.
      WRITE  AT  pos_right1  text-007 RIGHT-JUSTIFIED. "Time Text
      WRITE  AT  pos_right2 sy-uzeit RIGHT-JUSTIFIED.
    Fourth Line
      WRITE  AT  /3 param2.   "PERIASAS on 19/04/2004
      WRITE AT  pos_right1  text-008 RIGHT-JUSTIFIED.  "Page Text
      WRITE AT  pos_right2  sy-pagno RIGHT-JUSTIFIED.
    Fifth Line.
      uline at (line_size).
    ENDFUNCTION.
    with regards
    Lokesh
    Edited by: Lokesh Tripathi on Oct 16, 2008 12:32 PM

  • Function modules used in process message categories

    Hi Gurus,
    in process message characteristics, we need to assign the function modules. please advise is there any place (sap system or any website) where we can find all the function modules which are used in pi sheets? i want to know function modules and their uses or how to use them in pi sheets? if i want to develop new function modules, what should be the criteria, please guide me. thank you for the support.

    Hello
    In addition, on transaction O13C you will find the process message categories and which message destination is assigned to each category.
    Here is the documentation of the message categories:
    Predefined Process Message Categories - PP - PI-PCS Interface: Linking of Process Control Systems - SAP Library
    BR
    Caetano

  • Function module for display production order details

    Hi All,
           I want to display production order details including operation,sub-operations and components using standard FM.I checked 4 FMs, but some are not displaying my require details. I found PM_ORDER_DATA_READ function module, it is displaying all details.But you can execute the function module 2 times for different orders it is giving ABAP dump 'itab_error'. Please get back to me if any one faced this problem or know solution.I am also checked BAPI_ALM_ORDER_GETDETAIL FM.
    My require fields are
    AUFNR, WERKS, PLNAL, PLNFL, VORNR,UVORN, ARBPL, KTSCH,
    LTXA1,OFFSTB,VGW01 etc.
    I am using SAP 4.7 release. Please send me either standard FM or BAPI to display all details of production order.
    Thanks in Advance
    Shaik Basha

    Hi,
    I had the same problem this morning and I found out a FM you have to run to fix this problem.
    FM: CO_IT_SET_FLG_ITAB_NEW
    Rgds,
    Parise

  • Function Module to send SOAP message

    Is that possible to use function module to send out SOAP message from CRM to external system?
    Thanks a lot in advance

    Hello Rokie,
    Please go through these links.
    http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm
    regards,
    Muralidhar Prasad.C

  • Function module to display process overview log from SM66 Transaction

    Hi,
    I want to display process overview log from SM66 Transaction in a report.
    Is there a function module which will help me in achieving that or is there any other method.
    Thanks in advance,
    Sandeep.

    Did you try finding out how SM66 creates the list? You could set break-points e.g. at statement "call function" and see which ones are being called. Look at those starting with TH... especially.
    Thomas

Maybe you are looking for

  • JHeadstart and ADF Faces

    Oracle annunce EA for ADF Faces. Would new version of JHeadstart use it or stay aligned with JSP and full UIX support?

  • International product pricing

    I have been a loyal customer of Photoshop CS for years now, and religiously buy every upgrade. I live in Spain but use an English OS, and therefore always buy English language versions. When I saw that CS6 was available I went to the main Adobe.com w

  • Unity Connection 8.6 accessing/uploading custom messages

    I would like to create a custom auto attendant script / audio text application in Unity Connection but I am having difficulty understanding how I upload or add my custom pre recorded messages to unity connection so that I can access in the call handl

  • MB90 print out and their plant relation

    Hello dear friends, I have copied a new plant from current plant. When I create any movement for current plant I can dislay their print outs from MB90. But when I create new movement in new plant. I couldn't display print out. I gave VN108 error. I a

  • Coldfusion Capabilities - EPOS

    Hi, I know it would be unconventional to use a web interface as EPOS software, but imagine for a moment we are... Are there ways to communicate with the serial port to open a cash drawer, or print to a serial receipt printer. Also will need to print