To display the clock in the abap screen

Hi all,
     i am Senthil,Working as programmer analyst .Can any one please tell me How to display the clock in abap screens? Is there any function module available for that or help  me how to do it?
           Thanks in Advance!!!
                                                                                Senthil

dude,
  U can display the clock in the status bar thro process indicator function modules or methods of classes.
If u want to display time in screen, here is the sample coding.
*& Report  ZRPN_SAMP1                                                  *
REPORT  zrpn_samp1.
GET TIME.
WRITE: /01 'Update Number:',  sy-uzeit.
CALL FUNCTION 'zpraveen'
  STARTING NEW TASK 'pr'
  PERFORMING start_refresh ON END OF TASK.
AT USER-COMMAND.
  IF sy-ucomm = 'REFR'.
    sy-lsind = sy-lsind - 1.
    GET TIME.
    WRITE: /01 'Update Number:',  sy-uzeit.
    CALL FUNCTION 'zpraveen'
      STARTING NEW TASK 'IF'
      PERFORMING start_refresh ON END OF TASK.
  ENDIF.
START-OF-SELECTION.
*&      Form  START_REFRESH
      text
     -->TASKNAME   text
FORM start_refresh USING taskname.
The SET USER-COMMAND initiates the communication back to the program
  SET USER-COMMAND 'REFR'.
ENDFORM.                    "START_REFRESH
This works very fine.
Lemme know u could do that by rewarding points.
with regards,
praveen.

