Is DD/MM/YYYY supported in webdynpro for abap application

Hi All,
We are using 2 different time statements one developed in webdynpro for java and other in webdynpro for abap.date format in java is DD/MM/YYYY but in webdynpro for abap is DD.MM.YYYY.
is DD/MM/YYYY supported in webdynpro for ABAP application or even if user enters DD.MM.YYYY can we convert that to DD/MM/YYYY so that we will maintain uniformity in both the applications
Thanks
Bala Duvvuri

Hi Bala,
We can convert the date before saving ,even if the user enters the date as dd.mm.yyyy  as mentioned below.
DATA: lv_indicator type XUDATFM .
CALL FUNCTION 'ISH_GET_USER_DATE'
  EXPORTING
    USER_NAME         = SY-UNAME
  IMPORTING
    DATE_FORMAT       = lv_indicator .
CASE lv_indicator.
    WHEN '1'.                                        " DD.MM.YYYY
      CONCATENATE p_date6(2) '.' p_date4(2) '.'
                  p_date(4)
         INTO p_result.
    WHEN '2'.                                        " MM/DD/YYYY.
      CONCATENATE p_date4(2) '/' p_date6(2) '/'
                  p_date(4)
         INTO p_result.
    WHEN '3'.                                        " MM-DD-YYYY.
      CONCATENATE p_date4(2) '-' p_date6(2) '-'
                  p_date(4)
         INTO p_result.
    WHEN '4'.                                        " YYYY.MM.DD
      CONCATENATE p_date(4) '.'  p_date+4(2) '.'
                  p_date+6(2)
         INTO p_result.
    WHEN '5'.                                        "YYYY/MM/DD
      CONCATENATE p_date(4) '/'   p_date+4(2) '/'
                  p_date+6(2)
         INTO p_result.
    WHEN '6'.                                        "YYYY-MM-DD
      CONCATENATE p_date(4) '-'  p_date+4(2) '-'
                  p_date+6(2)
         INTO p_result.
  ENDCASE.
Regards,
Lakshmi.

