Formatted textedit in webdynpro?

Hi Sir,
I m facing a problem with formatting the text in my application. I don have idea how to use formatted textedit UI element.
Pls. give me any sample application which gives knowledge on formatting the text
Thanks & regards,
Narasimha.

Hi Narasimha,
You can find an example of the FormattedTextEdit UI element in web dynpro component, WDR_TEST_TEXT_EDIT. Also, here is the documentation for the element.
Cheers,
Amy

Similar Messages

  • Download functionality in EXCEL and PDF format to the  Webdynpro iView

    Hi Expert,
                      I am using NW 7.0 ehp1 sp3. I developed some Webdynpro RFC model application for the product catalog of the material related data.
    Now my requirement is to provide the download functionality in EXCEL and PDF format to all of these Webdynpro (java) iView.
    How we can achieve this requirement? In which part of the webdynpro application we have to write the code?
    Someone can help me very clearly in steps to achieve this?
    Thanks,
    Kundan

    Hi,
    I don't think it is possible to redirect the html stream of the Web Dynpro iView to a PDF / Excel document, since it essentially would mean you have to call the Web Dynpro application again, maintaining the state and context of the iview itself
    However, using (for instance) the JExcelApi (Excel) or iText (PDF) you could create documents using the data displayed in your Web Dynpro iView, which has the added benefit you could design and layout your PDF / Excel documents in a more suitable layout for printing (most WD applications look horrible when printed)
    Cheers,
    Robin

  • Date format problem in webdynpro java

    Currently, the date format that gets displayed in our webdynpro java application is MMDDYYYY...i am assuming this is because the web dynpro application has language resource set to en_US as its Current locale in the web dynpro deployed content section.  Howver i want it to display as DDMMYYYY. I have changed the default properties in visual admin for web dynpro from en to en_GB however this has no impact what so ever as the current locale is always set to en_US even after the change so am wondering this property is hidden some where else.  Now the web dynpro i am talking about is a adobe portal application. Could you give me any pointers as to where else i can look for or how i can change the current locale properly ??
    Regards
    Kalyan

    Hi.
    Also this link could help you.
    http://help.sap.com/saphelp_nw04s/helpdata/en/18/f3674039c6c549e10000000a1550b0/content.htm
    In special the table showing the order the locale is set in the web dynrpo application.
    Also it is shown in the last pages of this document, [Web Dynpro for Experts|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/58a7e390-0201-0010-abb1-8eec7eb7a2ec?quicklink=events&overridelayout=true].
    And finally you may use the sap.locale request parameter, how it's defined [here|http://help.sap.com/saphelp_nw04/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm]. You must add ?sap-locale=en_GB to url.
    Manuel Loayza.

  • Cell Formatting in excel -  Webdynpro ABAP

    Hi,
    I have Webdynpro ABAP component. In this I am downloading some internal table data into spread sheet using following code. I need to Format data like giving Cell coloring. Could any one please tell me where i can make this format in WebDynpro ABAP.
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text   = ls_text
        IMPORTING
          buffer = ls_xtext.
      wdr_task=>client_window->client->attach_file_to_response(
    **path to the word file
         i_filename = 'WDP.xls'
    * String Variable
         i_content =  ls_xtext
    * File Type
         i_mime_type = 'EXCEL' ).
    Thanks,
    Sekhar.J
    Edited by: sekhar J on May 3, 2010 11:50 AM

    Hello,
    We did the saved the excel in  Excel XML format and duplicated the code using concatenations as given in thread http://scn.sap.com/docs/DOC-25024
    .But I always see the below error
    XML PARSE ERROR:  Missing whitespace between attributes
      Error occurs at or below this element stack:
        <ss:Workbook>
         <ss:Worksheet>
    But the XML tags are concatenated as well in to field of type STRING .
    Please advise how to resolve this .
    Thanks
    Shishupal.

  • Date format problem in webdynpro

    We are trying to display the join date of employees  in a table. It gives mm/dd/yyyy format.
    We want the date in dd/mm/yyyy format .Can anyone help me with the code for this?

    Anzar,
    If the value is coming from the backend and you just want to display as dd/MM/yyyy then in wdDoInit() of your View do the following --> get the current date value, format it as per your need and then set it back.
         // Check the size of the nodeelement which contains your atribute.
         int size = wdContext.node<NodeName>().size();
           // Loop over and set the value
         for (int i = 0; i < size; i++)
              String strJoinDtModel = wdContext.current<NodeName>Element().get<AttributeName>.toString();
              String strNewDtJoin = formatDate("strJoinDtModel");
              wdContext.current<NodeName>Element().set<AttributeName>(strNewDtJoin);
    So if u have following hierarchy
    Employee (ModelNode)
    |---- JoinDate (Model Attrribute)
    then NodeName = Employee and AtrributeName = JoinDate in above code snippet.
    You will need to create a formatDate() method as follows:-
    public String formatDate(String strDate)
         SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); // Note the uppercase for month.
         String newDate =  sdf.format(strDate);
         return newDate;

  • Format data from backened in to a word document

    Dear All,
    I will be getting the data from backened system.
    I want to write that data in a word document in the formatted way from webdynpro java. Is that possible,
    Waiting for your replies.
    Regards,
    Vijayakhanna Raman

    Hi,
      I think you'll need 3rd party library help to generate a word file along with styles.
      Right now I can only think of two:
    1.<a href="http://support.softartisans.com/support-216.aspx">OfficeWriter</a>
    2.<a href="http://jakarta.apache.org/poi/hwpf/index.html">Apache POI</a>
      And in case you need help with using 3rd party libraries, you can look at <a href="/people/valery.silaev/blog/2005/07/05/the-quik-brouwn-fox-jamps-ovrr-the-laizy-dog blog.
    Regards,
    Satyajit.

  • How to -format text  in web dynpro?

    Hi all,
    I want to display text messages in web dynpro in different colors.
    and also to display some text in bold, some in italics etc
    How can i achieve that?
    Points assured for help?

    shobhendra,
    Direct support for rich-formatted text is not available in current release of WD Java (though it exists in NW04s WD ABAP).
    For workaround (HTML display) please refer my blog post:
    <a href="/people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java">Display formatted text using WebDynpro for Java</a>
    Other post could be helpful as well if you experience problems with sizing IFrame used in solution above: <a href="/people/valery.silaev/blog/2006/07/14/escaping-the-procrustean-bed">Escaping the Procrustean bed</a>
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Problem with Date Format in a Table.

    Hi, I have several views, in each views I have two tables with two fields of date.
    This data are from an adaptive RFC function exported in Date ABAP format.
    The webdynpro is showing me the date in mm/dd/yyyy format, and I want to change that to dd/mm/yyyy. Which is the easiest way to accomplish this.
    Thx

    Rodrigo,
    Before you start to alter default behavior, take on acount that it was created with certain reason, namely support for internationalization(I18N) and localization (I10N). So WD application displays date, times, currencies in locale-specific manner.
    Altering just date display leads to inconsistences with other formatting.
    The locale is choosen by sevearl criterias, you may search WD forum to find out more. Briefly, WD consider settings in UME for logged-in user, browser headers and application url parameters.
    For example, try to add the following sap-locale parameter with settings for Spanish/Argentina:
    sap-locale=es_AR
    <b>Notice, that unlike other options suggested here, this will affect all formating in your application. Moreover, if back-end is localized as well (R/3 for example) you will get localized data from back-end</b>
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Sorting issue in ALV ABAP webdynpro

    Hi All,
    We are displaying the data in ALV format using ABAP webdynpro.
    The issue here is sorting the values. The field  is the character field, as the field may contain character or numberic values.
    When we sort a set of values in ascending order, the values are sorted wrongly.
    Example values sorted in ascending order:
    11055
    11260
    5662
    8697
    9984
    The above values are sorted wrongly. Is this a standard limitation of webdynpro ABAP or do we have any support class or setting available to solve this issue.
    Please help.
    Regards,
    Vijay

    Hello Vijay
    of course its not  a limitation, you can sort it either ways.
    Check the following link
    http://help.sap.com/saphelp_nw70/helpdata/en/e9/e5eb40c4f8712ae10000000a155106/content.htm
    you can use the following classes
    Set sort Direction  -
    CL_SALV_SORTS meth:  ADD_SORT (Parameter SEQUENCE)
    CL_SALV_SORT  meth:  SET_SEQUENCE
    Get sort direction
    CL_SALV_SORT meth: GET_SEQUENCE
    hope this helps!!
    Regards
    Senon

  • Simple list of HR openings via webdynpro

    Hi,
    I'm not an SAP developer myself, but I've worked closely with SAP in the past. Currently, I am working with a company that is posting job openings via the SAP e-recruiting/webdynpro application.  We are tasked with basically scraping and processing the job openings that are displayed and I am having trouble automatically retrieving the information from that page.
    As seems to be standard (based on searches, this seems to be a common job search page), the page is of the format:
    /sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search/
    Typically, this page presents a search page with several options and a submit button.  When clicked, it takes the user to another page with a page of results. That page seems to work through a series of Ajax postbacks and contextual ID's that need to be tracked and makes the scraping extremely complicated.  Getting to just a simple list of available jobs involves a lot of juggling and requests, and then getting from a job entry in the list to the job itself requires more hurdles.
    I'm just trying to find out from an SAP expert if there are any other standard hrrcf applications that exist in SAP that will simply list out the various jobs without having to do this complicated search.  My best case would be if there was a page that simply dumped out a bunch of XML/JSON as a list, something like:
    /sap/bc/webdynpro/sap/hrrcf_post_lst  (or whatever)
    As I said, I've been working with the other company but they don't seem to understand or be able to contact the correct people internally who can help, so I'm trying to reach out to this forum to see if someone else can give me more information I can take back to them.  Any help would be appreciated, including brainstorming about other possible options.  We have several clients asking us to scrape their SAP sites which are set up exactly the same, so a general solution would be great.
    Thanks!
    Diamond
    ps if this is not the right forum, please let me know.

    Thanks for your information, but I fear I was unclear.
    I am not interested in the difference between internal versus external jobs, or published versus not published.  I am interested in displaying the same external published jobs that are displayed typically via the search form:
    /sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search/
    However, I am trying to discover if there is another different, distinct web form that will simply display the same jobs but displayed using a simpler interface.  So, basically, is there any other default application form that displays the contents of the T77RCF_EXT_PUB table, but does it as a list and not through a complicated search form?
    Or alternately, if there is any kind of RSS or XML data feed I can access that would hit T77RCF_EXT_PUB.  Again, I am looking for information that I can take back to my client to help them activate or configure whatever is needed.
    I hope that makes sense, and I hope that this is the right forum. 
    Chris

  • Webdynpro image

    Hi All,
    I am using the NWDS 7.0,here i was working on portal side.yes ,Actually i am having one image on my desktop.So how can i put the image in to portal view.and also how can i develope the separate default frame work page our won format by using Webdynpro for java.can anybody help me with example and also step by step procedure.
    regards..
    sai

    hi,
    goto following blogs -->
    Modifying The Logon Par(or customising the Logon Screen)
    Modifying The Logon Par(or customising the Logon Screen)---Part2
    A fast and easy Portal logon page customizing
    The specified item was not found.
    A Change Password Application
    MastHead Change & Portal Desktop
    regards,
    krishna.

  • Editing text in web dynpro

    hi,
    how can we edit text(bold the text) dynamically and not through properties in web dynpro?

    Hi,
    This is a FPM form and your question is more relavant to WebDynpro ABAP forum. Further more please explain in detail your question.
    if you use text edit then there is no property which can make the entered text bold. Instead you should use the Formatted textedit UI and pass the html string for the value.

  • HTML Tags in Text View

    Is it possible to use HTML tags to format a string displayed
    within a text view.  If so how?

    Jonathan,
    No, this is impossible for TextView.
    In WD ABAP it is possible using FormattedTextView UI control.
    See my post that describes workaround for WD Java: /people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java
    VS

  • Want to Replicate Dynmic Tree of HR organization

    I need your help. I have one requirement.  I want replicate one tree that is shown in Transaction pposa .
    Details of Requirement.
    If you go to pposa .You can see Find By option at top. In that on click of Organization Units >> Structure Search it shows all Organization Units Defined .
    Now I want show same Organization Units in Tree format over my WebDynpro . What problem I am facing is I have came with 2 possible solutions .
    Making Tree based node structure and binding Tree UI element to it. But problem is I am able to do it when I know level to which tree can be drilled down .
    But actually daily new Org units are added and new Drill down level is increasing so I need some Dynamic node creation and Tree creation alternative .
    I have never tried Dynamic programming and in that Dynamic Tree Creation .
    2 .Second solution I have found is Developing module pool prg which will show job of showing tree and then picking that Module pool screen in WeB Dynpro.
    What will you suggest ? Is Such way possible ? If yes picking Module pool screen is it safe in Dynpro .
      I have one Standard report available called RHXSTR00 which I am plling to use in Module pool and picking in WD ABAP.
    Please give me some suggestion .
    Cheers,
    Parry

    Hi Parry,
    I think the WD Component WDT_TREE may help you to do that. Here he has implemented TREE. Just check that it will be helpful to you. Otherwise please ignore this message.
    Warm Regards,
    Vijay

  • Web dynpro Abap generated URLs - Namespace vs Alias

    Hi,
    We have developped web dynpro abap applications on two systems that both have to be exposed to our external users in production. We would like to provide a unique host for the two systems by using an appliance in front dispatching the request to the correct system based on differences in URL.
    As all generated URLS are in the following format:
    /sap/bc/webdynpro/sap/z_test
    /sap/public/bc/ur/nw7/js/domainrelax.js
    /sap/public/bc/ur/nw7/js/autorelax.js
    We would like to be able to modify the first tag (/sap) for something else either by renaming it or by adding some other layer in front of it in order to get:
    /nwa/sap/bc/webdynpro/sap/z_test
    /nwa/sap/public/bc/ur/nw7/js/domainrelax.js
    /nwa/sap/public/bc/ur/nw7/js/autorelax.js
    We thought we could use an external alias on one of our systems in order to change the generated url of that system but it does not work as we expected. When we call our web dynpro application using the external alias, it correctly renames the application bath but all other urls stay the same:
    /nwa/sap/bc/webdynpro/sap/z_test
    /sap/public/bc/ur/nw7/js/domainrelax.js
    /sap/public/bc/ur/nw7/js/autorelax.js
    What could we do in order to have all URLs generated by an ABAP system either renamed or prefixed by something else?
    Thank you very much for your help!
    Regards,
    Renaud

    hi Xiaoming Yang  ,
    i am facing the same error . can you please tell me how you have solved this ??
    regards
    Sujay Kulkarni