Similar Messages

  • Display the main screen

    Hi,
    I'm new in ABAP Community. How do you display the main screen after execution without to pass by screen result?
    Thanks.

    HI
    WRITE :
      / 'Welcome to SDN'.
    LEAVE PROGRAM.
    you execute the above piece of code once with out writing LEAVE PROGRAM. and again  execute the program with LEAVE PROGRAM.
    you can find the difference.
    Regards
    Pavan

  • How to display the output screen when I use bdc.

    hey expert,
    I want to display the output screen when i use bdc without using mode 'A'.
    thank you.

    Hi,
    You can go for mode 'E'.. it will display the output screen directly and if there is any error in the transaction you would get that particular screen and you can correct and continue after which you will get the final screen if anything goes fine...
    check this sample code....
    I had a program if you execute below program it automatically creates a new zprogram.
    REPORT  zprogram_create_recording.
    PARAMETER:
      p_prog    TYPE sy-repid OBLIGATORY,
      p_shtxt TYPE repti OBLIGATORY,
      p_pack  TYPE devclass DEFAULT '$tmp'.
    DATA:
      t_bdcdata LIKE
       STANDARD TABLE
             OF bdcdata.
    DATA:
      wa_bdcdata LIKE LINE OF t_bdcdata.
    REFRESH t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-program    =  'SAPLWBABAP'.
    wa_bdcdata-dynpro     =  '0100'.
    wa_bdcdata-dynbegin   =  'X'.
    wa_bdcdata-fnam       =  'RS38M-PROGRAMM'.
    wa_bdcdata-fval       =  p_prog.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam       =  'BDC_OKCODE'.
    wa_bdcdata-fval       =  'NEW'.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-program    =  'SAPLSEDTATTR'.
    wa_bdcdata-dynpro     =  '0200'.
    wa_bdcdata-dynbegin   =  'X'.
    wa_bdcdata-fnam       =  'RS38M-REPTI'.
    wa_bdcdata-fval       =  p_shtxt.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam       =  'TRDIR-SUBC'.
    wa_bdcdata-fval       =  '1'.
    APPEND wa_bdcdata TO t_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam       =  'BDC_OKCODE'.
    wa_bdcdata-fval       =  'CONT'.
    APPEND wa_bdcdata TO t_bdcdata.
    IF p_pack EQ '$TMP'.
    *local object
      CLEAR wa_bdcdata.
      wa_bdcdata-program    =  'SAPLSTRD'.
      wa_bdcdata-dynpro     =  '0100'.
      wa_bdcdata-dynbegin   =  'X'.
      wa_bdcdata-fnam       =  'KO007-L_DEVCLASS'.
      wa_bdcdata-fval       =  ' '.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'BDC_OKCODE'.
      wa_bdcdata-fval       =  'TEMP'.
      APPEND wa_bdcdata TO t_bdcdata.
    ELSE.
    *package assignment with request
      CLEAR wa_bdcdata.
      wa_bdcdata-program    =  'SAPLSTRD'.
      wa_bdcdata-dynpro     =  '0100'.
      wa_bdcdata-dynbegin   =  'X'.
      wa_bdcdata-fnam       =  'KO007-L_DEVCLASS'.
      wa_bdcdata-fval       =  p_pack.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'BDC_OKCODE'.
      wa_bdcdata-fval       =  'ADD'.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-program    =  'SAPLSTRD'.
      wa_bdcdata-dynpro     =  '0300'.
      wa_bdcdata-dynbegin   =  'X'.
      wa_bdcdata-fnam       =  'KO008-TRKORR'.
      wa_bdcdata-fval       =  ' '.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'KO008-AS4TEXT'.
      wa_bdcdata-fval       =  ' '.
      APPEND wa_bdcdata TO t_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam       =  'BDC_OKCODE'.
      wa_bdcdata-fval       =  'LOCK'.
      APPEND wa_bdcdata TO t_bdcdata.
    ENDIF.                                 " IF P_PACK EQ '$TMP'
    CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'E'.
    Hope this would help you..
    Regards
    Narin Nandivada

  • To display the selection screen variant name in WAD report output.

    Hello experts,
    I have a requirement which is to display the selection screen variant description in the output of the WAD report.
    I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
    Example:I have created a cost center report created using WAD, since I need some graphical displays..
    In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
    Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
    Thanks in advance
    KS

    Hi,
    Try this.
    If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
    TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
    Save and execute your WAD now you can get your variable screen.
    Thanks,
    JituK

  • Why won't my Apple TV display the setup screen?

    Why won't my Apple TV display the setup screen? I have changed hdmi cable, confirmed the correct input, checked connection but nothing. HELP!!! I have a Bose System and use a universal remote, Logitech. Could this be a factor?

    Welcome to the Apple Community.
    What exactly does your Apple TV display.

  • How to display the selection screen fields for selected checkboxes

    Hi all,
             I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
    and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
    Thanks
    sriman.

    hi,
    Try this code
    report z_13317_sdn2.
    tables : mara, marc, dd03l.
    parameters : p_chk1 as checkbox user-command ABC,
                 p_chk2 as checkbox user-command PQR,
                 p_chk3 as checkbox user-command XYZ.
    select-options : s_matnr for mara-matnr modif id A,
                     s_ersda for mara-ersda modif id A,
                     s_werks for marc-werks modif id B,
                     s_lvorm for marc-lvorm modif id B,
                     s_tab for dd03l-tabname modif id C.
    data: v_chk1,
          v_chk2,
          v_chk3.
    at selection-screen output.
      loop at screen.
        if screen-group1 = 'A' or
           screen-group1 = 'B' or
           screen-group1 = 'C'.
            screen-input = 0.
           modify screen.
        endif.
      endloop.
      loop at screen.
        if v_chk1 = 'X'.
          if screen-group1 = 'A'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk2 = 'X'.
          if screen-group1 = 'B'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk3 = 'X'.
          if screen-group1 = 'C'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
      endloop.
    at selection-screen.
      if sy-ucomm = 'ABC'.
        if v_chk1 = ' '.
          v_chk1 = 'X'.
        else.
          v_chk1 = ' '.
        endif.
      endif.
      if sy-ucomm = 'PQR'.
        if v_chk2 = ' '.
          v_chk2 = 'X'.
        else.
          v_chk2 = ' '.
        endif.
      endif.
      if sy-ucomm = 'XYZ'.
        if v_chk3 = ' '.
          v_chk3 = 'X'.
        else.
          v_chk3 = ' '.
        endif.
      endif.
    Regards,
    Sailaja.

  • How to display the selection screen with icons as well as with text element

    How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..

    Report zex33.
    type-pools: icon.
    selection-screen begin of line.
    selection-screen comment 1(20) text_001.
    parameters: p_werks type marc-werks.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_002.
    parameters: p_whouse(10).
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_003.
    parameters: p_auart like vbak-auart.
    selection-screen end of line.
    initialization.
      write ICON_PLANT  as icon to text_001.
    concatenate text_001 text-001 into text_001 separated by space.
      write ICON_WAREHOUSE  as icon to text_002.
    concatenate text_002 text-002 into text_002 separated by space.
      write ICON_ORDER  as icon to text_003.
    concatenate text_003 text-003 into text_003 separated by space.

  • HTML Client: How to display the edit screen of an item given its ID?

    To edit a selected item, I could easily add a new button on the command line and choose the existing method, "editSelected"
    But how to edit another item instead of the selected item? Like How to edit an item whose ID # is 10? i.e How to display the edit screen for an item with ID # 10?

    The methods such as 'editSelected' apply to screen property collections. Picking these pre-selected options automatically configure the parameter as '<my-collection>.selectedItem'.
    If you want an action not directly related to the screen properties then you can choose one of the screen commands under the 'Navigation' list starting with 'show', as in 'show<my-screen-name'. If the screen command accepts parameters then you can
    configure the parameter passing manually. In your example, if you added a local 'int' data property to the screen you could assign the ID to that and bind the parameter passed to the screen to that.
    In the instances when not even that is sufficient, well then you write your own custom method.
    Dave
    Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

  • Display the webdynpro screen in two languages?

    Hi Gurus,
    I have requirement to display the webdynpro screen in two language(English & Arabic)
    what is the steps involved to achieve this requirement.

    Hallo Dharani,
    NOTE: you cannot switch the session locale of a running Web Dynpro Java application in the same browser window. The only solution is to start a new Web Dynpro application "from scratch" by executing a  new browser instance NOT "browser window" instance. So with Browser -> File menu -> new window you will keep the same session locale even when passing another locale-parameter with the URL-param sap-locale. Sorry, but this is an unsolved restriction in Web Dynpro.
    Regards, Bertram

  • Display the Welcome screen when Photoshop CC starts up?

    I have researched and found lots of incidences where people want to keep the Welcome screen from displaying but I am want it to display and it will not.
    The checkbox under Edit>Preferences>General that says "Do Not Show Welcome Screen on Launch" is unchecked. I have tried checking that box saving, then unchecking saving again and restarting Photoshop. I have tried uninstalling Photoshop twice, once saving my preferences, the second time discarding my preferences and re-installing. Still no Welcome screen at launch. I have read that there is an option under Help>Welcome... to reopen the Welcome screen. I do not see that option and believe that is on the Mac only.
    By the way the Welcome screen opens/works perfectly in Illustrator CC 2014.
    I am running a Windows 7 PC with the latest version of Photoshop CC 2014.
    Anyone have any ideas?
    Thanks!

    I believe you have an installation problem.  Others have had problems  with the Welcome Screen and I had a problem after the 15.2.2 update.  Others were not able to Play the video tutorials from the welcome window.  Photoshop seems to use CEPHtmlEngine.exe to display the Welcome screen.  The CC 2014.2.2 update installed on my machine without a problem.  CC 2014 worked and I had turned off the welcome screen.  However I did not have the new Photoshop CC 2014 preference Do not show Welcome Screen on launch and when I tried to use menu Help>Welcome I received a popup error stating Photoshop could not start the plug-in because it was not signed.  The way I was able to fix this problem was to download the direct CC 2014 installer and install CC 2014 on top of the CC 2014 currently insall.  CC 2014 installed and was installed activated and after I used menu Help>Update  to get CC 2014 up to CC 2014.2.2 all worked my Add-ons and preferences were still there.  However if I start CC 2014 and immediately try to open the Welcome screen I will get the pop-up your getting Welcome Dialog not installed. But when I click OK and try menu Help>Welcome a second time it works.  The new Preference Do not show Welcome Scree on launch is there and I can set it there or from the welcome screen option.

  • Howrto display the webdynpro screen in two language?

    Hi Gurus,
    I have requirement to display the webdynpro screen in two language(English & Arabic).
    User can switch the language (between English& Arabic)
    Whenevr he chose English all the Text in the webdynpro screen should be in english and if he chose Arabic all the text in the webdynpro screen should be in Arabic.
    what is the steps involved to achieve this requirement.
    Thanks in Advance,
    Dharani

    Hallo Dharani,
    NOTE: you cannot switch the session locale of a running Web Dynpro Java application in the same browser window. The only solution is to start a new Web Dynpro application "from scratch" by executing a  new browser instance NOT "browser window" instance. So with Browser -> File menu -> new window you will keep the same session locale even when passing another locale-parameter with the URL-param sap-locale. Sorry, but this is an unsolved restriction in Web Dynpro.
    Regards, Bertram

  • Hello iphone users, I have a situation here.. I have an Iphone 4G that 2 days ago displayed the black screen with de apple logo, ive done the recovery mode over and over in diferente pcs(windoes, mac) and none seem to aknowledge the device, what to do???

    hello everyone, as I have stated above, I have an Iphone 4G realtively new, just 3 months of use. I've never dropped it, nor got it wet. The problem is that the screen just one day went black and displays the apple logo, when I do the recovery mode everyway possible the screen shows the itunes link but the pc doesn't acknowledge it.. I've tried on many pcs (windows and mac) and none respond because the device is not shown on itunes it just says "driver not found"
    please what to do???

    Call Apple Customer Relations - 1-800-275-2273.  Ask politely & firmly that you want to be transferred to Customer Relations.  Tell them exactly what you stated in your post.
    GOOD LUCK!
    These are user-to-user forums where everyday folk (volunteers) post questions and offer answers (technical support) to each other.  

  • We have 20" screen firefox will not display the hole screen only 1/3 in the middle

    firefox only displays about 1/3 of the screen. it's all in the middle of the screen. we have to use internet explorer to be able use the whole screen

    You need to put Firefox in Full Screen Mode.
    To do this, click the Firefox button in the upper left corner. Then click the full screen button.
    To exit full screen, mvoe the mouse to the top of the screen, right-click on the tab strip, then click '''Exit Full Screen Mode'''.

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • HT201300 What cable should be used to connect a macbook pro, 13 inch early 2011 model to an external projector so it will display the computer screen image through the projector?

    What cable should be used to connect a macbook pro, 13 inch, early 2011 model to an external projector so the project displays the image on the computer screen?

    You will need a cable or adapter with a minidisplay connection for the MBP.  That will be inserted in the Thunderbolt port.  The other end is dependent upon the connections of the projector which you have not listed.
    Ciao.

Maybe you are looking for