Similar Messages

  • WebDynpro for ABAP applications for Touch Screen Clients?

    Hi folks!
    Has anybody in the WD4A community experiences in developing WebDynpro for ABAP applications for touch screen clients?
    Any hint will be welcome.
    Thanx in advance!
    Regards,
    Volker

    Hi,
    sorry, but Web Dynpro ABAP does not support touch screen clients. This would mean new Unified Rendering features which are, however, not scheduled.
    Regards, Heidi

  • How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0

    Hi WebDynpro for ABAP Experts,
    We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
    If so can you proviode me the way how can we achieve this?
    ADV Thanks
    Regards
    Phani

    Hi Alex,
    Thanks for your response.
    I already created the system object R/3 Backend.
    Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
    but now the requirement is creation of webDynpro for ABAP views.
    The developers developed  WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of  WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
    Shall we need to maintain any JCo Destinations or not?
    Pl share your ideas.
    ADV Thanks
    Regards
    Phani

  • Portal integration of Webdynpro for ABAP application

    Hi all,
    Can anyone provide me with the steps for <b>integrating a Webdynpro for ABAP application with portal?</b>
    Regards,
    Bino

    Hi Bino
    Check out the following link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/portal integration of web dynpro applications.pdf
    Regards
    Rajeev.
    Do award points for helpful answers in SDN.

  • Monitor usage of Webdynpro for Abap Application

    Dear all,
    How does one monitor how many times a Webdynpro for Abap application is called by users? We have an i-view in the portal that calls a WD4A program in  the back-end system. Is there anything in the portal or back-end that will give us the usage information?
    Thanks, Neeta

    Hi Thomas,
    We are not necessarily looking for performance data but how many times a bsp and/or function module is called. The idea is to try and determine how many calls are made to SWN_WIEXECUTE BSP via a URL (http://<hostname>:xxxx/bc/bsp/sap/SWN_WIEXECUTE/MAIN.DO to track a usage of a new workflow approval/rejection process.
    We also want track how many calls are made to SAP_WAPI_WORKITEM_COMPLETE function module to track approval/rejection of a workflow process via Portal UWL.
    Best Regards, Neeta

  • Can we determine the CAPSLOCK is ON in a webdynpro for ABAP application?

    I have a pwd field in a Webdynpro for ABAP application.  If the CAPSLOCK is on  then I need to prompt user either via popup or a static text on the page that "CAPSLOCK is ON".  Is there way a to determine the caps lock is on when the user enables CAPSLOCK?  Thanks for help in advance
    Regards,
    Madan.

    Thank you for your response.  I am already prompting the user if the pwd is incorrect.  But user is expecting to receive a prompt if the CAPSLOCK is ON to avoid typing incorrect pwd.  If it is not possible to identify whenever the CAPSLOCK is turned ON, atleast is there a way to identify the CAPSLOCK is ON whenever user is navigated to this page/webdynpro application.
    Regards,
    Madan.

  • WebDynpro for ABAP Application in SAP-4.7 Version

    Hi,
    I am new to WebDynpro for ABAP. Can anyone tell me that Could I create any application of WebDynpro Application in SAP-4.7 version.
    Regards
    Dinesh.

    Hi Dinesh,
    Web Dynpro Tool is not available in SAP-4.7 version.
    u can create web application using BSP(business server pages which  is available in 4.7 version.) from SE80
    Web Dynpro tool is available in ECC6.0.
    To Create a web dynpro application or component Go To SE80,and select Web Dynpro component/interface from the drop down list.
    U need to Have SAP Net Weaver Installed in ur version.
    Regards,
    Lakshman
    Edited by: Lakshman N on Nov 17, 2008 1:16 PM

  • Perform some changes on standard SAP webdynpro for ABAP application

    Hi,
    We do need to perform some changes (new buttons, new tabs, adding new code etc) on a standard SAP product developed on Webdynpro for ABAP.
    Which is the best approach to do so? I have reading about enhancement framework and it seems to be right solution to do so. Am I correct?
    Any best practice to acomplish our target is very welcome.
    Looking forward to hearing from you.
    Kind regards,
      Imanol

    You are on right track thinking about enhancement framework.
    My approach is would be in the following order.
    Personalization/customization
    Enhancement
    Modification

  • File download from DMS into Webdynpro for ABAP application

    I need to download the file from DMS content server on the PC and with my application on clicking of file name, file needs to be displayed.
    To achieve the downloading part I tried BAPI_DOCUMENT_CHECKOUTVIEW2, but it is not working.
    If I pass the parameters
    PF_HTTP_DEST              = 'SAPHTTPA'
    PF_FTP_DEST               = 'SAPFTPA', then it returns error message saying file can not be saved.
    If I don't pass above parameters then it gives me 'RFC_START_PROGRAM' error.
    How to download the file from DMS in WebDynpro and read/display the content?
    Please help.
    Thanks, in advance.

    Hi,
    I had the same problem, but found a solution. All I changed was the hostname to 'DEFAULT'
    Use the code below:
    DATA: lt_drao TYPE TABLE OF drao,
             wa_drao TYPE drao,
             wa_bin TYPE x LENGTH 2550,
             lt_bin LIKE TABLE OF wa_bin,
             file_data TYPE xstring,
             v_line TYPE i,
             size TYPE i.
       CALL FUNCTION 'CVAPI_DOC_CHECKOUTVIEW_DIALOG'
         EXPORTING
           pf_dokar                 = ls_input-dokar
           pf_doknr                 = ls_input-doknr
           pf_dokvr                 = ls_input-dokvr
           pf_doktl                 = ls_input-doktl
    *     PF_FTP_DEST              = 'SAPFTPA'
    *     PF_HTTP_DEST             = ' '
          pf_hostname              = 'DEFAULT'
          pf_content_provide       = 'TBL'
    *     PS_API_CONTROL           =
    *   IMPORTING
    *     PSX_MESSAGE              =
    *     PSX_FILE                 =
    *     PSX_DRAW                 =
        TABLES
          ptx_content              = lt_drao.
       LOOP AT lt_drao INTO wa_drao.
         wa_bin = wa_drao-orblk.
         APPEND wa_bin TO lt_bin.
       ENDLOOP.
       DESCRIBE TABLE lt_drao LINES v_line.
       size = 2550 * v_line.
       CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
         EXPORTING
           input_length       = size
    *     FIRST_LINE         = 0
    *     LAST_LINE          = 0
        IMPORTING
          buffer             = file_data
         TABLES
           binary_tab         = lt_bin
    *   EXCEPTIONS
    *     FAILED             = 1
    *     OTHERS             = 2
       IF sy-subrc <> 0.
    * Implement suitable error handling here
       ENDIF.
    CALL METHOD cl_wd_runtime_services=>attach_file_to_response
         EXPORTING
           i_filename      = 'abc.pdf'
           i_content       = file_data
           i_mime_type     = 'application/pdf'
    *     i_in_new_window = ABAP_FALSE
    *     i_inplace       =  ABAP_FALSE

  • XRPM: replace 'item dashboard' by customer webdynpro for abap application

    Hi guys,
    I want to replace my item dashboard application to be replaced by a customer WD4A. Within this application I will select from a tree structure a project.
    Now the questions: How to controll the standard context menu in the portal during this proces ? Do a need to call an API to get back my context menu ?
    Does anyone know ?
    Cheers, John

    Are you sure you want to entirely replaced the dashboard? If you're on 4.5 you can enhance allot of the RPM dashboard in the WD component /RPM/UI_DASHBOARD.
    You still have to fill the RPM cache object if you want to use the detail iViews for example Element Details.
    What exactly do you want to achieve?

  • What are the basic settings required to run webdynpro for abap application?

    Hi,
              i want some information regarding settings(HOST,Port) to run our application through Browser.What are the settings can i give to run my Application.and also i got some problem that when i create a VIEW it didnt shows the Standard Toolbar of Consisting of all UI Elememts.Is this problem is related Installation?
    Thanks & Regards
    Ravi

    Hi Ravi,
    This will be helpful please check.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm.
    Reward points if useful.
    Regards,
    Muneesh Gitta.

  • Any difference between webdynpro for java and webdynpro for abap ?

    Hi all:
       I would like to build one small system in EP.
       I can choose to use webdynpro for java and webdynpro for abap.
       I would like to ask any major difference between webdynpro for abap and webdynpro for java ?
       Is fpm supported in webdynpro for abap ?

    Hi,
    see this thread,
    ABAP Vs JAVA WebDynpro
    Regads,
    J.Joe

  • Dynamic form in Webdynpro for ABAP - Context Cardinality question

    Hello -
    I have an adobe form in a webdynpro for ABAP application which I want to be able to be dynamic. Basically I want to be able to use a Webdynpro context node with a cardinality of 1-N and the form will take each node of the context and create a page for each one. I am able to do a static form with a context node that has a 1-1 cardinality, but once I change my cardinality to 1-N on the node the static form no longer works (there is no data). Is what I want to do possible? I've looked through all the documentation I could find and could not get a definite answer. Any help would be appreciated.
    Widget (1-N)
         -Widget_info (1-1)
              *Name
              *Sku
              *Description
         -Widget_plant (1-M)
              *Plant_Code
              *Plant_State
              *Plant_City
         -Widget_pic (1-1)
              *Picture
    ... So I want to have a form which can print a page for each widget in the context (the number of which can vary). That form would have the Name, sku, description, plant_code, plant_state, plant city and the picture on it. (This is just a generic example of what I need to do)
    Regards,
    - Jason

    Ok, I think I found a bug... It seems for adobe forms in WD4A, the root context node must be 1-1 and you must nest the 1-n node within that... Not sure why, but it worked. So in my case my context would look like this:
    FOO_NODE (1-1)
         Widget (1-N)
              -Widget_info (1-1)
                   *Name
                   *Sku
                   *Description
              -Widget_plant (1-M)
                   *Plant_Code
                   *Plant_State
                   *Plant_City
              -Widget_pic (1-1)
                   *Picture

  • How to use BAPI in webdynpro for java application

    Hi all,
    Please help in getting started with calling a BAPI in a webdynpro for java application. I have got only the content needed to call a BAPI in a webdynpro for abap application but not in java. Kindly provide me some documents if possible.
    Thanks in advance

    Hi ,
    U have Created One Bapi u want to work with web Dyn pro for java Application Right .
    U need the Following
    1) NWDS (Netweaver Devloper Studio )
    2) jdk1.4 or Above installed in your system .
    After Installation of NWDS .
    1) Just Take J2EE Enginee Details
      a) Go to Window -> preferences  -> J2ee Enginee - > give ur port number , Host name Details . and click finsh .
    Go To Web Dyn Pro Perspective Click onj2EE engine .
    Click On Refresh U will see Green Colour button .
    Now ur Ready to import Ur BAPI .
    1) Go to File -> New -> Project - > Web Dyn pro Project -.
    Give Name , pkg Name Click On Finish .
    2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name -> Click on Finish .
    3) Now ur View And Controller Are Created by Default .
    4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next
    a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name  Etc -> then Click on next .
    b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name Click on Search . Ur bapi will be displyed In Down . click on Next .
    c) Now Ur model is Importedint into NWDS .Map ur model data To Controller and Controller Element to View Elements .
    After ur Model .
    Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .
    after wards u have to go Apllication -> Right click -> deploy and Run .
    ur output will be displyed thru Browser .
    Thats it
    Regards ,
    venkat

  • How can i read local excel file into internal table in webdynpro for abap a

    Could someone tell me how How can i read local excel file into an internal table in webdynpro for abap application.
    thank u for your reply

    Deep,
    File manuplations...............................
    1. At the presentation level:
    ->GUI_UPLOAD
    ->GUI_DOWNLOAD
    ->CL_GUI_FRONTEND
    2. At the application server level:
    ->OPEN DATASET : open a file in the application server for reading or writing.
    ->READ DATASET : used to read from a file on the application server that has been opened for reading
    -> TRANSFER DATASET : writing data to a file.
    -> CLOSE DATASET : closes the file
    -> DELETE DATASET : delete file
    If file is on the local PC,use the function module GUI_UPLOAD to upload it into an internal table by passing the given parameters......
    call function 'GUI_UPLOAD'
    exporting
    filename = p_file
    filetype = 'ASC'
    has_field_separator = '#'
    tables
    data_tab = t_data
    p_file : excel file path.
    t_data : internal table
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