Maybe you are looking for

  • How To Create Multi Row Edit Forms in a JSP

    Hi, Could someone tell me how can i create multi edit rows in BC4J JSP edit page. Thanks Sirisha

  • Configuration Problem for SAP XI 3.0 Demo Example Configuration

    We try to configure the demo and everything works fine until chapter 4.1.2 “Manual Editing” (page 34). When trying to set the condition for the receiver determination “XI_105 | FlightSeatAvailabilityQuery_Out by clicking in the condition column (poin

  • Cannot do reversal LIV document

    Dear Guru, I hv question about LIV process.  I have created PO with multiple account assignment with defferred input tax.  In addition, GR and LIV hv been proceeded successfully.  Howerver, I would like to cancel LIV document using transaction MR8M. 

  • Low Performance when opening attachments in va23 documents

    Dear Forum, I have a very strange issue, I hope that some one can help out. We recently upgraded from 4.6c to ECC 6.0 and the error is the following: 1° When you run VA23 and display a Quote/Document 2° then click on the services for object icon 3° t

  • Problem in double-click on a perform statement in abap editor

    Hello, I was asked to modify a program but as I tried to read it in se38, I could not double click in performs. Their forms are placed in INCLUDES which are stated in the program. So every time i want to see what a perform does, I go into every inclu