Maybe you are looking for

  • "Type mismatch" error in IE7/8 when using custom Actions Menu Image

    Hi all, in APEX 4.2: when using a custom image in the "Actions Menu Image" attribute in an interactive report, I get a "Type mismatch" error in IE7/8 when refreshing the report through PPR (filtering, sorting, paginating etc.). When I leave the "Acti

  • Apple tv in only black and white

    I just got an Apple TV, and I can't get it to show color; it is only in black and white. I have tried putting the red yellow and white cables in everywhere that they would really connect..anyone else have and fix this problem by any chance?

  • Exporting for Windows Media Player/MPEG (help in translating mixed message)

    So a client of mine had an unusual request today. He's been asked by some tech folk who are doing 'commercials' in the theater lobby to provide them with clips with these specifications (and I use that term loosely): MPEG files that are non-compresse

  • Technical infotype names

    Hi all Does anybody knows how to display the technical infotype names for the organizational detail overview in transaction PPOME (see red boxes bellow)? Do I have to change my user paramater settings? Thanks in advance Fitli

  • File drag and drop with Labview 7 and Mac OS X Tiger?

    Hi folks, I've lost the ability to drag and drop files into front panel file path controls, since I upgraded to a new OS X version. Specifically: What used to work:     - Labview 7.0     - Mac OS X 10.3.x     - drag file icon from desktop and drop on